Fixed apache config on Debian/Ubuntu in puppet::server.
This commit is contained in:
parent
fa53a19798
commit
c4f7be837a
1 changed files with 13 additions and 1 deletions
|
@ -156,7 +156,19 @@ class puppet::server inherits puppet::client {
|
|||
ensure => installed,
|
||||
}
|
||||
|
||||
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,
|
||||
|
|
Loading…
Add table
Reference in a new issue