Mercurial > repos > other > Puppet
view modules/apache/manifests/mod/autoindex.pp @ 0:956e484adc12
Initial public release of Puppet configs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 16 Aug 2014 19:47:38 +0000 |
parents | |
children | 37675581a273 |
line wrap: on
line source
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 => Service['httpd'], } }