[Mageia-sysadm] Patch for fiona node config
Michael Scherer
misc at zarb.org
Thu Jul 21 13:04:55 CEST 2011
Le jeudi 21 juillet 2011 à 12:08 +0200, Sébastien Kurtzemann a écrit :
> 2011/7/21 Michael Scherer <misc at zarb.org>:
> > Le jeudi 21 juillet 2011 à 09:52 +0200, Sébastien Kurtzemann a écrit :
> >> 2011/7/21 Michael Scherer <misc at zarb.org>:
> >> > Le mercredi 20 juillet 2011 à 22:32 +0200, Sébastien Kurtzemann a
> >
> >> >> * modules/ntp/manifests/init.pp
> >> >> * modules/puppet/manifests/init.pp
> >> >> -> remove $path parameter and add the complet path in $name of the
> >> >> file ressource
> >> >
> >> > I am a little bit annoyed by this one. I prefer to have shorter name for
> >> > File, etc, when they are referenced elsewhere, but on the other hand :
> >> > - this is inconsistant,
> >> > - this is just my personal preference, and the word does not revolve
> >> > around me :)
> >> >
> >> Ok no problem :)
> >>
> >> One other question, I haven't seen in puppet any reference to
> >> /etc/urpmi/urpmi.cfg.
> >> This file will be add manually on each server before deploy the puppet client ?
> >
> > Yes.
> > I was trying to write a proper provider for it, but never finished the
> > job, it should be lying somewhere in my harddrive.
> >
> Okay.
> If you find the provider you made or send me the mirror's list to put
> into urpmi.cfg I can look for writing a module.
> As you want...
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>
More information about the Mageia-sysadm
mailing list