1 class apache::mod::mime_magic (
2 $magic_file = "${::apache::conf_dir}/magic"
4 apache::mod { 'mime_magic': }
5 # Template uses $magic_file
6 file { 'mime_magic.conf':
8 path => "${::apache::mod_dir}/mime_magic.conf",
9 content => template('apache/mod/mime_magic.conf.erb'),
10 require => Exec["mkdir ${::apache::mod_dir}"],
11 before => File[$::apache::mod_dir],
12 notify => Class['apache::service'],