aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var/scheduler.pp
blob: 02320587b430b459af4314c18a17e5466f6f77f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $admin_mail:
#   the email address from which the build failure notifications
#   will be sent
# $pkg_uphost:
#   hostname of the server where submitted packages are uploaded
# $build_nodes:
#   a hash containing available build nodes indexed by architecture
# $build_nodes_aliases:
#   a hash containing build nodes indexed by their alias
# $build_src_node:
#   hostname of the server building the initial src.rpm
class buildsystem::var::scheduler(
    $admin_mail = "root@${::domain}",
    $pkg_uphost = "pkgsubmit.${::domain}",
    $build_nodes,
    $build_nodes_aliases = {},
    $build_src_node
){
    $login = 'schedbot'
    $homedir = "/var/lib/$login"
    $logdir = "/var/log/$login"
}