/[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 96 - (show annotations) (download)
Thu Nov 4 17:42:21 2010 UTC (11 years, 7 months ago) by misc
File size: 773 byte(s)
- fix the service name ( as i cannot name it apache, i need to use a alias )

1 class apache {
2
3 class base {
4 package { "apache-mpm-prefork":
5 ensure => installed
6 }
7
8 service { httpd:
9 alias => apache,
10 ensure => running,
11 subscribe => [ Package['apache-mpm-prefork'] ],
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_fcgid inherits base {
28 package { "apache-mod_fcgid":
29 ensure => installed
30 }
31 }
32
33
34 class mod_wsgi inherits base {
35 package { "apache-mod_wsgi":
36 ensure => installed
37 }
38 }
39 }

  ViewVC Help
Powered by ViewVC 1.1.28