aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/init.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-07-20 12:01:48 +0000
committerMichael Scherer <misc@mageia.org>2011-07-20 12:01:48 +0000
commite43f9475183916cad6fb21fcf124a822ffe836f7 (patch)
tree9e1ad89d5389bdace83f9028cfdb93dcff2117d6 /modules/buildsystem/manifests/init.pp
parent6ffd74d658c98e821370815d53c02f691e113c44 (diff)
downloadpuppet-e43f9475183916cad6fb21fcf124a822ffe836f7.tar
puppet-e43f9475183916cad6fb21fcf124a822ffe836f7.tar.gz
puppet-e43f9475183916cad6fb21fcf124a822ffe836f7.tar.bz2
puppet-e43f9475183916cad6fb21fcf124a822ffe836f7.tar.xz
puppet-e43f9475183916cad6fb21fcf124a822ffe836f7.zip
deploy rpmlint configuration to use the auto extracted files
previously setup
Diffstat (limited to 'modules/buildsystem/manifests/init.pp')
-rw-r--r--modules/buildsystem/manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index 185cb547..4d3afad0 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -293,6 +293,15 @@ class buildsystem {
content => template("buildsystem/sudoers.youri")
}
+ package { "rpmlint": }
+
+ file { "/etc/rpmlint/config":
+ ensure => present,
+ mode => 644,
+ 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/":