Revision 24b477a1
Added by Justin Sherrill over 10 years ago
modules/apache/manifests/mod/rpaf.pp | ||
---|---|---|
$proxy_ips = [ '127.0.0.1' ],
|
||
$header = 'X-Forwarded-For'
|
||
) {
|
||
apache::mod { 'rpaf': }
|
||
::apache::mod { 'rpaf': }
|
||
|
||
# Template uses:
|
||
# - $sethostname
|
||
... | ... | |
# - $header
|
||
file { 'rpaf.conf':
|
||
ensure => file,
|
||
path => "${apache::mod_dir}/rpaf.conf",
|
||
path => "${::apache::mod_dir}/rpaf.conf",
|
||
content => template('apache/mod/rpaf.conf.erb'),
|
||
require => Exec["mkdir ${apache::mod_dir}"],
|
||
before => File[$apache::mod_dir],
|
||
require => Exec["mkdir ${::apache::mod_dir}"],
|
||
before => File[$::apache::mod_dir],
|
||
notify => Service['httpd'],
|
||
}
|
||
}
|
Also available in: Unified diff
Update puppet modules