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

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

    $packages_archivedir = "$sched_home_dir/old"
    $repository_root = '/distrib/bootstrap'

    $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,
    }
}