aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
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 /deployment
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 'deployment')
-rw-r--r--deployment/mga_buildsystem/manifests/config.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp
index 0a242ee1..3526bf1e 100644
--- a/deployment/mga_buildsystem/manifests/config.pp
+++ b/deployment/mga_buildsystem/manifests/config.pp
@@ -19,6 +19,7 @@ class mga_buildsystem::config {
uploadmail_to => "packages-commits@ml.${::domain}",
}
+ $std_arch = ['i586', 'x86_64']
$std_repos = ['release','updates_testing','backports_testing','backports','updates']
$std_medias = {
'core' => $std_repos,
@@ -32,26 +33,31 @@ class mga_buildsystem::config {
class { 'buildsystem::var::distros':
distros => {
'cauldron' => {
+ 'arch' => $std_arch,
'medias' => $std_medias,
'base_media' => $std_base_media,
},
'1' => {
+ 'arch' => $std_arch,
'medias' => $std_medias,
'base_media' => $std_base_media,
},
'2' => {
+ 'arch' => $std_arch,
'medias' => $std_medias,
'base_media' => $std_base_media,
},
'infra_1' => {
+ 'arch' => $std_arch,
'medias' => $infra_medias,
'base_media' => $std_base_media,
},
'infra_2' => {
+ 'arch' => $std_arch,
'medias' => $infra_medias,
'base_media' => $std_base_media,
},