diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index e77517e..7d62a0c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -139,6 +139,13 @@ class apache( 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/ @@ -155,6 +162,7 @@ class apache( # 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 |