diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-July/017462.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-July/017462.html | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-July/017462.html b/zarb-ml/mageia-dev/2012-July/017462.html new file mode 100644 index 000000000..dab4be7f2 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-July/017462.html @@ -0,0 +1,107 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] puppet and the urpmi config + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20puppet%20and%20the%20urpmi%20config&In-Reply-To=%3C20120718171945.GB3708%40virgo.home.nanardon.zarb.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="017461.html"> + <LINK REL="Next" HREF="017451.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] puppet and the urpmi config</H1> + <B>Olivier Thauvin</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20puppet%20and%20the%20urpmi%20config&In-Reply-To=%3C20120718171945.GB3708%40virgo.home.nanardon.zarb.org%3E" + TITLE="[Mageia-dev] puppet and the urpmi config">nanardon at nanardon.zarb.org + </A><BR> + <I>Wed Jul 18 19:19:45 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="017461.html">[Mageia-dev] puppet and the urpmi config +</A></li> + <LI>Next message: <A HREF="017451.html">[Mageia-dev] Tonight's meeting +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#17462">[ date ]</a> + <a href="thread.html#17462">[ thread ]</a> + <a href="subject.html#17462">[ subject ]</a> + <a href="author.html#17462">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>* Guillaume Rousse (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillomovitch at gmail.com</A>) wrote: +><i> Le 18/07/2012 17:39, Olivier Thauvin a écrit : +</I>>><i> * Guillaume Rousse (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillomovitch at gmail.com</A>) wrote: +</I>>>><i> Le 18/07/2012 14:29, Olivier Thauvin a écrit : +</I>>><i> A real solution would be urpmi make a real difference between +</I>>><i> configuration and state data. +</I>>><i> At time it write things in both /etc/urpmi and /var/lib/urpmi, even +</I>>><i> there is no change real change in urpmi.cfg. +</I>><i> Right, but that's outside the scope of your problem. And urpmi.cfg is +</I>><i> the only example of such a scenario. Just imagine managing /etc/passwd, +</I>><i> for instance. +</I> +Indeep for /etc/passwd, but in fact, on RedHat system this is not a +problem since all system users have fixed uidNumber. + +The main difference is all ditributions have an /etc/passwd so puppet +have a standard plugin for it, only Mageia (and others Mandriva base) +have an urpmi.cfg. + +Yum for instance does not have this issue. + +>><i> Such plugin for puppet must be written in ruby, I haven't plan to learn +</I>>><i> ruby right now. +</I>><i> You don't need any plugin to run a grep command, and take a decision +</I>><i> based on its output status. And if there is some code to write, that +</I>><i> would rather be an augeas lense to avoid the need of using grep (I've no +</I>><i> clue about the difficulty, tough). +</I> +Puppet have a Yum plugin for instance. + +I don't have augeas on all servers we have (I have to support Mdv MES 5 to +Mageia cauldron...). + +And finally what you suggest is more or less what I did. Except I did it +for my own need, it has no options (yet). + +-- + +Olivier Thauvin +CNRS - LATMOS +♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: not available +Type: application/pgp-signature +Size: 197 bytes +Desc: not available +URL: </pipermail/mageia-dev/attachments/20120718/4d034f7b/attachment-0001.asc> +</PRE> + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="017461.html">[Mageia-dev] puppet and the urpmi config +</A></li> + <LI>Next message: <A HREF="017451.html">[Mageia-dev] Tonight's meeting +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#17462">[ date ]</a> + <a href="thread.html#17462">[ thread ]</a> + <a href="subject.html#17462">[ subject ]</a> + <a href="author.html#17462">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |