From 6eabf6a7f830ec6ee0d7758428997fee0b5dea02 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 8 Oct 2011 20:07:05 +0200 Subject: [PATCH] use new stdlib function --- manifests/vpn_net.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/vpn_net.pp b/manifests/vpn_net.pp index 8164f63..590a96f 100644 --- a/manifests/vpn_net.pp +++ b/manifests/vpn_net.pp @@ -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'),