aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/iurt.conf
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:20 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:20 +0000
commitf354bdaf4612d737a5243b9cc93f0fe9e6fc492c (patch)
tree72b1a46d7aab30724fdb25d40a2e209cbd012ac8 /modules/buildsystem/templates/iurt.conf
parent6d476b74ea5bae95c4a106d2b2df9a48aa9c5eec (diff)
downloadpuppet-f354bdaf4612d737a5243b9cc93f0fe9e6fc492c.tar
puppet-f354bdaf4612d737a5243b9cc93f0fe9e6fc492c.tar.gz
puppet-f354bdaf4612d737a5243b9cc93f0fe9e6fc492c.tar.bz2
puppet-f354bdaf4612d737a5243b9cc93f0fe9e6fc492c.tar.xz
puppet-f354bdaf4612d737a5243b9cc93f0fe9e6fc492c.zip
buildsystem::var::distros: Add option to select arch
Add an option to select supported arch of a distribution.
Diffstat (limited to 'modules/buildsystem/templates/iurt.conf')
-rw-r--r--modules/buildsystem/templates/iurt.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/buildsystem/templates/iurt.conf b/modules/buildsystem/templates/iurt.conf
index 3b71bb49..8536d89f 100644
--- a/modules/buildsystem/templates/iurt.conf
+++ b/modules/buildsystem/templates/iurt.conf
@@ -1,6 +1,6 @@
<%- distro = scope.lookupvar('buildsystem::var::distros::distros')[@distribution] -%>
{
- supported_arch => [ 'i586', 'x86_64' ],
+ supported_arch => [ '<%= distro['arch'].join("', '") %>' ],
all_media =>{
<%- distro['medias'].each{|media, repos| -%>
'<%= media %>' => [ '<%= repos.join("', '") %>' ],