aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:06:21 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:06:21 +0000
commit3c7f02d481edc662ee490525cff939074ff36b38 (patch)
treefb761385c60831790dd1201805acec54b74c2687 /modules/buildsystem/manifests/var
parent54480006e000fc8cf0d44df2c0f48eb5909db77b (diff)
downloadpuppet-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 'modules/buildsystem/manifests/var')
-rw-r--r--modules/buildsystem/manifests/var/distros.pp16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/var/distros.pp b/modules/buildsystem/manifests/var/distros.pp
index ae00810a..7aed19ac 100644
--- a/modules/buildsystem/manifests/var/distros.pp
+++ b/modules/buildsystem/manifests/var/distros.pp
@@ -18,6 +18,13 @@
# 'media_types' => [ 'release' ],
# 'noauto' => '1',
# },
+# # the 'updates' repo
+# 'release' => {
+# 'media_types' => [ 'updates' ],
+# 'noauto' => '1',
+# # the 'updates' repo requires the 'release' repo
+# 'requires' => [ 'release' ],
+# },
# },
# # media_types for media.cfg
# 'media_types' => [ 'official', 'free' ],
@@ -25,6 +32,15 @@
# # the option will be added to media.cfg
# 'noauto' => '1',
# },
+# # the 'non-free' media
+# 'non-free' => {
+# 'repos' => {
+# ...
+# },
+# 'media_types' => [ 'official', 'non-free' ],
+# # the 'non-free' media requires the 'core' media
+# 'requires' => [ 'core' ],
+# }
# },
# # the list of media used by iurt to build the chroots
# 'base_medias' => [ 'core/release' ],