aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:59 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:59 +0000
commit03f72e194890b250aa7462ca2b763adc9e4b06ff (patch)
treecf4fbe7bef673774b1c41a3f36d395bf3805e731 /modules/buildsystem/manifests/var
parent255c868d79be6b2725570a70c51ce9e54e9313bd (diff)
downloadpuppet-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 'modules/buildsystem/manifests/var')
-rw-r--r--modules/buildsystem/manifests/var/distros.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/var/distros.pp b/modules/buildsystem/manifests/var/distros.pp
index ddd8ffc1..ae00810a 100644
--- a/modules/buildsystem/manifests/var/distros.pp
+++ b/modules/buildsystem/manifests/var/distros.pp
@@ -44,6 +44,14 @@
# # repository. If you don't want to filter allowed IPs, don't set
# # this value
# 'repo_allow_from' => [ '127.0.0.1', '10.0.0.1', '.mageia.org' ],
+# Optionally, the distribution can be based on the repos from an other
+# distribution. In this example we're saying that the distribution is
+# based on 2/core/release and 2/core/updates.
+# 'based_on' => {
+# '2' => {
+# 'core' => [ 'release', 'updates' ],
+# },
+# },
# },
# }
class buildsystem::var::distros(