munin: squeeze cleanup
authorJulien Cristau <jcristau@debian.org>
Wed, 2 Mar 2016 22:28:13 +0000 (23:28 +0100)
committerJulien Cristau <jcristau@debian.org>
Wed, 2 Mar 2016 22:50:35 +0000 (23:50 +0100)
Signed-off-by: Julien Cristau <jcristau@debian.org>
modules/munin/manifests/init.pp

index 19b563f..3f7f4ae 100644 (file)
@@ -9,20 +9,10 @@ class munin {
                require => Package['munin-node'],
        }
 
-       $owner = $::lsbdistcodename ? {
-               squeeze => munin,
-               default  => root,
-       }
-
-       $gid = $::lsbdistcodename ? {
-               squeeze => adm,
-               default => 'www-data',
-       }
-
        file { '/var/log/munin':
                ensure => directory,
-               owner  => $owner,
-               group  => $gid,
+               owner  => root,
+               group  => 'www-data',
                mode   => '0755',
        }
 
@@ -79,12 +69,10 @@ class munin {
        #               ensure => 'absent',
        #       }
        #}
-       if $::lsbmajdistrelease >= 7 {
-               package { 'munin-async':
-                       ensure => installed
-               }
-               file { '/etc/ssh/userkeys/munin-async':
-                       source => 'puppet:///modules/munin/munin-async-authkeys',
-               }
+       package { 'munin-async':
+               ensure => installed
+       }
+       file { '/etc/ssh/userkeys/munin-async':
+               source => 'puppet:///modules/munin/munin-async-authkeys',
        }
 }