aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/manifests/init.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-25 12:26:37 +0000
committerMichael Scherer <misc@mageia.org>2012-03-25 12:26:37 +0000
commitc955e02a3b930b81092d182633b7830735211250 (patch)
treef645f8fd5fb6b476d9c046917bc59196643545d1 /modules/apache/manifests/init.pp
parent2e55ffd6ed7bee3d2a358da1fdd0de66e8c777c2 (diff)
downloadpuppet-c955e02a3b930b81092d182633b7830735211250.tar
puppet-c955e02a3b930b81092d182633b7830735211250.tar.gz
puppet-c955e02a3b930b81092d182633b7830735211250.tar.bz2
puppet-c955e02a3b930b81092d182633b7830735211250.tar.xz
puppet-c955e02a3b930b81092d182633b7830735211250.zip
split apache::base in a separate file
Diffstat (limited to 'modules/apache/manifests/init.pp')
-rw-r--r--modules/apache/manifests/init.pp37
1 files changed, 0 insertions, 37 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp
index 3bc298f8..e1e7d85b 100644
--- a/modules/apache/manifests/init.pp
+++ b/modules/apache/manifests/init.pp
@@ -1,41 +1,4 @@
class apache {
- class base {
-
- # number of time the log file are rotated before being removed
- $httpdlogs_rotate = "24"
-
- $apache_user = 'apache'
- $apache_group = 'apache'
-
- package { "apache-mpm-prefork":
- alias => apache,
- }
-
- package { "apache-conf": }
-
- service { httpd:
- alias => apache,
- subscribe => [ Package['apache-mpm-prefork'] ],
- }
-
- exec { "service httpd configtest":
- refreshonly => true,
- notify => Service["apache"],
- }
-
- apache::config {
- "/etc/httpd/conf.d/customization.conf":
- content => template("apache/customization.conf");
- "/etc/httpd/conf/vhosts.d/00_default_vhosts.conf":
- content => template("apache/00_default_vhosts.conf");
- }
-
- file { "/etc/logrotate.d/httpd":
- content => template("apache/logrotate")
- }
- }
-
-
define vhost_base($content = '',
$location = '/dev/null',
$use_ssl = false,