diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000858.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000858.html | 188 |
1 files changed, 188 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000858.html b/zarb-ml/mageia-sysadm/2010-November/000858.html new file mode 100644 index 000000000..a32756f3b --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000858.html @@ -0,0 +1,188 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [430] add iurt upload.conf file for ulri and emi + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B430%5D%20add%20iurt%20upload.conf%20file%20for%20ulri%20and%20emi&In-Reply-To=%3C20101123222427.BE6CB3FCC8%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="000857.html"> + <LINK REL="Next" HREF="000859.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [430] add iurt upload.conf file for ulri and emi</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B430%5D%20add%20iurt%20upload.conf%20file%20for%20ulri%20and%20emi&In-Reply-To=%3C20101123222427.BE6CB3FCC8%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [430] add iurt upload.conf file for ulri and emi">root at mageia.org + </A><BR> + <I>Tue Nov 23 23:24:27 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000857.html">[Mageia-sysadm] [429] move /etc/iurt creation with iurt user (rationale: if there is a iurt user, iurt tools will be used) +</A></li> + <LI>Next message: <A HREF="000859.html">[Mageia-sysadm] [431] emi is more a gatherer than a dispatcher +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#858">[ date ]</a> + <a href="thread.html#858">[ thread ]</a> + <a href="subject.html#858">[ subject ]</a> + <a href="author.html#858">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 430 +Author: blino +Date: 2010-11-23 23:24:27 +0100 (Tue, 23 Nov 2010) +Log Message: +----------- +add iurt upload.conf file for ulri and emi + +Modified Paths: +-------------- + puppet/modules/buildsystem/manifests/init.pp + +Added Paths: +----------- + puppet/modules/buildsystem/templates/upload.conf + +Modified: puppet/modules/buildsystem/manifests/init.pp +=================================================================== +--- puppet/modules/buildsystem/manifests/init.pp 2010-11-23 22:08:58 UTC (rev 429) ++++ puppet/modules/buildsystem/manifests/init.pp 2010-11-23 22:24:27 UTC (rev 430) +@@ -31,6 +31,8 @@ + vhost_file => "buildsystem/vhost_repository.conf", + } + ++ include scheduler ++ include dispatcher + } + + class buildnode inherits base { +@@ -39,11 +41,24 @@ + + class scheduler { + # ulri ++ include iurtupload + } + + class dispatcher { + # emi ++ include iurtupload + } ++ ++ class iurtupload { ++ file { "/etc/iurt/update.conf": ++ ensure => present, ++ owner => $build_login, ++ group => $build_login, ++ mode => 644, ++ require => File["/etc/iurt"], ++ content => template("buildsystem/upload.conf") ++ } ++ } + + class repsys { + package { 'repsys': + +Added: puppet/modules/buildsystem/templates/upload.conf +=================================================================== +--- puppet/modules/buildsystem/templates/upload.conf (rev 0) ++++ puppet/modules/buildsystem/templates/upload.conf 2010-11-23 22:24:27 UTC (rev 430) +@@ -0,0 +1,58 @@ ++### ++# ++# Do not disable the host without appropriate warning ++# to somebody able to fix the machine ++# ++# Please run 'perl -cw .upload.conf' in order to check the file is OK. ++# ++### ++ ++{ ++ bot => { ++ i586 => { ++ map { ++ ($_ => { ++ iurt => { ++ user => 'iurt', ++# (spuk, 2007-08-16) disabled iurt_cache additional media, locks trying to mount -o bind ++# command => 'iurt --copy_srpm --group -v 1 --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> --additional-media -m __MEDIA__ -- <A HREF="file:///home/iurt_cache/">file:///home/iurt_cache/</A> -p \"__PACKAGER__\" -r __TARGET__ __ARCH__', ++ packages => '/home/iurt/iurt/', ++ log => '/home/iurt/iurt/', ++ }, ++ }); ++ } qw(jonund), ++ }, ++ }, ++ media => { ++ default => { ++ "main/release" => [ "main/updates", "main/release" ], ++ "main/updates" => [ "main/updates", "main/release" ], ++ "main/testing" => [ "main/testing", "main/updates", "main/release" ], ++ "main/backports" => [ "main/backports", "main/updates", "main/release" ], ++ "contrib/release" => [ "main/updates", "main/release", "contrib/updates", "contrib/release" ], ++ "contrib/updates" => [ "main/updates", "main/release", "contrib/updates", "contrib/release" ], ++ "contrib/testing" => [ "main/updates", "main/release", "main/testing", "contrib/updates", "contrib/release", "contrib/testing" ], ++ "contrib/backports" => [ "main/backports", "main/updates", "main/release", "contrib/backports", "contrib/updates", "contrib/release" ], ++ # (blino) non-free packages may require contrib packages (gcc3.3-g77 for scilab) ++ "non-free/release" => [ "main/updates", "main/release", "contrib/updates", "contrib/release", "non-free/updates", "non-free/release" ], ++ "non-free/updates" => [ "main/updates", "main/release", "contrib/updates", "contrib/release", "non-free/updates", "non-free/release" ], ++ "non-free/testing" => [ "main/updates", "main/release", "main/testing", "contrib/updates", "contrib/release", "contrib/testing", "non-free/updates", "non-free/release", "non-free/testing" ], ++ "non-free/backports" => [ "main/backports", "main/release", "main/updates", "contrib/backports", "contrib/updates", "contrib/release", "non-free/backports", "non-free/updates", "non-free/release" ], ++ }, ++ }, ++ admin => '<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">mageia-sysadm at mageia.org</A>', ++} +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20101123/8b7e8954/attachment.html> +</PRE> + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000857.html">[Mageia-sysadm] [429] move /etc/iurt creation with iurt user (rationale: if there is a iurt user, iurt tools will be used) +</A></li> + <LI>Next message: <A HREF="000859.html">[Mageia-sysadm] [431] emi is more a gatherer than a dispatcher +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#858">[ date ]</a> + <a href="thread.html#858">[ thread ]</a> + <a href="subject.html#858">[ subject ]</a> + <a href="author.html#858">[ 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> |