]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/munin/manifests/init.pp
Merge branch 'master' of git+ssh://puppet.debian.org/srv/puppet.debian.org/git/dsa...
[dsa-puppet.git] / modules / munin / manifests / init.pp
index 2bbb7d4545d4cda1673992fde980f5b1d3f20ff8..62805de2b2872ba1e6d41480aa9f8cb3f3d07fd7 100644 (file)
@@ -9,14 +9,16 @@ class munin {
                require => Package['munin-node'],
        }
 
-       $owner = lsbdistcodename ? {
+       $owner = $::lsbdistcodename ? {
                squeeze => munin,
-               wheezy  => root
+               wheezy  => root,
+               undef => munin,
        }
 
-       $gid = lsbdistcodename ? {
+       $gid = $::lsbdistcodename ? {
                squeeze => adm,
                wheezy  => 'www-data',
+               undef => adm,
        }
 
        file { '/var/log/munin':