aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/base.pp
blob: 05adc53ccdceee950014f189bc26c1ba4a8d2d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class buildsystem::base {

    $sched_login = 'schedbot'
    $sched_home_dir = "/var/lib/$sched_login"

    $packagers_group = 'mga-packagers'
    $packagers_committers_group = 'mga-packagers-committers'

    include ssh::auth
    ssh::auth::key { $buildsystem::iurt::user::login:
        # declare a key for build bot: RSA, 2048 bits
        home => $buildsystem::iurt::user::homedir,
    }

    ssh::auth::key { $sched_login:
        # declare a key for sched bot: RSA, 2048 bits
        home => $sched_home_dir,
    }
}