diff options
author | Nicolas Vigier <boklm@mageia.org> | 2012-05-15 15:30:51 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2012-05-15 15:30:51 +0000 |
commit | 436e07fd8249dbc50712d8492308a29adafc3499 (patch) | |
tree | 770af13a3ab8b3dfa148a2501bf122725268edc9 /deployment/websites | |
parent | 7081f3cf0af3bffe97bb8c9468bdab41f6a2d867 (diff) | |
download | puppet-436e07fd8249dbc50712d8492308a29adafc3499.tar puppet-436e07fd8249dbc50712d8492308a29adafc3499.tar.gz puppet-436e07fd8249dbc50712d8492308a29adafc3499.tar.bz2 puppet-436e07fd8249dbc50712d8492308a29adafc3499.tar.xz puppet-436e07fd8249dbc50712d8492308a29adafc3499.zip |
add websites::doc class
Diffstat (limited to 'deployment/websites')
-rw-r--r-- | deployment/websites/manifests/doc.pp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/deployment/websites/manifests/doc.pp b/deployment/websites/manifests/doc.pp new file mode 100644 index 00000000..63ba9d45 --- /dev/null +++ b/deployment/websites/manifests/doc.pp @@ -0,0 +1,20 @@ +class websites::doc { + include websites::base + $vhost = "doc.$::domain" + $vhostdir = "$websites::base::webdatadir/$vhost" + $svn_location = "svn://svn.$::domain/svn/web/doc/" + + apache::vhost::base { $vhost: + location => $vhostdir, + } + + apache::vhost::base { "ssl_$vhost": + vhost => $vhost, + use_ssl => true, + location => $vhostdir, + } + + subversion::snapshot { $vhostdir: + source => $svn_location, + } +} |