From: Peter Palfrader Date: Fri, 10 Feb 2012 00:36:49 +0000 (+0100) Subject: kill old ip6_ links X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1dcae3c99e63e204f5383fb30cbd532b7d09d89e;p=mirror%2Fdsa-puppet.git kill old ip6_ links --- diff --git a/modules/ferm/manifests/init.pp b/modules/ferm/manifests/init.pp index c52fa5eb7..8d063c87e 100644 --- a/modules/ferm/manifests/init.pp +++ b/modules/ferm/manifests/init.pp @@ -86,6 +86,11 @@ class ferm { munin_ipv6_plugin { $munin6_ips: ; } + # get rid of old stuff + $munin6_ip6s = split(regsubst($v6ips, '([^,]+)', 'ip_\1', 'G'), ',') + activate_munin_check { + $munin6_ips: ensure => absent; + } } }