Sha256: 1d18403c7b51989d791ce86fa9f482ba669999f2d425f8e0f973da803ddb40ea

Contents?: true

Size: 523 Bytes

Versions: 11

Compression:

Stored size: 523 Bytes

Contents

class apache::mod::alias {
  $icons_path = $::osfamily ? {
    'debian'  => '/usr/share/apache2/icons',
    'redhat'  => '/var/www/icons',
    'freebsd' => '/usr/local/www/apache22/icons',
  }
  apache::mod { 'alias': }
  # Template uses $icons_path
  file { 'alias.conf':
    ensure  => file,
    path    => "${apache::mod_dir}/alias.conf",
    content => template('apache/mod/alias.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/alias.pp
freighthop-0.6.0 modules/apache/manifests/mod/alias.pp
freighthop-0.5.2 modules/apache/manifests/mod/alias.pp
freighthop-0.5.1 modules/apache/manifests/mod/alias.pp
freighthop-0.5.0 modules/apache/manifests/mod/alias.pp
freighthop-0.4.1 modules/apache/manifests/mod/alias.pp
freighthop-0.4.0 modules/apache/manifests/mod/alias.pp
freighthop-0.3.3 modules/apache/manifests/mod/alias.pp
freighthop-0.3.2 modules/apache/manifests/mod/alias.pp
freighthop-0.3.1 modules/apache/manifests/mod/alias.pp
freighthop-0.3.0 modules/apache/manifests/mod/alias.pp