aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/websites/manifests/init.pp')
-rw-r--r--deployment/websites/manifests/init.pp17
1 files changed, 17 insertions, 0 deletions
diff --git a/deployment/websites/manifests/init.pp b/deployment/websites/manifests/init.pp
index 83bb88b7..067318b2 100644
--- a/deployment/websites/manifests/init.pp
+++ b/deployment/websites/manifests/init.pp
@@ -36,6 +36,23 @@ class websites {
}
}
+ class hugs inherits base {
+ $vhostdir = "$webdatadir/hugs.$domain"
+ $svn_location = "svn://svn.$domain/svn/web/hugs/public/"
+ apache::vhost_base { "hugs.$domain":
+ location => $vhostdir,
+ }
+
+ file { $vhostdir:
+ ensure => directory,
+ mode => 755,
+ }
+
+ subversion::snapshot { "$vhostdir":
+ source => $svn_location
+ }
+ }
+
class svn {
apache::vhost_redirect { "svn.$domain":
url => "http://svnweb.$domain/",