/[adm]/puppet/modules/buildsystem/templates/upload.conf
ViewVC logotype

Annotation of /puppet/modules/buildsystem/templates/upload.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 668 - (hide annotations) (download)
Thu Jan 6 00:06:30 2011 UTC (13 years, 3 months ago) by misc
File size: 3036 byte(s)
- do not hardcode domain name ( as this complexify deploymement on a separate 
test set of server )

1 blino 430 ###
2     #
3     # Do not disable the host without appropriate warning
4     # to somebody able to fix the machine
5     #
6     # Please run 'perl -cw .upload.conf' in order to check the file is OK.
7     #
8     ###
9    
10 blino 434 my %nodes = (
11     i586 => [ qw(ecosse) ],
12     x86_64 => [ qw(jonund) ],
13     );
14 misc 668 my $repository = "http://repository.<%= domain %>/distrib/";
15 blino 443 my $homedir = "/home/iurt";
16 blino 434
17 blino 430 {
18 blino 434 bot => {
19     (map {
20     my $arch = $_;
21     $arch => {
22     map {
23     my $node = $_;
24     ($node => {
25     iurt => {
26     user => 'iurt',
27 blino 430 # (spuk, 2007-08-16) disabled iurt_cache additional media, locks trying to mount -o bind
28 blino 465 # command => "iurt --copy-srpm --group -v 6 --config local_spool $homedir/iurt/__DIR__ --no_rsync --chrooted-urpmi -m __MEDIA__ -- $repository --additional-media -m __MEDIA__ -- file://$homedir/cache/ -p \"__PACKAGER__\" -r __TARGET__ __ARCH__",
29     command => "iurt --copy_srpm --group -v 6 --config local_spool $homedir/iurt/__DIR__ --no_rsync --chrooted-urpmi -m __MEDIA__ -- $repository -p \"__PACKAGER__\" -r __TARGET__ __ARCH__",
30 blino 445 packages => "$homedir/iurt/",
31 blino 434 },
32     });
33     } @{$nodes{$arch}},
34     };
35     } keys %nodes),
36 blino 430 },
37     media => {
38     default => {
39     "main/release" => [ "main/updates", "main/release" ],
40     "main/updates" => [ "main/updates", "main/release" ],
41     "main/testing" => [ "main/testing", "main/updates", "main/release" ],
42     "main/backports" => [ "main/backports", "main/updates", "main/release" ],
43     "contrib/release" => [ "main/updates", "main/release", "contrib/updates", "contrib/release" ],
44     "contrib/updates" => [ "main/updates", "main/release", "contrib/updates", "contrib/release" ],
45     "contrib/testing" => [ "main/updates", "main/release", "main/testing", "contrib/updates", "contrib/release", "contrib/testing" ],
46     "contrib/backports" => [ "main/backports", "main/updates", "main/release", "contrib/backports", "contrib/updates", "contrib/release" ],
47     # (blino) non-free packages may require contrib packages (gcc3.3-g77 for scilab)
48     "non-free/release" => [ "main/updates", "main/release", "contrib/updates", "contrib/release", "non-free/updates", "non-free/release" ],
49     "non-free/updates" => [ "main/updates", "main/release", "contrib/updates", "contrib/release", "non-free/updates", "non-free/release" ],
50     "non-free/testing" => [ "main/updates", "main/release", "main/testing", "contrib/updates", "contrib/release", "contrib/testing", "non-free/updates", "non-free/release", "non-free/testing" ],
51     "non-free/backports" => [ "main/backports", "main/release", "main/updates", "contrib/backports", "contrib/updates", "contrib/release", "non-free/backports", "non-free/updates", "non-free/release" ],
52     },
53     },
54     admin => 'mageia-sysadm@mageia.org',
55 misc 668 http_queue => 'http://pkgsubmit.<%= domain %>/uploads',
56 blino 468 upload_user => 'schedbot',
57 blino 430 }

  ViewVC Help
Powered by ViewVC 1.1.30