aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:07:15 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:07:15 +0000
commit581bd6f082cd82e993b34f2b5d7fa3b3b14b9927 (patch)
tree44be8e49bdd47e7cd2d4768fb89cb48f07f764c1 /modules/buildsystem/manifests/var
parent055358fdd446ad1b852674fb81f7f65c51f72cf0 (diff)
downloadpuppet-581bd6f082cd82e993b34f2b5d7fa3b3b14b9927.tar
puppet-581bd6f082cd82e993b34f2b5d7fa3b3b14b9927.tar.gz
puppet-581bd6f082cd82e993b34f2b5d7fa3b3b14b9927.tar.bz2
puppet-581bd6f082cd82e993b34f2b5d7fa3b3b14b9927.tar.xz
puppet-581bd6f082cd82e993b34f2b5d7fa3b3b14b9927.zip
buildsystem::var::distros: add tmpl_media.cfg
It is now possible to specify a different template file for media.cfg for each distribution, using the 'tmpl_media.cfg' option in the distros variable from buildsystem::Var::distros. If the option is not set, the default template (buildsystem/media.cfg) is used.
Diffstat (limited to 'modules/buildsystem/manifests/var')
-rw-r--r--modules/buildsystem/manifests/var/distros.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/var/distros.pp b/modules/buildsystem/manifests/var/distros.pp
index 79cbb239..5640d6e5 100644
--- a/modules/buildsystem/manifests/var/distros.pp
+++ b/modules/buildsystem/manifests/var/distros.pp
@@ -44,6 +44,9 @@
# },
# # the list of media used by iurt to build the chroots
# 'base_medias' => [ 'core/release' ],
+# # optionally, a media.cfg template file can be specified, if
+# # the default one should not be used
+# 'tmpl_media.cfg' => 'buildsystem/something',
# # branch is Devel or Official. Used in media.cfg.
# 'branch' => 'Devel',
# # Version of the distribution