Sha256: 0bdd69369bbf88b2f29ea5e8b2bcb1110f83b9e53ad331c611e8081f11a37724

Contents?: true

Size: 438 Bytes

Versions: 11

Compression:

Stored size: 438 Bytes

Contents

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