blob: 5c6881b5bbbe19bc16e6aebe50cf9fbcebcb7cea (
plain)
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
|
<!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=%3C20120718153939.GZ3708%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="017457.html">
<LINK REL="Next" HREF="017459.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=%3C20120718153939.GZ3708%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 17:39:39 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="017457.html">[Mageia-dev] puppet and the urpmi config
</A></li>
<LI>Next message: <A HREF="017459.html">[Mageia-dev] puppet and the urpmi config
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17458">[ date ]</a>
<a href="thread.html#17458">[ thread ]</a>
<a href="subject.html#17458">[ subject ]</a>
<a href="author.html#17458">[ 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 14:29, Olivier Thauvin a écrit :
</I>>><i> Ideas and patches welcome.
</I>><i> You shouldn't overwrite any file managed locally, but interact with it
</I>><i> using expected interface. For urpmi, it just requires to check if the
</I>><i> media you are interested in is already present, and otherwise call
</I>><i> urpmi.addmedia for adding it. I don't have any puppet-ready solution for
</I>><i> it, but I don't think that's really difficult to reproduce.
</I>
A real solution would be urpmi make a real difference between
configuration and state data.
At time it write things in both /etc/urpmi and /var/lib/urpmi, even
there is no change real change in urpmi.cfg.
Such plugin for puppet must be written in ruby, I haven't plan to learn
ruby right now.
I will also argue the media name is not enough to ensure the urpmi
config use the right distro on the server I want.
Regards.
--
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/428c997d/attachment.asc>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="017457.html">[Mageia-dev] puppet and the urpmi config
</A></li>
<LI>Next message: <A HREF="017459.html">[Mageia-dev] puppet and the urpmi config
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17458">[ date ]</a>
<a href="thread.html#17458">[ thread ]</a>
<a href="subject.html#17458">[ subject ]</a>
<a href="author.html#17458">[ 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>
|