From 41fe95b36253826b8f801ee1669acdb28c70076c Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 14 Jun 2012 10:36:25 -0300 Subject: take hiera out of the params --- manifests/apache.pp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'manifests/apache.pp') 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 { -- cgit v1.2.3