aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/iurt/config.pp
blob: 1d75c32e4f25c8ae1f9d4d34611ea140e0df5cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
define buildsystem::iurt::config() {
    include buildsystem::var::iurt
    $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/$distribution.conf")
    }
}