dev/provisioning/modules/apache/manifests/mod/autoindex.pp
author nowmad@23.1.168.192.in-addr.arpa
Fri, 22 Jan 2016 13:15:47 +0100
changeset 98 2e6bfce6f99c
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
add details tab for perma-link to documents

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'],
  }
}