set correct labels for munin plugins
authormh <mh@immerda.ch>
Thu, 16 Feb 2012 14:57:22 +0000 (15:57 +0100)
committermh <mh@immerda.ch>
Thu, 16 Feb 2012 14:57:22 +0000 (15:57 +0100)
manifests/plugin.pp
manifests/plugin/deploy.pp

index 30139ea..c1f488b 100644 (file)
@@ -37,7 +37,7 @@ define munin::plugin (
             }
             if $::selinux == 'true' {
               File[$plugin]{
-                seltype => 'munin_services_plugin_exec_t',
+                seltype => 'munin_etc_t',
               }
             }
         }
index a76bc6e..86ca7f5 100644 (file)
@@ -18,7 +18,7 @@ define munin::plugin::deploy($source = '', $ensure = 'present', $config = '') {
 
     if $::selinux == 'true' {
       File["munin_plugin_${name}"]{
-        seltype =>  'munin_services_plugin_exec_t',
+        seltype =>  'munin_exec_t',
       }
     }