Signed-off-by: Stephen Gran <steve@lobefin.net>
"cron": ensure => installed;
"csh": ensure => installed;
"dnsutils": ensure => installed;
+ "dsa-munin-checks": ensure => installed;
"ed": ensure => installed;
"gnupg": ensure => installed;
"klogd": ensure => purged;
$munin_ips: script => "ip_";
}
+ case $v6ips {
+ 'no': {}
+ default: {
+ $munin6_ips = split(regsubst($v6ips, '([^,]+)', 'ip6_\1', 'G'), ',')
+ activate_munin_check {
+ $munin6_ips: script => "ip6_";
+ }
+ }
+ }
+
exec {
"ferm restart":
command => "/etc/init.d/ferm restart",
def $MUNIN_IPS = (<%= v4ips.split(',').join(' ') %>);
+def $MUNIN6_IPS = (<%= v6ips.split(',').join(' ') %>);
domain ip {
chain INPUT {
saddr ($MUNIN_IPS) NOP;
}
}
+
+domain ip6 {
+ chain INPUT {
+ daddr ($MUNIN6_IPS) NOP;
+ }
+}
+
+domain ip6 {
+ chain OUTPUT {
+ saddr ($MUNIN6_IPS) NOP;
+ }
+}