aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var/scheduler.pp
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:06:52 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:06:52 +0000
commit4dd6894b35de045bde3b5638ad71f02dffc8b388 (patch)
tree6df431a6d8be300c60186076cbb934832926f72e /modules/buildsystem/manifests/var/scheduler.pp
parent50a4542efc81f09671f83a9b96aadaef1f069b8a (diff)
downloadpuppet-4dd6894b35de045bde3b5638ad71f02dffc8b388.tar
puppet-4dd6894b35de045bde3b5638ad71f02dffc8b388.tar.gz
puppet-4dd6894b35de045bde3b5638ad71f02dffc8b388.tar.bz2
puppet-4dd6894b35de045bde3b5638ad71f02dffc8b388.tar.xz
puppet-4dd6894b35de045bde3b5638ad71f02dffc8b388.zip
buildsystem: add /etc/youri/host.conf
The host.conf config file for youri contains the hostnames of the nodes that are building packages for each architecture. The variable $build_src_node has been added to buildsystem::var::scheduler to contain the hostname of the server building the initial src.rpm. The variable $build_nodes_aliases has been added to buildsystem::var::scheduler to be used to find the real hostnames of the nodes building the packages for each architecture.
Diffstat (limited to 'modules/buildsystem/manifests/var/scheduler.pp')
-rw-r--r--modules/buildsystem/manifests/var/scheduler.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/var/scheduler.pp b/modules/buildsystem/manifests/var/scheduler.pp
index 087020bf..02320587 100644
--- a/modules/buildsystem/manifests/var/scheduler.pp
+++ b/modules/buildsystem/manifests/var/scheduler.pp
@@ -5,10 +5,16 @@
# hostname of the server where submitted packages are uploaded
# $build_nodes:
# a hash containing available build nodes indexed by architecture
+# $build_nodes_aliases:
+# a hash containing build nodes indexed by their alias
+# $build_src_node:
+# hostname of the server building the initial src.rpm
class buildsystem::var::scheduler(
$admin_mail = "root@${::domain}",
$pkg_uphost = "pkgsubmit.${::domain}",
- $build_nodes
+ $build_nodes,
+ $build_nodes_aliases = {},
+ $build_src_node
){
$login = 'schedbot'
$homedir = "/var/lib/$login"