try again, with puppetforge modules, correctly included now
[mirror/dsa-puppet.git] / 3rdparty / modules / apache / manifests / mod / mime_magic.pp
1 class apache::mod::mime_magic (
2   $magic_file = "${::apache::conf_dir}/magic"
3 ) {
4   apache::mod { 'mime_magic': }
5   # Template uses $magic_file
6   file { 'mime_magic.conf':
7     ensure  => file,
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'],
13   }
14 }