diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-March/003124.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-March/003124.html | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-March/003124.html b/zarb-ml/mageia-sysadm/2011-March/003124.html new file mode 100644 index 000000000..c7c06ccec --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-March/003124.html @@ -0,0 +1,139 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] Youri Check + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Youri%20Check&In-Reply-To=%3CAANLkTi%3D%3D%2BxXKD0Wt2DFgXcHndJXKNQYhq7w36wYJDshu%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="003123.html"> + <LINK REL="Next" HREF="003127.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] Youri Check</H1> + <B>Pascal Terjan</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Youri%20Check&In-Reply-To=%3CAANLkTi%3D%3D%2BxXKD0Wt2DFgXcHndJXKNQYhq7w36wYJDshu%40mail.gmail.com%3E" + TITLE="[Mageia-sysadm] Youri Check">pterjan at gmail.com + </A><BR> + <I>Wed Mar 16 00:05:31 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003123.html">[Mageia-sysadm] Youri Check +</A></li> + <LI>Next message: <A HREF="003127.html">[Mageia-sysadm] pkg removal: perl-Dist-Zilla-PluginBundle-OLIVER +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3124">[ date ]</a> + <a href="thread.html#3124">[ thread ]</a> + <a href="subject.html#3124">[ subject ]</a> + <a href="author.html#3124">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Tue, Mar 15, 2011 at 22:57, Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>> wrote: +><i> Le mardi 15 mars 2011 à 22:29 +0000, Pascal Terjan a écrit : +</I>>><i> I started running youri-check on rabbit and created an initial +</I>>><i> (untested) puppet module +</I>>><i> I attached the patch and welcome any comments +</I>><i> +</I>><i> The module look good, I just have some questions. +</I>><i> +</I>><i> Index: modules/youri-check/manifests/init.pp +</I>><i> =================================================================== +</I>><i> --- modules/youri-check/manifests/init.pp       (revision 0) +</I>><i> +++ modules/youri-check/manifests/init.pp       (revision 0) +</I>><i> @@ -0,0 +1,30 @@ +</I>><i> +class youri_check { +</I>><i> +</I>><i> I think the class should be called youri-check, or the file in +</I>><i> youri_check ( iirc, not sure if this is a problem ). +</I>><i> +</I>><i> +    $user = 'youri' +</I>><i> +    $home = '/var/tmp/youri' +</I>><i> +    $outdir = "$home/www" +</I>><i> +    $config = "$home/check.conf" +</I>><i> +</I>><i> Why not in /etc ? +</I> +I did not want replace the sample one with this one as +- we may want to have several ones later (like one for tests on stable +that run less often) +- people running the command would then use this one which will not +work for them as it lists an output dir and no longer have the sample +one to copy + +But actually it can still be in /etc/youri with a different name + +><i> Index: modules/youri-check/templates/check.conf +</I>><i> =================================================================== +</I>><i> --- modules/youri-check/templates/check.conf    (revision 0) +</I>><i> +++ modules/youri-check/templates/check.conf    (revision 0) +</I>><i> @@ -0,0 +1,85 @@ +</I>><i> +# vim:ft=yaml:et:sw=4 +</I>><i> + +</I>><i> +# helper variables +</I>><i> +mirror: /distrib/mageia/distrib/cauldron +</I>><i> +mirror_i586: ${mirror}/i586/media +</I>><i> +mirror_x86_64: ${mirror}/x86_64/media +</I>><i> + +</I>><i> +# resultset definition +</I>><i> +resultset: +</I>><i> +    class: Youri::Check::Resultset::DBI +</I>><i> +    options: +</I>><i> +        driver: SQLite +</I>><i> +        host: localhost +</I>><i> +        base: youri.db +</I>><i> +</I>><i> Where will it be exactly  ? in $HOME ? +</I> +In the place from where the corn is run, so yes + +><i> +# media definitions +</I>><i> +medias: +</I>><i> +    core.i586: +</I>><i> +        class: Youri::Media::URPM +</I>><i> +        options: +</I>><i> +            name: core +</I>><i> +            type: binary +</I>><i> +            path: ${mirror_i586}/core +</I>><i> +            hdlist: ${mirror_i586}/media_info/hdlist_core.cz +</I>><i> +            options: +</I>><i> +                dependencies: +</I>><i> +                    allowed: +</I>><i> +                        - core.i586 +</I>><i> +                missing: +</I>><i> +                    allowed: +</I>><i> +                        - core.sources +</I>><i> +</I>><i> I guess the other directory will be added later ? +</I> +Yeah it is annoying stuff easy to add when things work +</PRE> + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003123.html">[Mageia-sysadm] Youri Check +</A></li> + <LI>Next message: <A HREF="003127.html">[Mageia-sysadm] pkg removal: perl-Dist-Zilla-PluginBundle-OLIVER +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3124">[ date ]</a> + <a href="thread.html#3124">[ thread ]</a> + <a href="subject.html#3124">[ subject ]</a> + <a href="author.html#3124">[ 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> |