/[adm]/puppet/modules/buildsystem/manifests/rpmlint.pp
ViewVC logotype

Contents of /puppet/modules/buildsystem/manifests/rpmlint.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2538 - (show annotations) (download)
Fri Mar 16 23:22:12 2012 UTC (12 years, 1 month ago) by misc
File size: 604 byte(s)
iuuse the new module made for refactoring and sharing variable ( ie login of the user for scheduler )
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 }

  ViewVC Help
Powered by ViewVC 1.1.30