Puppet Class: apache::mod::autoindex
- Defined in:
 - manifests/mod/autoindex.pp
 
Summary
Installs `mod_autoindex`Overview
        6 7 8 9 10 11 12 13 14 15 16 17 18 19  | 
      
        # File 'manifests/mod/autoindex.pp', line 6
class apache::mod::autoindex {
  include ::apache
  ::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'],
  }
}
       |