aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/webstatus.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/manifests/webstatus.pp')
-rw-r--r--modules/buildsystem/manifests/webstatus.pp7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/buildsystem/manifests/webstatus.pp b/modules/buildsystem/manifests/webstatus.pp
index 584e3e99..d263cc2f 100644
--- a/modules/buildsystem/manifests/webstatus.pp
+++ b/modules/buildsystem/manifests/webstatus.pp
@@ -3,8 +3,7 @@ class buildsystem::webstatus {
include buildsystem::var::scheduler
$sched_home_dir = $buildsystem::var::scheduler::homedir
- $location = '/var/www/bs'
- file { [$location,"$location/data"]:
+ file { [ $buildsystem::var::webstatus::location, "${buildsystem::var::webstatus::location}/data" ]:
ensure => directory,
}
@@ -13,11 +12,11 @@ class buildsystem::webstatus {
'/uploads' => "$sched_home_dir/uploads",
'/autobuild/cauldron/x86_64/core/log/status.core.log' => "$location/autobuild/broken.php"
},
- location => $location,
+ location => $buildsystem::var::webstatus::location,
content => template('buildsystem/vhost_webstatus.conf'),
}
- subversion::snapshot { $location:
+ subversion::snapshot { $buildsystem::var::webstatus::location:
source => $buildsystem::var::webstatus::svn_url,
}
}