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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] Patch for fiona node config
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Patch%20for%20fiona%20node%20config&In-Reply-To=%3C1311246296.6636.196.camel%40akroma.ephaone.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="003779.html">
<LINK REL="Next" HREF="003777.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] Patch for fiona node config</H1>
<B>Michael Scherer</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Patch%20for%20fiona%20node%20config&In-Reply-To=%3C1311246296.6636.196.camel%40akroma.ephaone.org%3E"
TITLE="[Mageia-sysadm] Patch for fiona node config">misc at zarb.org
</A><BR>
<I>Thu Jul 21 13:04:55 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="003779.html">[Mageia-sysadm] Patch for fiona node config
</A></li>
<LI>Next message: <A HREF="003777.html">[Mageia-sysadm] Cron patch for mirror module
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3780">[ date ]</a>
<a href="thread.html#3780">[ thread ]</a>
<a href="subject.html#3780">[ subject ]</a>
<a href="author.html#3780">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le jeudi 21 juillet 2011 à 12:08 +0200, Sébastien Kurtzemann a écrit :
><i> 2011/7/21 Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>>:
</I>><i> > Le jeudi 21 juillet 2011 à 09:52 +0200, Sébastien Kurtzemann a écrit :
</I>><i> >> 2011/7/21 Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>>:
</I>><i> >> > Le mercredi 20 juillet 2011 à 22:32 +0200, Sébastien Kurtzemann a
</I>><i> >
</I>><i> >> >> * modules/ntp/manifests/init.pp
</I>><i> >> >> * modules/puppet/manifests/init.pp
</I>><i> >> >> -> remove $path parameter and add the complet path in $name of the
</I>><i> >> >> file ressource
</I>><i> >> >
</I>><i> >> > I am a little bit annoyed by this one. I prefer to have shorter name for
</I>><i> >> > File, etc, when they are referenced elsewhere, but on the other hand :
</I>><i> >> > - this is inconsistant,
</I>><i> >> > - this is just my personal preference, and the word does not revolve
</I>><i> >> > around me :)
</I>><i> >> >
</I>><i> >> Ok no problem :)
</I>><i> >>
</I>><i> >> One other question, I haven't seen in puppet any reference to
</I>><i> >> /etc/urpmi/urpmi.cfg.
</I>><i> >> This file will be add manually on each server before deploy the puppet client ?
</I>><i> >
</I>><i> > Yes.
</I>><i> > I was trying to write a proper provider for it, but never finished the
</I>><i> > job, it should be lying somewhere in my harddrive.
</I>><i> >
</I>><i> Okay.
</I>><i> If you find the provider you made or send me the mirror's list to put
</I>><i> into urpmi.cfg I can look for writing a module.
</I>><i> As you want...
</I>
Here is my prototype of code.
In fact, it may be easier to use /etc/urpmi/mediacfg.d/ but I didn't
look this possibility yet.
--
Michael Scherer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urpmi_managed.rb
Type: application/x-ruby
Size: 1363 bytes
Desc: not available
URL: </pipermail/mageia-sysadm/attachments/20110721/271a32a4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mandriva_repository.rb
Type: application/x-ruby
Size: 497 bytes
Desc: not available
URL: </pipermail/mageia-sysadm/attachments/20110721/271a32a4/attachment-0001.bin>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="003779.html">[Mageia-sysadm] Patch for fiona node config
</A></li>
<LI>Next message: <A HREF="003777.html">[Mageia-sysadm] Cron patch for mirror module
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3780">[ date ]</a>
<a href="thread.html#3780">[ thread ]</a>
<a href="subject.html#3780">[ subject ]</a>
<a href="author.html#3780">[ 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>
|