aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/mainnode.pp
blob: 01de764fa0dd29dcfe5e635664c49dbdfaf4a56a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class buildsystem::mainnode {
    include buildsystem::var::repository
    include buildsystem::var::scheduler
    include buildsystem::var::distros
    include buildsystem::iurt::user
    include buildsystem::scheduler
    include buildsystem::gatherer
    include buildsystem::mgarepo
    include buildsystem::signbot
    include buildsystem::youri_submit
    include buildsystem::sshkeys
    include buildsystem::distros

    sshkeys::set_client_key_pair { $buildsystem::var::scheduler::login:
        home => $buildsystem::var::scheduler::homedir,
        user => $buildsystem::var::scheduler::login,
    }
    sshkeys::set_authorized_keys { 'scheduler-allow-scheduler':
        keyname => $buildsystem::var::scheduler::login,
        home    => $buildsystem::var::scheduler::homedir,
        user    => $buildsystem::var::scheduler::login,
    }
}