]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/munin/manifests/init.pp
exuberant quoting
[dsa-puppet.git] / modules / munin / manifests / init.pp
index 1ba4477a02d789e81b57231892f6400915946eb6..ee50bd0a3109ba2dcda57f4b48e5d1fa0f3803ad 100644 (file)
@@ -10,7 +10,7 @@ class munin {
        }
 
        file { '/etc/munin/munin-node.conf':
-               content => template('munin/munin-node.conf.erb')
+               content => template('munin/munin-node.conf.erb'),
                require => Package['munin-node'],
                notify  => Service['munin-node'],
        }
@@ -30,14 +30,14 @@ class munin {
 
        @ferm::rule { 'dsa-munin-v4':
                description     => 'Allow munin from munin master',
-               rule            => 'proto tcp mod state state (NEW) dport (munin) @subchain 'munin' { saddr (\$HOST_MUNIN_V4 \$HOST_NAGIOS_V4) ACCEPT; }',
+               rule            => 'proto tcp mod state state (NEW) dport (munin) @subchain \'munin\' { saddr ($HOST_MUNIN_V4 $HOST_NAGIOS_V4) ACCEPT; }',
                notarule        => true,
        }
 
        @ferm::rule { 'dsa-munin-v6':
                description     => 'Allow munin from munin master',
                domain          => 'ip6',
-               rule            => 'proto tcp mod state state (NEW) dport (munin) @subchain 'munin' { saddr (\$HOST_MUNIN_V6 \$HOST_NAGIOS_V6) ACCEPT; }',
+               rule            => 'proto tcp mod state state (NEW) dport (munin) @subchain \'munin\' { saddr ($HOST_MUNIN_V6 $HOST_NAGIOS_V6) ACCEPT; }',
                notarule        => true,
        }
 }