diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-05 00:12:10 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-05 00:12:10 +0000 |
commit | 36e751e92b341313ab429bd87df090a340f95594 (patch) | |
tree | 15d72100c74f5982d058ee5d875096b1cd4940a2 /modules/apache/manifests | |
parent | 9e040f7b5977c0c3c5f5c84f5691d2ae55341cf2 (diff) | |
download | puppet-36e751e92b341313ab429bd87df090a340f95594.tar puppet-36e751e92b341313ab429bd87df090a340f95594.tar.gz puppet-36e751e92b341313ab429bd87df090a340f95594.tar.bz2 puppet-36e751e92b341313ab429bd87df090a340f95594.tar.xz puppet-36e751e92b341313ab429bd87df090a340f95594.zip |
- add a alias for apache package ( so we can change the engine )
- add a file to cleanly add the 2 directive for VirtualHost on 80 and 443
without having to import the whole apache config in svn ( as this would be annoying to merge later )
Diffstat (limited to 'modules/apache/manifests')
-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 { |