aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/websites/manifests/init.pp')
-rw-r--r--deployment/websites/manifests/init.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/deployment/websites/manifests/init.pp b/deployment/websites/manifests/init.pp
index dee06c65..c07f58df 100644
--- a/deployment/websites/manifests/init.pp
+++ b/deployment/websites/manifests/init.pp
@@ -48,6 +48,18 @@ class websites {
}
}
+ class releases inherits base {
+ $vhostdir = "$webdatadir/releases.$domain"
+ $svn_location = "svn://svn.$domain/svn/web/releases/"
+ apache::vhost_base { "releases.$domain":
+ location => $vhostdir,
+ }
+
+ subversion::snapshot { "$vhostdir":
+ source => $svn_location
+ }
+ }
+
class svn {
apache::vhost_redirect { "svn.$domain":
url => "http://svnweb.$domain/",