aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/manifests
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-12-10 19:54:47 +0000
committerNicolas Vigier <boklm@mageia.org>2012-12-10 19:54:47 +0000
commit0b903e5f64f283231449a48ca8b9725ec6d8245b (patch)
treec4da0bf81b05b818f753391357b6deefdeb11623 /modules/apache/manifests
parentc445c32adbefd77523970f8ec89f06e9242703f5 (diff)
downloadpuppet-0b903e5f64f283231449a48ca8b9725ec6d8245b.tar
puppet-0b903e5f64f283231449a48ca8b9725ec6d8245b.tar.gz
puppet-0b903e5f64f283231449a48ca8b9725ec6d8245b.tar.bz2
puppet-0b903e5f64f283231449a48ca8b9725ec6d8245b.tar.xz
puppet-0b903e5f64f283231449a48ca8b9725ec6d8245b.zip
Create apache::var and move apache config options
Move apache options to apache::var class
Diffstat (limited to 'modules/apache/manifests')
-rw-r--r--modules/apache/manifests/base.pp7
-rw-r--r--modules/apache/manifests/var.pp7
2 files changed, 8 insertions, 6 deletions
diff --git a/modules/apache/manifests/base.pp b/modules/apache/manifests/base.pp
index 1af8c256..2232e78e 100644
--- a/modules/apache/manifests/base.pp
+++ b/modules/apache/manifests/base.pp
@@ -1,10 +1,5 @@
class apache::base {
-
- # number of time the log file are rotated before being removed
- $httpdlogs_rotate = '24'
-
- $apache_user = 'apache'
- $apache_group = 'apache'
+ include apache::var
package { 'apache-mpm-prefork': }
diff --git a/modules/apache/manifests/var.pp b/modules/apache/manifests/var.pp
new file mode 100644
index 00000000..636b9bc5
--- /dev/null
+++ b/modules/apache/manifests/var.pp
@@ -0,0 +1,7 @@
+# $httpdlogs_rotate:
+# number of time the log file are rotated before being removed
+class apache::var(
+ $httpdlogs_rotate = '24',
+ $apache_user = 'apache',
+ $apache_group = 'apache'
+) {}