1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
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>
|