aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:06:28 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:06:28 +0000
commit02004ba83701a19037e175e6b623d25ebb61f72a (patch)
treecb5ea9b4716aaf71b345329cb9765b16206ec8d6 /modules/buildsystem/manifests/var
parent14f898ccf52e939055124855d465b11ca502b33b (diff)
downloadpuppet-02004ba83701a19037e175e6b623d25ebb61f72a.tar
puppet-02004ba83701a19037e175e6b623d25ebb61f72a.tar.gz
puppet-02004ba83701a19037e175e6b623d25ebb61f72a.tar.bz2
puppet-02004ba83701a19037e175e6b623d25ebb61f72a.tar.xz
puppet-02004ba83701a19037e175e6b623d25ebb61f72a.zip
buildsystem: add build_nodes parameter
Add build_nodes parameter in buildsystem::var::scheduler. This parameter is a hash containing the build nodes available indexed by architecture.
Diffstat (limited to 'modules/buildsystem/manifests/var')
-rw-r--r--modules/buildsystem/manifests/var/scheduler.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/var/scheduler.pp b/modules/buildsystem/manifests/var/scheduler.pp
index a6b9ef4f..d69c66fc 100644
--- a/modules/buildsystem/manifests/var/scheduler.pp
+++ b/modules/buildsystem/manifests/var/scheduler.pp
@@ -1,8 +1,11 @@
# $admin_mail:
# the email address from which the build failure notifications
# will be sent
+# $build_nodes:
+# a hash containing available build nodes indexed by architecture
class buildsystem::var::scheduler(
- $admin_mail = "root@${::domain}"
+ $admin_mail = "root@${::domain}",
+ $build_nodes
){
$login = 'schedbot'
$homedir = "/var/lib/$login"