2 |
|
|
3 |
class base { |
class base { |
4 |
package { "apache-mpm-prefork": |
package { "apache-mpm-prefork": |
5 |
|
alias => apache, |
6 |
ensure => installed |
ensure => installed |
7 |
} |
} |
8 |
|
|
11 |
ensure => running, |
ensure => running, |
12 |
subscribe => [ Package['apache-mpm-prefork'] ], |
subscribe => [ Package['apache-mpm-prefork'] ], |
13 |
} |
} |
14 |
|
|
15 |
|
file { "customization.conf": |
16 |
|
ensure => present, |
17 |
|
path => "/etc/httpd/conf/customization.conf", |
18 |
|
content => template("apache/customization.conf"), |
19 |
|
require => Package["apache"], |
20 |
|
notify => Service["apache"], |
21 |
|
owner => root, |
22 |
|
group => root, |
23 |
|
mode => 644, |
24 |
|
} |
25 |
} |
} |
26 |
|
|
27 |
class mod_php inherits base { |
class mod_php inherits base { |