diff options
Diffstat (limited to 'modules/buildsystem')
-rw-r--r-- | modules/buildsystem/manifests/iurt/config.pp | 10 | ||||
-rw-r--r-- | modules/buildsystem/templates/iurt.conf | 11 |
2 files changed, 14 insertions, 7 deletions
diff --git a/modules/buildsystem/manifests/iurt/config.pp b/modules/buildsystem/manifests/iurt/config.pp index 4c1dc055..3db0951b 100644 --- a/modules/buildsystem/manifests/iurt/config.pp +++ b/modules/buildsystem/manifests/iurt/config.pp @@ -6,6 +6,16 @@ define buildsystem::iurt::config() { # TODO rename the variable too in template $build_login = $buildsystem::var::iurt::login + $build_timeout = { + 'default' => 18000, + 'gcc' => 57600, + 'paraview' => 115200, + 'salome' => 57600, + 'itk' => 115200, + 'wrapitk' => 115200, + 'libreoffice' => 345600 + } + file { "/etc/iurt/build/${distribution}.conf": owner => $build_login, group => $build_login, diff --git a/modules/buildsystem/templates/iurt.conf b/modules/buildsystem/templates/iurt.conf index 34809afa..84baac52 100644 --- a/modules/buildsystem/templates/iurt.conf +++ b/modules/buildsystem/templates/iurt.conf @@ -20,13 +20,10 @@ packager => 'Iurt the rebuild bot <mageia-sysadm@mageia.org>', sendmail => 0, build_timeout => { - 'default' => 18000, - 'gcc' => 57600, - 'paraview' => 115200, - 'salome' => 57600, - 'itk' => 115200, - 'wrapitk' => 115200, - 'libreoffice' => 345600 +<%- build_timeout.keys.sort.each{|package| -%> + '<%= package %>' => <%= build_timeout[package] %>, +<%- +} -%> }, } |