Fixed apache config on Debian/Ubuntu in puppet::server.

This commit is contained in:
Ossi Salmi 2010-10-23 03:43:36 +03:00 committed by Timo Mkinen
parent fa53a19798
commit c4f7be837a

View file

@ -156,7 +156,19 @@ class puppet::server inherits puppet::client {
ensure => installed,
}
include apache::sslserver
case $operatingsystem {
debian,ubuntu: {
include apache::server
apache::a2enmod { "headers": }
apache::a2enmod { "proxy": }
apache::a2enmod { "proxy_balancer": }
apache::a2enmod { "proxy_http": }
apache::a2enmod { "ssl": }
}
default: {
include apache::sslserver
}
}
apache::configfile { "puppet.conf":
content => template("puppet/puppet-httpd.conf.erb"),
http => false,