aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/scheduler.pp
blob: 887c2120ea7fc35256962a23ed1a104d25ad0a87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class buildsystem::scheduler {
        # until ulri is splitted from main iurt rpm
        include ssh::auth
        include iurt::packages
        include iurt::upload
        $login = 'schedbot'
        $homedir = $buildsystem::base::sched_home_dir

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

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