diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-12-20 14:39:51 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-12-20 14:39:51 +0000 |
commit | 6dcdbb594845d779406e72133003a9495467f2ce (patch) | |
tree | f39b52f47dd2b4fb1810f11ae8bdf785a6d92fd8 /deployment/websites/manifests | |
parent | 4448cc5fdc1b447e29f6d7e8b0af1b1ad82d9ec2 (diff) | |
download | puppet-6dcdbb594845d779406e72133003a9495467f2ce.tar puppet-6dcdbb594845d779406e72133003a9495467f2ce.tar.gz puppet-6dcdbb594845d779406e72133003a9495467f2ce.tar.bz2 puppet-6dcdbb594845d779406e72133003a9495467f2ce.tar.xz puppet-6dcdbb594845d779406e72133003a9495467f2ce.zip |
allow apache to write in cache directory
Diffstat (limited to 'deployment/websites/manifests')
-rw-r--r-- | deployment/websites/manifests/init.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/deployment/websites/manifests/init.pp b/deployment/websites/manifests/init.pp index 34593b1a..a294cf3f 100644 --- a/deployment/websites/manifests/init.pp +++ b/deployment/websites/manifests/init.pp @@ -28,10 +28,19 @@ class websites { $vhostdir = "$webdatadir/www.$domain" $svn_location = "svn://svn.$domain/svn/web/www/trunk" + apache::apache_group + subversion::snapshot { $vhostdir: source => $svn_location } + file { "$vhostdir/var/tmp/cache": + ensure => directory, + owner => root, + group => $apache::base::apache_group, + mode => 0660, + } + apache::vhost_base { "$vhost": content => template('websites/vhost_www.conf'), location => $vhostdir, |