summaryrefslogtreecommitdiff
path: root/manifests/apache.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-14 10:36:25 -0300
committermh <mh@immerda.ch>2012-06-14 10:36:25 -0300
commit41fe95b36253826b8f801ee1669acdb28c70076c (patch)
tree275d0bb973a35c3fd48fe51dd67333764fe99325 /manifests/apache.pp
parent106515b61b731489cce2d8b74bea13b26d4a65f6 (diff)
take hiera out of the params
Diffstat (limited to 'manifests/apache.pp')
-rw-r--r--manifests/apache.pp11
1 files changed, 9 insertions, 2 deletions
diff --git a/manifests/apache.pp b/manifests/apache.pp
index 38026f7..a90d0ee 100644
--- a/manifests/apache.pp
+++ b/manifests/apache.pp
@@ -1,6 +1,13 @@
-class nagios::apache inherits ::apache {
+class nagios::apache(
+ $allow_external_cmd = false,
+ $manage_shorewall = false,
+ $manage_munin = false
+) {
class{'nagios':
- httpd => 'apache'
+ httpd => 'apache',
+ allow_external_cmd => $allow_external_cmd,
+ manage_munin => $manage_munin,
+ manage_shorewall => $manage_shorewall,
}
case $::operatingsystem {