diff options
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/websites/manifests/www.pp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/deployment/websites/manifests/www.pp b/deployment/websites/manifests/www.pp index a76b6739..ecff73e6 100644 --- a/deployment/websites/manifests/www.pp +++ b/deployment/websites/manifests/www.pp @@ -15,14 +15,19 @@ class websites::www { source => $git_location, } - file { "${vhostdir}/var/tmp/cache": + file { [ "${vhostdir}/var", + "${vhostdir}/var/tmp", + "${vhostdir}/var/tmp/cache" ] : ensure => directory, group => $apache::var::apache_group, mode => '0660', require => Git::Snapshot[$vhostdir], } - file { "${vhostdir}/_nav/var/tmp/cache": + file { [ "${vhostdir}/_nav", + "${vhostdir}/_nav/var", + "${vhostdir}/_nav/var/tmp", + "${vhostdir}/_nav/var/tmp/cache" ] : ensure => directory, group => $apache::var::apache_group, mode => '0660', |