diff options
Diffstat (limited to 'deployment/websites/manifests/init.pp')
-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, |