aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 14:18:02 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 14:18:02 +0000
commit3d1d7345e89bbdd8ec5621dfb51617bd479a14de (patch)
tree045a18deef7294ea5551f404e66d4b453da8e859 /deployment/websites/manifests
parent486713f391a5e76f73603b6feb979075c7fb015c (diff)
downloadpuppet-3d1d7345e89bbdd8ec5621dfb51617bd479a14de.tar
puppet-3d1d7345e89bbdd8ec5621dfb51617bd479a14de.tar.gz
puppet-3d1d7345e89bbdd8ec5621dfb51617bd479a14de.tar.bz2
puppet-3d1d7345e89bbdd8ec5621dfb51617bd479a14de.tar.xz
puppet-3d1d7345e89bbdd8ec5621dfb51617bd479a14de.zip
websites: add archives.mageia.org
Diffstat (limited to 'deployment/websites/manifests')
-rw-r--r--deployment/websites/manifests/archives.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/deployment/websites/manifests/archives.pp b/deployment/websites/manifests/archives.pp
new file mode 100644
index 00000000..21c033c3
--- /dev/null
+++ b/deployment/websites/manifests/archives.pp
@@ -0,0 +1,20 @@
+class websites::archives {
+ include websites::base
+ $vhost = "archives.$::domain"
+ $vhostdir = "$websites::base::webdatadir/$vhost"
+ $svn_location = "svn://svn.$::domain/svn/web/archives/"
+
+ apache::vhost::base { $vhost:
+ location => $vhostdir,
+ }
+
+ apache::vhost::base { "ssl_$vhost":
+ vhost => $vhost,
+ use_ssl => true,
+ location => $vhostdir,
+ }
+
+ subversion::snapshot { $vhostdir:
+ source => $svn_location,
+ }
+}