Sha256: 63002d9d176d1551ac03c438f8ce4c5ff8f8c74c2323ad7566be0b32b40e5410

Contents?: true

Size: 415 Bytes

Versions: 11

Compression:

Stored size: 415 Bytes

Contents

class apache::mod::proxy (
  $proxy_requests = 'Off',
  $allow_from = undef,
) {
  apache::mod { 'proxy': }
  # Template uses $proxy_requests
  file { 'proxy.conf':
    ensure  => file,
    path    => "${apache::mod_dir}/proxy.conf",
    content => template('apache/mod/proxy.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/proxy.pp
freighthop-0.6.0 modules/apache/manifests/mod/proxy.pp
freighthop-0.5.2 modules/apache/manifests/mod/proxy.pp
freighthop-0.5.1 modules/apache/manifests/mod/proxy.pp
freighthop-0.5.0 modules/apache/manifests/mod/proxy.pp
freighthop-0.4.1 modules/apache/manifests/mod/proxy.pp
freighthop-0.4.0 modules/apache/manifests/mod/proxy.pp
freighthop-0.3.3 modules/apache/manifests/mod/proxy.pp
freighthop-0.3.2 modules/apache/manifests/mod/proxy.pp
freighthop-0.3.1 modules/apache/manifests/mod/proxy.pp
freighthop-0.3.0 modules/apache/manifests/mod/proxy.pp