summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-July/017461.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-July/017461.html')
-rw-r--r--zarb-ml/mageia-dev/2012-July/017461.html93
1 files changed, 93 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-July/017461.html b/zarb-ml/mageia-dev/2012-July/017461.html
new file mode 100644
index 000000000..9b8cfce7f
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-July/017461.html
@@ -0,0 +1,93 @@
+<!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=%3C5006E580.1070107%40gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="017459.html">
+ <LINK REL="Next" HREF="017462.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] puppet and the urpmi config</H1>
+ <B>Guillaume Rousse</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20puppet%20and%20the%20urpmi%20config&In-Reply-To=%3C5006E580.1070107%40gmail.com%3E"
+ TITLE="[Mageia-dev] puppet and the urpmi config">guillomovitch at gmail.com
+ </A><BR>
+ <I>Wed Jul 18 18:34:08 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="017459.html">[Mageia-dev] puppet and the urpmi config
+</A></li>
+ <LI>Next message: <A HREF="017462.html">[Mageia-dev] puppet and the urpmi config
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17461">[ date ]</a>
+ <a href="thread.html#17461">[ thread ]</a>
+ <a href="subject.html#17461">[ subject ]</a>
+ <a href="author.html#17461">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Le 18/07/2012 17:39, Olivier Thauvin a &#233;crit :
+&gt;<i> * Guillaume Rousse (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillomovitch at gmail.com</A>) wrote:
+</I>&gt;&gt;<i> Le 18/07/2012 14:29, Olivier Thauvin a &#233;crit :
+</I>&gt;&gt;&gt;<i> Ideas and patches welcome.
+</I>&gt;&gt;<i> You shouldn't overwrite any file managed locally, but interact with it
+</I>&gt;&gt;<i> using expected interface. For urpmi, it just requires to check if the
+</I>&gt;&gt;<i> media you are interested in is already present, and otherwise call
+</I>&gt;&gt;<i> urpmi.addmedia for adding it. I don't have any puppet-ready solution for
+</I>&gt;&gt;<i> it, but I don't think that's really difficult to reproduce.
+</I>&gt;<i>
+</I>&gt;<i> A real solution would be urpmi make a real difference between
+</I>&gt;<i> configuration and state data.
+</I>&gt;<i> At time it write things in both /etc/urpmi and /var/lib/urpmi, even
+</I>&gt;<i> there is no change real change in urpmi.cfg.
+</I>Right, but that's outside the scope of your problem. And urpmi.cfg is
+the only example of such a scenario. Just imagine managing /etc/passwd,
+for instance.
+
+&gt;<i> Such plugin for puppet must be written in ruby, I haven't plan to learn
+</I>&gt;<i> ruby right now.
+</I>You don't need any plugin to run a grep command, and take a decision
+based on its output status. And if there is some code to write, that
+would rather be an augeas lense to avoid the need of using grep (I've no
+clue about the difficulty, tough).
+
+&gt;<i> I will also argue the media name is not enough to ensure the urpmi
+</I>&gt;<i> config use the right distro on the server I want.
+</I>Indeed. You need to grep for more than the media name, then.
+
+--
+BOFH excuse #321:
+
+Scheduled global CPU outage
+</PRE>
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="017459.html">[Mageia-dev] puppet and the urpmi config
+</A></li>
+ <LI>Next message: <A HREF="017462.html">[Mageia-dev] puppet and the urpmi config
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17461">[ date ]</a>
+ <a href="thread.html#17461">[ thread ]</a>
+ <a href="subject.html#17461">[ subject ]</a>
+ <a href="author.html#17461">[ 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>