From 87256fcbeb9cc1ad4b29c0857047b8ca0d8d4389 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 15 May 2012 15:33:44 +0000 Subject: add websites::nav class --- deployment/websites/manifests/nav.pp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 deployment/websites/manifests/nav.pp (limited to 'deployment') 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, + } +} -- cgit v1.2.1