summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp13
1 files changed, 7 insertions, 6 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index db1a077..a471591 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -6,9 +6,9 @@
# Marcel Härry haerry+puppet(at)puzzle.ch
# Simon Josi josi+puppet(at)puzzle.ch
#
-# This program is free software; you can redistribute
-# it and/or modify it under the terms of the GNU
-# General Public License version 3 as published by
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of the GNU
+# General Public License version 3 as published by
# the Free Software Foundation.
#
@@ -18,12 +18,13 @@
# apache is running.
# $apache_default_group: Set this to the group with which the
# apache is running.
-class apache {
+class apache(
+ $cluster_node = hiera('apache_cluster_node','')
+) {
case $::operatingsystem {
centos: { include apache::centos }
gentoo: { include apache::gentoo }
- debian: { include apache::debian }
- ubuntu: { include apache::ubuntu }
+ debian,ubuntu: { include apache::debian }
openbsd: { include apache::openbsd }
default: { include apache::base }
}