Sha256: 9fce2c93d6ce7af7b3b736ef713ac50d466578288ae8a4e825985d1ba9b11fa0
Contents?: true
Size: 649 Bytes
Versions: 11
Compression:
Stored size: 649 Bytes
Contents
class apache::mod::mime ( $mime_support_package = $apache::params::mime_support_package, $mime_types_config = $apache::params::mime_types_config, ) { apache::mod { 'mime': } # Template uses $mime_types_config file { 'mime.conf': ensure => file, path => "${apache::mod_dir}/mime.conf", content => template('apache/mod/mime.conf.erb'), require => Exec["mkdir ${apache::mod_dir}"], before => File[$apache::mod_dir], notify => Service['httpd'], } if $mime_support_package { package { $mime_support_package: ensure => 'installed', before => File["${apache::mod_dir}/mime.conf"], } } }
Version data entries
11 entries across 11 versions & 1 rubygems