diff options
Diffstat (limited to 'manifests/status.pp')
-rw-r--r-- | manifests/status.pp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/manifests/status.pp b/manifests/status.pp index 3639b6c..735414c 100644 --- a/manifests/status.pp +++ b/manifests/status.pp @@ -1,12 +1,12 @@ # manifests/status.pp class apache::status { - case $::operatingsystem { - centos: { include apache::status::centos } - defaults: { include apache::status::base } - } - if hiera('use_munin',false) { - include munin::plugins::apache - } + case $::operatingsystem { + centos: { include apache::status::centos } + defaults: { include apache::status::base } + } + if $apache::manage_munin { + include munin::plugins::apache + } } |