diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:05:59 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:05:59 +0000 |
commit | 03f72e194890b250aa7462ca2b763adc9e4b06ff (patch) | |
tree | cf4fbe7bef673774b1c41a3f36d395bf3805e731 /deployment/mga_buildsystem/manifests | |
parent | 255c868d79be6b2725570a70c51ce9e54e9313bd (diff) | |
download | puppet-03f72e194890b250aa7462ca2b763adc9e4b06ff.tar puppet-03f72e194890b250aa7462ca2b763adc9e4b06ff.tar.gz puppet-03f72e194890b250aa7462ca2b763adc9e4b06ff.tar.bz2 puppet-03f72e194890b250aa7462ca2b763adc9e4b06ff.tar.xz puppet-03f72e194890b250aa7462ca2b763adc9e4b06ff.zip |
buildsystem: add option to base a distribution on an other
It is now possible to add the option 'based_on' to a distribution
defined in buildystem::var::distros. This is useful for distributions
like infra_1 or infra_2 which provide a new repository for an existing
distribution. When repositories from an other distribution are defined
in 'based_on', the repositories are linked with a symbolic link, and
defined in media.cfg.
Diffstat (limited to 'deployment/mga_buildsystem/manifests')
-rw-r--r-- | deployment/mga_buildsystem/manifests/config.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp index a9b82b2a..e473981f 100644 --- a/deployment/mga_buildsystem/manifests/config.pp +++ b/deployment/mga_buildsystem/manifests/config.pp @@ -143,6 +143,11 @@ class mga_buildsystem::config { 'version' => '1', 'submit_allowed' => $svn_root_packages, 'macros' => $std_macros, + 'based_on' => { + '1' => { + 'core' => [ 'release', 'updates' ], + }, + }, }, 'infra_2' => { @@ -153,6 +158,11 @@ class mga_buildsystem::config { 'version' => '2', 'submit_allowed' => $svn_root_packages, 'macros' => $std_macros, + 'based_on' => { + '2' => { + 'core' => [ 'release', 'updates' ], + }, + }, }, } } |