6 |
ensure => installed |
ensure => installed |
7 |
} |
} |
8 |
|
|
9 |
|
package { "apache-conf": |
10 |
|
ensure => installed, |
11 |
|
} |
12 |
|
|
13 |
service { httpd: |
service { httpd: |
14 |
alias => apache, |
alias => apache, |
15 |
ensure => running, |
ensure => running, |
20 |
ensure => present, |
ensure => present, |
21 |
path => "/etc/httpd/conf.d/customization.conf", |
path => "/etc/httpd/conf.d/customization.conf", |
22 |
content => template("apache/customization.conf"), |
content => template("apache/customization.conf"), |
23 |
require => Package["apache"], |
require => Package["apache-conf"], |
24 |
notify => Service["apache"], |
notify => Service["apache"], |
25 |
owner => root, |
owner => root, |
26 |
group => root, |
group => root, |
34 |
group => root, |
group => root, |
35 |
mode => 644, |
mode => 644, |
36 |
notify => Service['apache'], |
notify => Service['apache'], |
37 |
|
require => Package["apache-conf"], |
38 |
content => template("apache/00_default_vhosts.conf") |
content => template("apache/00_default_vhosts.conf") |
39 |
} |
} |
40 |
} |
} |
90 |
owner => root, |
owner => root, |
91 |
group => root, |
group => root, |
92 |
mode => 644, |
mode => 644, |
93 |
|
require => Package['apache-conf'], |
94 |
content => template('apache/mod_wsgi.conf') |
content => template('apache/mod_wsgi.conf') |
95 |
} |
} |
96 |
|
|
147 |
group => root, |
group => root, |
148 |
mode => 644, |
mode => 644, |
149 |
notify => Service['apache'], |
notify => Service['apache'], |
150 |
|
require => Package['apache-conf'], |
151 |
content => template("apache/vhost_base.conf") |
content => template("apache/vhost_base.conf") |
152 |
} |
} |
153 |
} |
} |
206 |
group => root, |
group => root, |
207 |
mode => 644, |
mode => 644, |
208 |
notify => Service['apache'], |
notify => Service['apache'], |
209 |
|
require => Package['apache-conf'], |
210 |
content => template($vhost_file) |
content => template($vhost_file) |
211 |
} |
} |
212 |
} |
} |
242 |
group => root, |
group => root, |
243 |
mode => 644, |
mode => 644, |
244 |
notify => Service['apache'], |
notify => Service['apache'], |
245 |
|
require => Package['apache-conf'], |
246 |
content => template($webapp_file) |
content => template($webapp_file) |
247 |
} |
} |
248 |
} |
} |