Added: puppet/modules/apache/manifests/init.pp
===================================================================
--- puppet/modules/apache/manifests/init.pp (rev 0)
+++ puppet/modules/apache/manifests/init.pp 2010-11-04 01:09:23 UTC (rev 80)
@@ -0,0 +1,32 @@
+class apache {
+
+ class base {
+ package { "apache-mpm-prefork":
+ ensure => installed
+ }
+
+ service { apache:
+ ensure => running,
+ subscribe => [ Package['apache-mpm-prefork'] ],
+ path => "/etc/init.d/httpd"
+ }
+ }
+
+ class mod_php inherits base {
+ package { "apache-mod_php":
+ ensure => installed
+ }
+ }
+
+ class mod_perl inherits base {
+ package { "apache-mod_perl":
+ ensure => installed
+ }
+ }
+
+ class mod_wsgi inherits base {
+ package { "apache-mod_wsgi":
+ ensure => installed
+ }
+ }
+}