aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/youri_submit.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-16 22:46:49 +0000
committerMichael Scherer <misc@mageia.org>2012-03-16 22:46:49 +0000
commit7221579bb55dd9a571db4212fc6d994bfa182867 (patch)
tree30a2539262bafe43601d56d131aaee6223fa32d3 /modules/buildsystem/manifests/youri_submit.pp
parent53a0d6357d0abfa86080fbc842608f0eaa205e60 (diff)
downloadpuppet-7221579bb55dd9a571db4212fc6d994bfa182867.tar
puppet-7221579bb55dd9a571db4212fc6d994bfa182867.tar.gz
puppet-7221579bb55dd9a571db4212fc6d994bfa182867.tar.bz2
puppet-7221579bb55dd9a571db4212fc6d994bfa182867.tar.xz
puppet-7221579bb55dd9a571db4212fc6d994bfa182867.zip
split rpmlint in a separate module for clarity
Diffstat (limited to 'modules/buildsystem/manifests/youri_submit.pp')
-rw-r--r--modules/buildsystem/manifests/youri_submit.pp17
1 files changed, 1 insertions, 16 deletions
diff --git a/modules/buildsystem/manifests/youri_submit.pp b/modules/buildsystem/manifests/youri_submit.pp
index f4a7b196..4a87c8e2 100644
--- a/modules/buildsystem/manifests/youri_submit.pp
+++ b/modules/buildsystem/manifests/youri_submit.pp
@@ -4,6 +4,7 @@ class buildsystem::youri_submit {
$packages_archivedir = "$sched_home_dir/old"
include sudo
+ include buildsystem::rpmlint
local_script {
'mga-youri-submit':
@@ -17,22 +18,6 @@ class buildsystem::youri_submit {
sudo::sudoers_config { 'mga-youri-submit':
content => template('buildsystem/sudoers.youri')
}
-
- package { 'rpmlint': }
-
- file { '/etc/rpmlint/config':
- require => Package['rpmlint'],
- content => template('buildsystem/rpmlint.conf')
- }
-
- # directory that hold configuration auto extracted after upload
- # of the rpmlint policy
- file { '/etc/rpmlint/extracted.d/':
- ensure => directory,
- require => Package['rpmlint'],
- owner => $sched_login,
- }
-
# ordering is automatic :
# http://docs.puppetlabs.com/learning/ordering.html#autorequire
file { '/etc/youri':