Sha256: 8293fbbba6a8c56d2015bc7df916cc05a37c63f9a8d89cab1da6f59b78a382ca

Contents?: true

Size: 488 Bytes

Versions: 11

Compression:

Stored size: 488 Bytes

Contents

class apache::mod::rpaf (
  $sethostname = true,
  $proxy_ips   = [ '127.0.0.1' ],
  $header      = 'X-Forwarded-For'
) {
  apache::mod { 'rpaf': }

  # Template uses:
  # - $sethostname
  # - $proxy_ips
  # - $header
  file { 'rpaf.conf':
    ensure  => file,
    path    => "${apache::mod_dir}/rpaf.conf",
    content => template('apache/mod/rpaf.conf.erb'),
    require => Exec["mkdir ${apache::mod_dir}"],
    before  => File[$apache::mod_dir],
    notify  => Service['httpd'],
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/apache/manifests/mod/rpaf.pp
freighthop-0.6.0 modules/apache/manifests/mod/rpaf.pp
freighthop-0.5.2 modules/apache/manifests/mod/rpaf.pp
freighthop-0.5.1 modules/apache/manifests/mod/rpaf.pp
freighthop-0.5.0 modules/apache/manifests/mod/rpaf.pp
freighthop-0.4.1 modules/apache/manifests/mod/rpaf.pp
freighthop-0.4.0 modules/apache/manifests/mod/rpaf.pp
freighthop-0.3.3 modules/apache/manifests/mod/rpaf.pp
freighthop-0.3.2 modules/apache/manifests/mod/rpaf.pp
freighthop-0.3.1 modules/apache/manifests/mod/rpaf.pp
freighthop-0.3.0 modules/apache/manifests/mod/rpaf.pp