diff options
Diffstat (limited to 'manifests/status.pp')
-rw-r--r-- | manifests/status.pp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/manifests/status.pp b/manifests/status.pp index d32069e..1f7ca89 100644 --- a/manifests/status.pp +++ b/manifests/status.pp @@ -1,12 +1,12 @@ -# manifests/status.pp - -class apache::status inherits apache { - case $operatingsystem { - centos: { include apache::status::centos } - defaults: { include apache::status::base } - } - if $use_munin { - include munin::plugins::apache - } +# enable apache status page +# manage munin plugins if requested +class apache::status { + case $::operatingsystem { + centos: { include apache::status::centos } + defaults: { include apache::status::base } + } + if $apache::manage_munin { + include apache::munin + } } |