6 |
$sched_login = "schedbot" |
$sched_login = "schedbot" |
7 |
$sched_home_dir = "/home/$sched_login" |
$sched_home_dir = "/home/$sched_login" |
8 |
$repository_root = "/distrib/bootstrap" |
$repository_root = "/distrib/bootstrap" |
9 |
|
$packagers_group = 'mga-packagers' |
10 |
|
$createsrpm_path = '/usr/share/repsys/create-srpm' |
11 |
|
|
12 |
include ssh::auth |
include ssh::auth |
13 |
ssh::auth::key { $build_login: } # declare a key for build bot: RSA, 2048 bits |
ssh::auth::key { $build_login: } # declare a key for build bot: RSA, 2048 bits |
155 |
require => File["/etc/youri"], |
require => File["/etc/youri"], |
156 |
content => template("buildsystem/youri_acl.conf") |
content => template("buildsystem/youri_acl.conf") |
157 |
} |
} |
158 |
|
|
159 |
|
file { '/usr/local/bin/submit_package': |
160 |
|
ensure => present, |
161 |
|
mode => 755, |
162 |
|
content => template('buildsystem/submit_package') |
163 |
|
} |
164 |
} |
} |
165 |
|
|
166 |
define sshuser($homedir, $comment) { |
define sshuser($homedir, $comment) { |