aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:04:34 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:04:34 +0000
commitab1083a49a06c482007572f7334c450c97d51e14 (patch)
treee76ac82fc3eada1ce6035b8d85b17266e96f2dca /modules/buildsystem
parente5bf023419cab6727bb9f73a150d49f12c48c2ee (diff)
downloadpuppet-ab1083a49a06c482007572f7334c450c97d51e14.tar
puppet-ab1083a49a06c482007572f7334c450c97d51e14.tar.gz
puppet-ab1083a49a06c482007572f7334c450c97d51e14.tar.bz2
puppet-ab1083a49a06c482007572f7334c450c97d51e14.tar.xz
puppet-ab1083a49a06c482007572f7334c450c97d51e14.zip
buildsystem::webstatus: remove useless variable
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/manifests/webstatus.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/buildsystem/manifests/webstatus.pp b/modules/buildsystem/manifests/webstatus.pp
index d263cc2f..b2607e07 100644
--- a/modules/buildsystem/manifests/webstatus.pp
+++ b/modules/buildsystem/manifests/webstatus.pp
@@ -1,7 +1,6 @@
class buildsystem::webstatus {
include buildsystem::var::webstatus
include buildsystem::var::scheduler
- $sched_home_dir = $buildsystem::var::scheduler::homedir
file { [ $buildsystem::var::webstatus::location, "${buildsystem::var::webstatus::location}/data" ]:
ensure => directory,
@@ -9,7 +8,7 @@ class buildsystem::webstatus {
apache::vhost::base { $buildsystem::var::webstatus::hostname:
aliases => {
- '/uploads' => "$sched_home_dir/uploads",
+ '/uploads' => "${buildsystem::var::scheduler::homedir}/uploads",
'/autobuild/cauldron/x86_64/core/log/status.core.log' => "$location/autobuild/broken.php"
},
location => $buildsystem::var::webstatus::location,