Puppet Class: apache::mod::autoindex
- Defined in:
- manifests/mod/autoindex.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'manifests/mod/autoindex.pp', line 1
class apache::mod::autoindex {
::apache::mod { 'autoindex': }
# Template uses no variables
file { 'autoindex.conf':
ensure => file,
path => "${::apache::mod_dir}/autoindex.conf",
mode => $::apache::file_mode,
content => template('apache/mod/autoindex.conf.erb'),
require => Exec["mkdir ${::apache::mod_dir}"],
before => File[$::apache::mod_dir],
notify => Class['apache::service'],
}
}
|