Sha256: b8255a1f9d1afa2dd6a5173fb710341aa383452214c2de3e962606fbacdcc637

Contents?: true

Size: 865 Bytes

Versions: 11

Compression:

Stored size: 865 Bytes

Contents

class apache::mod::proxy_html {
  Class['apache::mod::proxy'] -> Class['apache::mod::proxy_html']
  Class['apache::mod::proxy_http'] -> Class['apache::mod::proxy_html']
  apache::mod { 'proxy_html': }
  case $::osfamily {
    'RedHat': {
      apache::mod { 'xml2enc': }
    }
    'Debian': {
      $proxy_html_loadfiles = $apache::params::distrelease ? {
        '6'     => '/usr/lib/libxml2.so.2',
        default => "/usr/lib/${::hardwaremodel}-linux-gnu/libxml2.so.2",
      }
    }
    'FreeBSD': {
      apache::mod { 'xml2enc': }
    }
  }
  # Template uses $icons_path
  file { 'proxy_html.conf':
    ensure  => file,
    path    => "${apache::mod_dir}/proxy_html.conf",
    content => template('apache/mod/proxy_html.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_html.pp
freighthop-0.6.0 modules/apache/manifests/mod/proxy_html.pp
freighthop-0.5.2 modules/apache/manifests/mod/proxy_html.pp
freighthop-0.5.1 modules/apache/manifests/mod/proxy_html.pp
freighthop-0.5.0 modules/apache/manifests/mod/proxy_html.pp
freighthop-0.4.1 modules/apache/manifests/mod/proxy_html.pp
freighthop-0.4.0 modules/apache/manifests/mod/proxy_html.pp
freighthop-0.3.3 modules/apache/manifests/mod/proxy_html.pp
freighthop-0.3.2 modules/apache/manifests/mod/proxy_html.pp
freighthop-0.3.1 modules/apache/manifests/mod/proxy_html.pp
freighthop-0.3.0 modules/apache/manifests/mod/proxy_html.pp