1 class apache::mod::autoindex {
2 ::apache::mod { 'autoindex': }
3 # Template uses no variables
4 file { 'autoindex.conf':
6 path => "${::apache::mod_dir}/autoindex.conf",
7 content => template('apache/mod/autoindex.conf.erb'),
8 require => Exec["mkdir ${::apache::mod_dir}"],
9 before => File[$::apache::mod_dir],
10 notify => Class['apache::service'],