/[adm]/puppet/modules/apache/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/apache/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 80 - (show annotations) (download)
Thu Nov 4 01:09:23 2010 UTC (13 years, 5 months ago) by misc
File size: 661 byte(s)
- add a module for apache

1 class apache {
2
3 class base {
4 package { "apache-mpm-prefork":
5 ensure => installed
6 }
7
8 service { apache:
9 ensure => running,
10 subscribe => [ Package['apache-mpm-prefork'] ],
11 path => "/etc/init.d/httpd"
12 }
13 }
14
15 class mod_php inherits base {
16 package { "apache-mod_php":
17 ensure => installed
18 }
19 }
20
21 class mod_perl inherits base {
22 package { "apache-mod_perl":
23 ensure => installed
24 }
25 }
26
27 class mod_wsgi inherits base {
28 package { "apache-mod_wsgi":
29 ensure => installed
30 }
31 }
32 }

  ViewVC Help
Powered by ViewVC 1.1.30