notify => Service["apache"],
}
+ file { "${www_folder}":
+ ensure => directory,
+ owner => "root",
+ group => "root",
+ mode => 0755,
+ }
+
# icons folder
# http://larsjung.de/h5ai/
# http://recursive-design.com/blog/2008/12/29/styling-apache-directory-listings-with-mod_autoindex/
# Puppet will automatically set +x for directories
source => [ "puppet:///modules/site_apache/htdocs/$domain/icons",
"puppet:///modules/apache/icons", ]
+ require => File["${www_folder}"],
}
# Legacy configuration