4 |
file { $name: |
file { $name: |
5 |
content => $content, |
content => $content, |
6 |
require => Package["apache-conf"], |
require => Package["apache-conf"], |
7 |
notify => Service["apache"], |
notify => Exec['service httpd configtest'], |
8 |
} |
} |
9 |
} |
} |
10 |
|
|
28 |
subscribe => [ Package['apache-mpm-prefork'] ], |
subscribe => [ Package['apache-mpm-prefork'] ], |
29 |
} |
} |
30 |
|
|
31 |
|
exec { "service httpd configtest": |
32 |
|
refreshonly => true, |
33 |
|
notify => Service["apache"], |
34 |
|
} |
35 |
|
|
36 |
apache::config { |
apache::config { |
37 |
"/etc/httpd/conf.d/customization.conf": |
"/etc/httpd/conf.d/customization.conf": |
38 |
content => template("apache/customization.conf"); |
content => template("apache/customization.conf"); |