summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-02-12 15:43:28 +0100
committermh <mh@immerda.ch>2012-02-12 15:43:28 +0100
commit8d61ad7c8a76adf378a319245d655cf0fce18d25 (patch)
treed54fbf9bbdb80573d2086ed19a965c493b6d7ee3 /manifests/init.pp
parent89495dae91ac87b7dad314d6e1c3737913865e2b (diff)
manage selinux stuff
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c6b24a8..db1a077 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -19,7 +19,7 @@
# $apache_default_group: Set this to the group with which the
# apache is running.
class apache {
- case $operatingsystem {
+ case $::operatingsystem {
centos: { include apache::centos }
gentoo: { include apache::gentoo }
debian: { include apache::debian }
@@ -27,10 +27,10 @@ class apache {
openbsd: { include apache::openbsd }
default: { include apache::base }
}
- if $use_munin {
+ if hiera('use_munin',false) {
include apache::status
}
- if $use_shorewall {
+ if hiera('use_shorewall',false) {
include shorewall::rules::http
}
}