diff options
Diffstat (limited to 'modules/apache/manifests/init.pp')
-rw-r--r-- | modules/apache/manifests/init.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index 8818f973..4a1fe962 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -2,6 +2,7 @@ class apache { class base { package { "apache-mpm-prefork": + alias => apache, ensure => installed } @@ -10,6 +11,17 @@ class apache { ensure => running, subscribe => [ Package['apache-mpm-prefork'] ], } + + file { "customization.conf": + ensure => present, + path => "/etc/httpd/conf/customization.conf", + content => template("apache/customization.conf"), + require => Package["apache"], + notify => Service["apache"], + owner => root, + group => root, + mode => 644, + } } class mod_php inherits base { |