aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/iurt/config.pp
blob: 32a48a4dacf589ad514757453ed71fa78babe9bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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

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