use new stdlib function

This commit is contained in:
mh 2011-10-08 20:07:05 +02:00
parent 339f04a89a
commit 6eabf6a7f8

View file

@ -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'),