blob: 231c53732cc2ea4fe73db51cf034002ca075293f (
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
|
class buildsystem::iurt {
include sudo
include buildsystem::iurt::user
include buildsystem::iurt::packages
include buildsystem::var::iurt
include buildsystem::var::distros
# remove old build directory
tidy { "${buildsystem::var::iurt::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,
}
$distros_list = hash_keys($buildsystem::var::distros::distros)
buildsystem::iurt::config { $distros_list: }
sudo::sudoers_config { 'iurt':
content => template('buildsystem/sudoers.iurt')
}
}
|