aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/scheduler.pp
blob: 3b7e03f392bbe1594b2ede640b11d703815fd291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class buildsystem::scheduler {
        # until ulri is splitted from main iurt rpm
        include ssh::auth
        include buildsystem::iurt::packages
        include buildsystem::iurt::upload
        include buildsystem::scheduler::var

        $login = $buildsystem::scheduler::var::login
        $homedir = $buildsystem::scheduler::var::homedir        

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

        sshuser { $login:
            homedir => $homedir,
            comment => 'System user used to schedule builds',
        }
}