merge from github
authormh <mh@immerda.ch>
Tue, 10 Apr 2012 12:57:32 +0000 (14:57 +0200)
committermh <mh@immerda.ch>
Tue, 10 Apr 2012 12:57:32 +0000 (14:57 +0200)
1  2 
manifests/plugin/deploy.pp

@@@ -15,13 -15,6 +15,12 @@@ define munin::plugin::deploy($source = 
              mode => 0755, owner => root, group => 0;
      }
  
 +    if ($::selinux == 'true') and (($::operatingsystem != 'CentOS') or ($::operatingsystem == 'CentOS' and $::lsbmajdistrelease != '5')){
 +      File["munin_plugin_${name}"]{
 +        seltype =>  'munin_exec_t',
 +      }
 +    }
 +
      case $::kernel {
          openbsd: { $basic_require = File['/var/run/munin'] }
          default: { $basic_require = Package['munin-node'] }