diff options
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, |