diff options
Diffstat (limited to 'deployment/websites/manifests')
-rw-r--r-- | deployment/websites/manifests/nav.pp | 20 |
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, + } +} |