aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:28 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:28 +0000
commit98fa28e23cbd8ac75e428b1bee6b89cdbbe0d5bf (patch)
tree0aa24b1f9c790ad0e484f9cb52176623011e51b3 /modules/buildsystem/manifests/var
parent64099eaa3dd3b6d42f30355f4ae11abdbe1e280f (diff)
downloadpuppet-98fa28e23cbd8ac75e428b1bee6b89cdbbe0d5bf.tar
puppet-98fa28e23cbd8ac75e428b1bee6b89cdbbe0d5bf.tar.gz
puppet-98fa28e23cbd8ac75e428b1bee6b89cdbbe0d5bf.tar.bz2
puppet-98fa28e23cbd8ac75e428b1bee6b89cdbbe0d5bf.tar.xz
puppet-98fa28e23cbd8ac75e428b1bee6b89cdbbe0d5bf.zip
buildsystem: use common media.cfg template for all distros
The media.cfg file is now generated for all distributions now (it was only done for cauldron before). The media.cfg file is generated using the infos about the distributions and medias from the $distro parameter in buildsystem::var::distros.
Diffstat (limited to 'modules/buildsystem/manifests/var')
-rw-r--r--modules/buildsystem/manifests/var/distros.pp14
1 files changed, 13 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/var/distros.pp b/modules/buildsystem/manifests/var/distros.pp
index d06e31c9..a0c8aafd 100644
--- a/modules/buildsystem/manifests/var/distros.pp
+++ b/modules/buildsystem/manifests/var/distros.pp
@@ -12,12 +12,24 @@
# 'core' => {
# 'repos' => {
# # the 'release' repo in the 'core' media
-# 'release' => {},
+# 'release' => {
+# 'media_types' => [ 'release' ],
+# 'noauto' => '1',
+# },
# },
+# # media_types for media.cfg
+# 'media_types' => [ 'official', 'free' ],
+# # if noauto is set to '1' either in medias or repos,
+# # the option will be added to media.cfg
+# 'noauto' => '1',
# },
# },
# # the list of media used by iurt to build the chroots
# 'base_medias' => [ 'core/release' ],
+# # branch is Devel or Official. Used in media.cfg.
+# 'branch' => 'Devel',
+# # Version of the distribution
+# 'version' => '3',
# },
# }
class buildsystem::var::distros(