From 4dd6894b35de045bde3b5638ad71f02dffc8b388 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 23 May 2013 15:06:52 +0000 Subject: 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. --- modules/buildsystem/manifests/var/scheduler.pp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'modules/buildsystem/manifests/var') 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" -- cgit v1.2.1