diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-05-05 15:49:48 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-05-05 15:49:48 +0000 |
commit | a54c0b3ed6a3335b9b63f70e5c1b88723006aa6b (patch) | |
tree | 1848b97735915abf76a15fb54ba74cb29711476e /deployment/websites/manifests | |
parent | ca984ae5b294077a30a2dca86554ae1906d51449 (diff) | |
download | puppet-a54c0b3ed6a3335b9b63f70e5c1b88723006aa6b.tar puppet-a54c0b3ed6a3335b9b63f70e5c1b88723006aa6b.tar.gz puppet-a54c0b3ed6a3335b9b63f70e5c1b88723006aa6b.tar.bz2 puppet-a54c0b3ed6a3335b9b63f70e5c1b88723006aa6b.tar.xz puppet-a54c0b3ed6a3335b9b63f70e5c1b88723006aa6b.zip |
add releases vhost
Diffstat (limited to 'deployment/websites/manifests')
-rw-r--r-- | deployment/websites/manifests/init.pp | 12 |
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/", |