diff options
author | Pascal Terjan <pterjan@gmail.com> | 2015-06-19 10:35:29 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2015-06-19 10:35:29 +0000 |
commit | 787e3261402b95d302abf47442f318eaf96bcaac (patch) | |
tree | 4e790def3e2024bdab80dbeb490b66d2a9c2449e /deployment | |
parent | 997e0798808e077a63ca95c4e1bff354b06505fc (diff) | |
download | puppet-787e3261402b95d302abf47442f318eaf96bcaac.tar puppet-787e3261402b95d302abf47442f318eaf96bcaac.tar.gz puppet-787e3261402b95d302abf47442f318eaf96bcaac.tar.bz2 puppet-787e3261402b95d302abf47442f318eaf96bcaac.tar.xz puppet-787e3261402b95d302abf47442f318eaf96bcaac.zip |
Add Mageia 5
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/mga_buildsystem/manifests/config.pp | 67 |
1 files changed, 66 insertions, 1 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp index 82565c3e..a4d8b4a3 100644 --- a/deployment/mga_buildsystem/manifests/config.pp +++ b/deployment/mga_buildsystem/manifests/config.pp @@ -397,6 +397,44 @@ class mga_buildsystem::config { ], } + # rpmlint check options for Mageia 5 + $mga5_rpmlint = { + 'config' => '/usr/share/rpmlint/config', + 'path' => '/usr/bin/rpmlint', + 'results' => [ + 'buildprereq-use', + 'no-description-tag', + 'no-summary-tag', + 'non-standard-group', + 'non-xdg-migrated-menu', + 'percent-in-conflicts', + 'percent-in-dependency', + 'percent-in-obsoletes', + 'percent-in-provides', + 'summary-ended-with-dot', + 'unexpanded-macro', + 'unknown-lsb-keyword', + 'malformed-line-in-lsb-comment-block', + 'empty-%postun', + 'empty-%post', + 'invalid-desktopfile', + 'standard-dir-owned-by-package', + 'use-tmp-in-%postun', + 'bogus-variable-use-in-%posttrans', + 'dir-or-file-in-usr-local', + 'dir-or-file-in-tmp', + 'dir-or-file-in-mnt', + 'dir-or-file-in-opt', + 'dir-or-file-in-home', + 'dir-or-file-in-var-local', + 'tmpfiles-conf-in-etc', + 'non-ghost-in-run', + 'non-ghost-in-var-run', + 'non-ghost-in-var-lock', + 'systemd-unit-in-etc', + 'udev-rule-in-etc', + ], + } # rpmlint check options for cauldron $cauldron_rpmlint = { 'config' => '/usr/share/rpmlint/config', @@ -611,7 +649,34 @@ class mga_buildsystem::config { }, }, - + '5' => { + 'arch' => $std_arch, + 'no_media_cfg_update' => true, + 'medias' => $std_medias, + 'base_media' => $std_base_media, + 'branch' => 'Official', + 'version' => '5', + 'submit_allowed' => "${svn_root_packages}/updates/5", + 'backports_allowed' => "${svn_root_packages}/backports/5", + 'macros' => $std_macros, + 'repo_allow_from' => $repo_allow_from, + 'youri' => { + 'upload' => { + 'targets' => $std_youri_upload_targets, + 'checks' => { + 'rpmlint' => $mga5_rpmlint, + }, + }, + 'todo' => { + 'targets' => $std_youri_todo_targets, + 'checks' => { + 'rpmlint' => $mga5_rpmlint, + 'version' => $std_version_check, + }, + }, + }, + }, + 'infra_1' => { 'arch' => $std_arch, 'medias' => $infra_medias, |