From 1dcae3c99e63e204f5383fb30cbd532b7d09d89e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 10 Feb 2012 01:36:49 +0100 Subject: [PATCH] kill old ip6_ links --- modules/ferm/manifests/init.pp | 5 +++++ 1 file changed, 5 insertions(+) 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; + } } } -- 2.20.1