]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/apache/manifests/mod/autoindex.pp
add Openstack modules to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / apache / manifests / mod / autoindex.pp
1 class apache::mod::autoindex {
2   ::apache::mod { 'autoindex': }
3   # Template uses no variables
4   file { 'autoindex.conf':
5     ensure  => file,
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'],
11   }
12 }