blob: b913f7675327fd2e6c3b8fd8c7e1f51a66d7d135 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
class buildsystem::iurt {
include sudo
include buildsystem::iurt::user
include buildsystem::iurt::packages
$login = $buildsystem::iurt::user::login
$homedir = $buildsystem::iurt::user::homedir
ssh::auth::client { $login: }
# remove old build directory
tidy { "$homedir/iurt":
age => '8w',
recurse => true,
matches => ['[0-9][0-9].*\..*\..*\.[0-9]*','log','*.rpm','*.log','*.mga[0-9]+'],
rmdirs => true,
}
file { '/etc/iurt/build':
ensure => directory,
}
buildsystem::iurt::config { ['1','cauldron','mandriva2010.1','infra_1']: }
sudo::sudoers_config { 'iurt':
content => template('buildsystem/iurt/sudoers.iurt')
}
}
|