diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:04:59 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:04:59 +0000 |
commit | b20c4921246411a27afb95369fcf59d756f82434 (patch) | |
tree | 33fdd530a5ba91dc554119f3fce7c26b962ad3cf /deployment | |
parent | b919b72d6572d3ee1d5d7ff77238e2a277d747dd (diff) | |
download | puppet-b20c4921246411a27afb95369fcf59d756f82434.tar puppet-b20c4921246411a27afb95369fcf59d756f82434.tar.gz puppet-b20c4921246411a27afb95369fcf59d756f82434.tar.bz2 puppet-b20c4921246411a27afb95369fcf59d756f82434.tar.xz puppet-b20c4921246411a27afb95369fcf59d756f82434.zip |
Create buildsystem::var::distros
buildsystem::var::distros will be used to store the list of
distributions and their configuration, medias, etc ... The list of
distributions and medias has been removed from buildsystem::mgarepo and
moved to mga_buildsystem::config.
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/mga_buildsystem/manifests/config.pp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp index c6afd765..4311856d 100644 --- a/deployment/mga_buildsystem/manifests/config.pp +++ b/deployment/mga_buildsystem/manifests/config.pp @@ -18,4 +18,38 @@ class mga_buildsystem::config { uploadmail_from => "root@${::domain}", uploadmail_to => "packages-commits@ml.${::domain}", } + + $std_repos = ['release','updates_testing','backports_testing','backports','updates'] + $std_medias = { + 'core' => $std_repos, + 'nonfree' => $std_repos, + 'tainted' => $std_repos, + } + $infra_medias = { + 'infra' => ['release'], + } + class { 'buildsystem::var::distros': + distros => { + 'cauldron' => { + 'medias' => $std_medias, + }, + + '1' => { + 'medias' => $std_medias, + }, + + '2' => { + 'medias' => $std_medias, + }, + + 'infra_1' => { + 'medias' => $infra_medias, + }, + + 'infra_2' => { + 'medias' => $infra_medias, + }, + } + } + } |