1 class apache::mod::userdir (
5 $apache_version = $::apache::apache_version,
6 $options = [ 'MultiViews', 'Indexes', 'SymLinksIfOwnerMatch', 'IncludesNoExec' ],
8 ::apache::mod { 'userdir': }
10 # Template uses $home, $dir, $disable_root, $apache_version
11 file { 'userdir.conf':
13 path => "${::apache::mod_dir}/userdir.conf",
14 content => template('apache/mod/userdir.conf.erb'),
15 require => Exec["mkdir ${::apache::mod_dir}"],
16 before => File[$::apache::mod_dir],
17 notify => Class['apache::service'],