1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
# @summary
# Installs `mod_setenvif`.
#
# @see https://httpd.apache.org/docs/current/mod/mod_setenvif.html for additional documentation.
#
class apache::mod::setenvif {
include apache
::apache::mod { 'setenvif': }
# Template uses no variables
file { 'setenvif.conf':
ensure => file,
path => "${apache::mod_dir}/setenvif.conf",
mode => $apache::file_mode,
content => epp('apache/mod/setenvif.conf.epp'),
require => Exec["mkdir ${apache::mod_dir}"],
before => File[$apache::mod_dir],
notify => Class['apache::service'],
}
}
|