1 |
class buildsystem::rpmlint { |
2 |
include buildsystem::scheduler::var |
3 |
$sched_login = $buildsystem::scheduler::var::login |
4 |
|
5 |
package { 'rpmlint': } |
6 |
|
7 |
file { '/etc/rpmlint/config': |
8 |
require => Package['rpmlint'], |
9 |
content => template('buildsystem/rpmlint.conf') |
10 |
} |
11 |
|
12 |
# directory that hold configuration auto extracted after upload |
13 |
# of the rpmlint policy |
14 |
# should belong to the scheduler user, as it need to write to it |
15 |
file { '/etc/rpmlint/extracted.d/': |
16 |
ensure => directory, |
17 |
require => Package['rpmlint'], |
18 |
owner => $sched_login, |
19 |
} |
20 |
} |