X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=3rdparty%2Fmodules%2Fapache%2Fmanifests%2Fmod%2Fautoindex.pp;fp=3rdparty%2Fmodules%2Fapache%2Fmanifests%2Fmod%2Fautoindex.pp;h=c0969a814ed31014d4f969cd6a2ff9633e757898;hb=4631045ebb77ee8622f6fa09277a50c372bcc02e;hp=0000000000000000000000000000000000000000;hpb=3d4dc4fd9e59bd0e07646c99f6b356c7d9d859aa;p=dsa-puppet.git diff --git a/3rdparty/modules/apache/manifests/mod/autoindex.pp b/3rdparty/modules/apache/manifests/mod/autoindex.pp new file mode 100644 index 00000000..c0969a81 --- /dev/null +++ b/3rdparty/modules/apache/manifests/mod/autoindex.pp @@ -0,0 +1,12 @@ +class apache::mod::autoindex { + ::apache::mod { 'autoindex': } + # Template uses no variables + file { 'autoindex.conf': + ensure => file, + path => "${::apache::mod_dir}/autoindex.conf", + content => template('apache/mod/autoindex.conf.erb'), + require => Exec["mkdir ${::apache::mod_dir}"], + before => File[$::apache::mod_dir], + notify => Class['apache::service'], + } +}