aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/iurt/config.pp
blob: 9b65ea50495dde4bbd2d97e32535f8ec0e3c9948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
define buildsystem::iurt::config() {
    include buildsystem::var::iurt
    include buildsystem::var::webstatus
    include buildsystem::var::repository
    $distribution = $name
    # TODO rename the variable too in template
    $build_login = $buildsystem::var::iurt::login

    $build_timeout = {
      'default' => 18000,
      'llvm' => 36000,
      'gcc' => 57600,
      'paraview' => 115200,
      'salome' => 57600,
      'itk' => 115200,
      'wrapitk' => 115200,
      'libreoffice' => 345600,
      'gnuradio' => 36000,
      'webkit' => 57600
    }

    file { "/etc/iurt/build/${distribution}.conf":
        owner   => $build_login,
        group   => $build_login,
        content => template("buildsystem/iurt.conf")
    }
}