summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-04-12 14:12:53 +0000
committermh <mh@immerda.ch>2008-04-12 14:12:53 +0000
commit8896896fa02dda115af9d8258e3980920d30c8fc (patch)
treeed87281fd75d46f40318bfa8dbf30a0ffe520cb4 /manifests/init.pp
parent5983d4bcec778a6030b268eebe1e5fc83689dda7 (diff)
extending apache to centos usage, vhost and crypto stuff on immer8 and class to enable server-status for munin-plugins, where not yet done
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp21
1 files changed, 21 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a710744..fdf672d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -68,6 +68,15 @@ class apache::centos inherits apache::base{
File[vhosts_dir]{
path => "$config_dir/vhosts.d/",
}
+
+ file{"${config_dir}/conf.d/vhosts.conf":
+ source => "puppet://$servername/apache/centos/vhosts.conf",
+ owner => root, group => 0, mode => 0755;
+ }
+ file{"${config_dir}/conf.d/ssl.conf":
+ source => "puppet://$servername/apache/centos/ssl.conf",
+ owner => root, group => 0, mode => 0755;
+ }
}
class apache::gentoo inherits apache::base {
@@ -203,3 +212,15 @@ class apache::php inherits apache {
}
}
+class apache::status {
+ case $operatingsystem {
+ centos: { include apache::status::centos }
+ }
+}
+
+class apache::status::centos {
+ file{"/etc/httpd/conf.d/status.conf":
+ source => "puppet://$servername/centos/status.conf",
+ owner => root, group => 0, mode => 644;
+ }
+}