diff options
author | mh <mh@immerda.ch> | 2012-06-13 17:45:35 -0300 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-06-13 17:45:35 -0300 |
commit | a5be3114f8af104415205b0763e51d3ad24c33cd (patch) | |
tree | 40ccfd078da2bbaa4abee110bdc03ada345118f0 /manifests/init.pp | |
parent | 9cbf2fafee3f4623b75d1a6b70458ab097e64924 (diff) |
remove hiera
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 5 insertions, 3 deletions
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 } } |