From a5be3114f8af104415205b0763e51d3ad24c33cd Mon Sep 17 00:00:00 2001 From: mh Date: Wed, 13 Jun 2012 17:45:35 -0300 Subject: remove hiera --- manifests/init.pp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index a471591..572213f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -19,7 +19,9 @@ # $apache_default_group: Set this to the group with which the # apache is running. class apache( - $cluster_node = hiera('apache_cluster_node','') + $cluster_node = '', + $manage_shorewall = false, + $manage_munin = false ) { case $::operatingsystem { centos: { include apache::centos } @@ -28,10 +30,10 @@ class apache( openbsd: { include apache::openbsd } default: { include apache::base } } - if hiera('use_munin',false) { + if $apache::manage_munin { include apache::status } - if hiera('use_shorewall',false) { + if $apache::manage_shorewall { include shorewall::rules::http } } -- cgit v1.2.3