"puppet:///modules/apache/icons", ]
}
+ # Legacy configuration
+ file { [ "${sites}-available/default", "${sites}-enabled/000-default" ]:
+ ensure => absent,
+ notify => Service["apache"],
+ }
+
# default site configuration
- file { "${sites}-available/default":
+ file { "${sites}-available/default.conf":
ensure => present,
content => template('apache/default.erb'),
owner => root,
notify => Service["apache"],
}
+ file { "${sites}-enabled/000-default.conf":
+ owner => root,
+ group => root,
+ ensure => "${sites}-available/default.conf",
+ notify => Service["apache"],
+ }
+
# https proxy configuration
# see http://www.metaltoad.com/blog/running-drupal-secure-pages-behind-proxy
file { "$conf_d/https-proxy":