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 /modules/buildsystem/manifests/mgarepo.pp | |
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 'modules/buildsystem/manifests/mgarepo.pp')
-rw-r--r-- | modules/buildsystem/manifests/mgarepo.pp | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/modules/buildsystem/manifests/mgarepo.pp b/modules/buildsystem/manifests/mgarepo.pp index 6078ee51..3f9e2f40 100644 --- a/modules/buildsystem/manifests/mgarepo.pp +++ b/modules/buildsystem/manifests/mgarepo.pp @@ -2,6 +2,7 @@ class buildsystem::mgarepo { include buildsystem::var::scheduler include buildsystem::var::groups include buildsystem::var::binrepo + include buildsystem::create_upload_dir $sched_login = $buildsystem::var::scheduler::login $sched_home_dir = $buildsystem::var::scheduler::homedir @@ -32,33 +33,6 @@ class buildsystem::mgarepo { # require => File[$sched_home_dir], #} - #FIXME This config information should be moved out of this class - $releases = { - 'cauldron' => { - 'core' => ['release','updates_testing','backports_testing','backports','updates'], - 'nonfree' => ['release','updates_testing','backports_testing','backports','updates'], - 'tainted' => ['release','updates_testing','backports_testing','backports','updates'], - }, - '1' => { - 'core' => ['release','updates_testing','backports_testing','backports','updates'], - 'nonfree' => ['release','updates_testing','backports_testing','backports','updates'], - 'tainted' => ['release','updates_testing','backports_testing','backports','updates'], - }, - '2' => { - 'core' => ['release','updates_testing','backports_testing','backports','updates'], - 'nonfree' => ['release','updates_testing','backports_testing','backports','updates'], - 'tainted' => ['release','updates_testing','backports_testing','backports','updates'], - }, - 'infra_1' => { - 'infra' => ['release'] - }, - 'infra_2' => { - 'infra' => ['release'] - }, - } - - include buildsystem::create_upload_dir - tidy { "$sched_home_dir/uploads": type => 'ctime', recurse => true, |