diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000863.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000863.html | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000863.html b/zarb-ml/mageia-sysadm/2010-November/000863.html new file mode 100644 index 000000000..350e1febe --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000863.html @@ -0,0 +1,144 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [434] simplify nodes declaration + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B434%5D%20simplify%20nodes%20declaration&In-Reply-To=%3C20101123225705.3749A3FCC8%40valstar.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000862.html"> + <LINK REL="Next" HREF="000864.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [434] simplify nodes declaration</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B434%5D%20simplify%20nodes%20declaration&In-Reply-To=%3C20101123225705.3749A3FCC8%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [434] simplify nodes declaration">root at mageia.org + </A><BR> + <I>Tue Nov 23 23:57:05 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000862.html">[Mageia-sysadm] [433] use same iurt command for both i586 and x86_64 +</A></li> + <LI>Next message: <A HREF="000864.html">[Mageia-sysadm] [435] link root keys in the /var/lib/pubkeys ( easier than to change the location of root keys deployed by puppet ) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#863">[ date ]</a> + <a href="thread.html#863">[ thread ]</a> + <a href="subject.html#863">[ subject ]</a> + <a href="author.html#863">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 434 +Author: blino +Date: 2010-11-23 23:57:04 +0100 (Tue, 23 Nov 2010) +Log Message: +----------- +simplify nodes declaration + +Modified Paths: +-------------- + puppet/modules/buildsystem/templates/upload.conf + +Modified: puppet/modules/buildsystem/templates/upload.conf +=================================================================== +--- puppet/modules/buildsystem/templates/upload.conf 2010-11-23 22:51:35 UTC (rev 433) ++++ puppet/modules/buildsystem/templates/upload.conf 2010-11-23 22:57:04 UTC (rev 434) +@@ -7,35 +7,31 @@ + # + ### + ++my %nodes = ( ++ i586 => [ qw(ecosse) ], ++ x86_64 => [ qw(jonund) ], ++); ++ + { +- bot => { +- i586 => { +- map { +- ($_ => { +- iurt => { +- user => 'iurt', ++ bot => { ++ (map { ++ my $arch = $_; ++ $arch => { ++ map { ++ my $node = $_; ++ ($node => { ++ iurt => { ++ user => 'iurt', + # (spuk, 2007-08-16) disabled iurt_cache additional media, locks trying to mount -o bind + # command => 'iurt --iurtlogdir __IURTLOGDIR__ --copy-srpm --group -v 6 --config local_spool /home/iurt/iurt/__DIR__ --no_rsync --chrooted-urpmi -m __MEDIA__ -- <A HREF="http://repository/distrib/">http://repository/distrib/</A> --additional-media -m __MEDIA__ -- <A HREF="file:///home/iurt_cache/">file:///home/iurt_cache/</A> -p \"__PACKAGER__\" -r __TARGET__ __ARCH__', +- command => 'iurt --iurtlogdir __IURTLOGDIR__ --copy_srpm --group -v 6 --config local_spool /home/iurt/iurt/__DIR__ --no_rsync --chrooted-urpmi -m __MEDIA__ -- <A HREF="http://repository/distrib/">http://repository/distrib/</A> -p \"__PACKAGER__\" -r __TARGET__ __ARCH__', +- packages => '/home/iurt/iurt/', +- log => '/home/iurt/iurt/', +- }, +- }); +- } qw(ecosse), +- }, +- +- x86_64 => { +- map { +- ($_ => { +- iurt => { +- user => 'iurt', +- command => 'iurt --iurtlogdir __IURTLOGDIR__ --copy_srpm --group -v 6 --config local_spool /home/iurt/iurt/__DIR__ --no_rsync --chrooted-urpmi -m __MEDIA__ -- <A HREF="http://repository/distrib/">http://repository/distrib/</A> -p \"__PACKAGER__\" -r __TARGET__ __ARCH__', +- packages => '/home/iurt/iurt/', +- log => '/home/iurt/iurt/', +- }, +- }); +- } qw(jonund), +- }, ++ command => 'iurt --iurtlogdir __IURTLOGDIR__ --copy_srpm --group -v 6 --config local_spool /home/iurt/iurt/__DIR__ --no_rsync --chrooted-urpmi -m __MEDIA__ -- <A HREF="http://repository/distrib/">http://repository/distrib/</A> -p \"__PACKAGER__\" -r __TARGET__ __ARCH__', ++ packages => '/home/iurt/iurt/', ++ log => '/home/iurt/iurt/', ++ }, ++ }); ++ } @{$nodes{$arch}}, ++ }; ++ } keys %nodes), + }, + media => { + default => { +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20101123/b8ecddbe/attachment.html> +</PRE> + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000862.html">[Mageia-sysadm] [433] use same iurt command for both i586 and x86_64 +</A></li> + <LI>Next message: <A HREF="000864.html">[Mageia-sysadm] [435] link root keys in the /var/lib/pubkeys ( easier than to change the location of root keys deployed by puppet ) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#863">[ date ]</a> + <a href="thread.html#863">[ thread ]</a> + <a href="subject.html#863">[ subject ]</a> + <a href="author.html#863">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |