diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:06:21 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:06:21 +0000 |
commit | 3c7f02d481edc662ee490525cff939074ff36b38 (patch) | |
tree | fb761385c60831790dd1201805acec54b74c2687 /deployment/mga_buildsystem/manifests/config.pp | |
parent | 54480006e000fc8cf0d44df2c0f48eb5909db77b (diff) | |
download | puppet-3c7f02d481edc662ee490525cff939074ff36b38.tar puppet-3c7f02d481edc662ee490525cff939074ff36b38.tar.gz puppet-3c7f02d481edc662ee490525cff939074ff36b38.tar.bz2 puppet-3c7f02d481edc662ee490525cff939074ff36b38.tar.xz puppet-3c7f02d481edc662ee490525cff939074ff36b38.zip |
buildsystem: add support for medias dependencies
In upload.conf template for ulri config use the dependencies between
medias defined in buildsystem::var::distros.
Diffstat (limited to 'deployment/mga_buildsystem/manifests/config.pp')
-rw-r--r-- | deployment/mga_buildsystem/manifests/config.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp index d80f9cef..8171961b 100644 --- a/deployment/mga_buildsystem/manifests/config.pp +++ b/deployment/mga_buildsystem/manifests/config.pp @@ -40,22 +40,27 @@ class mga_buildsystem::config { $std_repos = { 'release' => { 'media_types' => [ 'release' ], + 'requires' => [], }, 'updates_testing' => { 'media_types' => [ 'testing' ], 'noauto' => '1', + 'requires' => [ 'updates' ], }, 'backports_testing' => { 'media_types' => [ 'testing' ], 'noauto' => '1', + 'requires' => [ 'backports' ], }, 'backports' => { 'media_types' => [ 'backports' ], 'noauto' => '1', + 'requires' => [ 'updates' ], }, 'updates' => { 'media_types' => [ 'updates' ], 'updates_for' => 'release', + 'requires' => [ 'release' ], }, } $std_medias = { @@ -67,11 +72,13 @@ class mga_buildsystem::config { 'repos' => $std_repos, 'media_types' => [ 'official' ], 'noauto' => '1', + 'requires' => [ 'core' ], }, 'tainted' => { 'repos' => $std_repos, 'media_types' => [ 'official' ], 'noauto' => '1', + 'requires' => [ 'core' ], }, } $std_base_media = [ 'core/release', 'core/updates' ] @@ -80,9 +87,11 @@ class mga_buildsystem::config { 'repos' => { 'updates' => { 'media_types' => [ 'updates' ], + 'requires' => [ 'release' ], }, }, 'media_types' => [ 'infra' ], + 'requires' => [ 'core' ], }, } $std_macros = { |