1 |
misc |
80 |
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 |
misc |
84 |
class mod_fcgid inherits base { |
28 |
|
|
package { "apache-mod_fcgid": |
29 |
|
|
ensure => installed |
30 |
|
|
} |
31 |
|
|
} |
32 |
|
|
|
33 |
|
|
|
34 |
misc |
80 |
class mod_wsgi inherits base { |
35 |
|
|
package { "apache-mod_wsgi": |
36 |
|
|
ensure => installed |
37 |
|
|
} |
38 |
|
|
} |
39 |
|
|
} |