aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-05-15 15:33:44 +0000
committerNicolas Vigier <boklm@mageia.org>2012-05-15 15:33:44 +0000
commit87256fcbeb9cc1ad4b29c0857047b8ca0d8d4389 (patch)
tree0781a87540a4ba0d3f10802904900ba604ee8e41 /deployment/websites/manifests
parent436e07fd8249dbc50712d8492308a29adafc3499 (diff)
downloadpuppet-87256fcbeb9cc1ad4b29c0857047b8ca0d8d4389.tar
puppet-87256fcbeb9cc1ad4b29c0857047b8ca0d8d4389.tar.gz
puppet-87256fcbeb9cc1ad4b29c0857047b8ca0d8d4389.tar.bz2
puppet-87256fcbeb9cc1ad4b29c0857047b8ca0d8d4389.tar.xz
puppet-87256fcbeb9cc1ad4b29c0857047b8ca0d8d4389.zip
add websites::nav class
Diffstat (limited to 'deployment/websites/manifests')
-rw-r--r--deployment/websites/manifests/nav.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/deployment/websites/manifests/nav.pp b/deployment/websites/manifests/nav.pp
new file mode 100644
index 00000000..587abe0d
--- /dev/null
+++ b/deployment/websites/manifests/nav.pp
@@ -0,0 +1,20 @@
+class websites::nav {
+ include websites::base
+ $vhost = "nav.$::domain"
+ $vhostdir = "$websites::base::webdatadir/$vhost"
+ $svn_location = "svn://svn.$::domain/svn/web/nav/"
+
+ apache::vhost::base { $vhost:
+ location => $vhostdir,
+ }
+
+ apache::vhost::base { "ssl_$vhost":
+ vhost => $vhost,
+ use_ssl => true,
+ location => $vhostdir,
+ }
+
+ subversion::snapshot { $vhostdir:
+ source => $svn_location,
+ }
+}