summaryrefslogtreecommitdiff
path: root/manifests/plugin/deploy.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-04-19 14:04:32 +0200
committermh <mh@immerda.ch>2014-04-19 14:04:32 +0200
commitbab6dff342ef3288f647edf3bc59580a1fdcc8c4 (patch)
tree7f3db4ead46ecf56d648d23236619c5ce279e755 /manifests/plugin/deploy.pp
parentbcf24d2783aae46d2f4ebe506c017e7b26bdfac8 (diff)
the default selinux type should be unconfined
Diffstat (limited to 'manifests/plugin/deploy.pp')
-rw-r--r--manifests/plugin/deploy.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/plugin/deploy.pp b/manifests/plugin/deploy.pp
index 2cee966..6a8d052 100644
--- a/manifests/plugin/deploy.pp
+++ b/manifests/plugin/deploy.pp
@@ -3,7 +3,7 @@ define munin::plugin::deploy(
$ensure = 'present',
$source = '',
$config = '',
- $seltype = 'munin_exec_t',
+ $seltype = 'munin_unconfined_exec_t',
$register = true,
) {
$plugin_src = $ensure ? {
@@ -24,7 +24,7 @@ define munin::plugin::deploy(
mode => '0755';
}
- if (str2bool($::selinux) == true) and (($::operatingsystem != 'CentOS') or ($::operatingsystem == 'CentOS' and $::lsbmajdistrelease != '5')){
+ if (str2bool($::selinux) == true) and (($::operatingsystem != 'CentOS') or ($::operatingsystem == 'CentOS' and $::lsbmajdistrelease > '5')){
File["munin_plugin_${name}"]{
seltype => $seltype,
}