aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/www.pp
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2016-03-03 22:54:30 +0200
committerThomas Backlund <tmb@mageia.org>2016-03-03 22:54:30 +0200
commitccacd19e20d424ed2bf7a74c53ecb4177ead02b9 (patch)
tree4d19250b174cfaafc6f260bb097495718309780b /deployment/websites/manifests/www.pp
parente8b8f29cf3bd44c924cd2c36dab372a6d65bbd4a (diff)
downloadpuppet-ccacd19e20d424ed2bf7a74c53ecb4177ead02b9.tar
puppet-ccacd19e20d424ed2bf7a74c53ecb4177ead02b9.tar.gz
puppet-ccacd19e20d424ed2bf7a74c53ecb4177ead02b9.tar.bz2
puppet-ccacd19e20d424ed2bf7a74c53ecb4177ead02b9.tar.xz
puppet-ccacd19e20d424ed2bf7a74c53ecb4177ead02b9.zip
puppet does not use mkdir -p
Diffstat (limited to 'deployment/websites/manifests/www.pp')
-rw-r--r--deployment/websites/manifests/www.pp9
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',