use new stdlib function
This commit is contained in:
parent
339f04a89a
commit
6eabf6a7f8
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ define tinc::vpn_net(
|
|||
|
||||
$tinc_hosts_list = tfile($real_hosts_path)
|
||||
$tinc_all_hosts = split($tinc_hosts_list,"\n")
|
||||
$tinc_hosts = array_del($tinc_all_hosts,$fqdn_tinc)
|
||||
$tinc_hosts = delete($tinc_all_hosts,$fqdn_tinc)
|
||||
|
||||
file { "/etc/tinc/${name}/tinc.conf":
|
||||
content => template('tinc/tinc.conf.erb'),
|
||||
|
|
Loading…
Reference in a new issue