aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/static.pp
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/websites/manifests/static.pp')
-rw-r--r--deployment/websites/manifests/static.pp23
1 files changed, 11 insertions, 12 deletions
diff --git a/deployment/websites/manifests/static.pp b/deployment/websites/manifests/static.pp
index 0883d779..41b4f332 100644
--- a/deployment/websites/manifests/static.pp
+++ b/deployment/websites/manifests/static.pp
@@ -1,17 +1,16 @@
-class websites {
- class static inherits base {
- $vhostdir = "$webdatadir/static.$domain"
+class websites::static {
+ include websites::base
+ $vhostdir = "$websites::base::webdatadir/static.$::domain"
- apache::vhost_other_app { "static.$domain":
- vhost_file => 'websites/vhost_static.conf',
- }
+ apache::vhost_other_app { "static.$::domain":
+ vhost_file => 'websites/vhost_static.conf',
+ }
- file { $vhostdir:
- ensure => directory,
- }
+ file { $vhostdir:
+ ensure => directory,
+ }
- subversion::snapshot { "$vhostdir/g":
- source => "svn://svn.$domain/svn/web/www/trunk/g/",
- }
+ subversion::snapshot { "$vhostdir/g":
+ source => "svn://svn.$::domain/svn/web/www/trunk/g/",
}
}