summaryrefslogtreecommitdiff
path: root/manifests/plugin.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-07-09 23:12:27 +0200
committermh <mh@immerda.ch>2014-07-09 23:12:27 +0200
commit39eb7ac31ad7f1fc16c37c42823fb1860c1f09ba (patch)
tree41be8620d6c74ba9464eea08205998338bb47ca4 /manifests/plugin.pp
parenta12b6eaba350620fa1ad4cdcd4bd639a252a0f0e (diff)
get rid off lsb facts - who runs sarge?
Diffstat (limited to 'manifests/plugin.pp')
-rw-r--r--manifests/plugin.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index 37d0077..50b861b 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -27,7 +27,7 @@ define munin::plugin (
target =>"${real_script_path}/${plugin_src}",
notify => Service['munin-node'];
}
- if (str2bool($::selinux) == true) and (($::operatingsystem != 'CentOS') or ($::operatingsystem == 'CentOS' and $::lsbmajdistrelease != '5')){
+ if (str2bool($::selinux) == true) and (($::operatingsystem != 'CentOS') or ($::operatingsystem == 'CentOS' and $::operatingsystemmajrelease != '5')){
File["/etc/munin/plugins/${name}"]{
seltype => 'munin_etc_t',
}