[Mageia-sysadm] [398] install iurt on main node as well, for scheduler tools

Michael Scherer misc at zarb.org
Mon Dec 6 02:04:36 CET 2010


Le mercredi 01 décembre 2010 à 17:52 +0100, Michael Scherer a écrit :
> Le lundi 22 novembre 2010 à 21:44 +0100, Olivier Blin a écrit :
> > Thierry Vignaud <thierry.vignaud at gmail.com> writes:
> > 
> > > On 22 November 2010 18:02, nicolas vigier <boklm at mars-attacks.org> wrote:
> > >>> > install iurt on main node as well, for scheduler tools
> > >>>
> > >>> Why not making task-bs-cluster-main requires iurt instead?
> > >>
> > >> I'm not sure a virtual package in the repository is the best tool to
> > >> manage the list of packages that needs to be installed on the build
> > >> system.
> > >
> > > Then why are we restoring task-bs-cluster-main?
> > 
> > I think a package is also a good tool to manage package BS deps, we
> > benefit from all the conditional requirements, conflicts, virtual
> > packages, and etc from rpm
> 
> So i digged a little bit for this :
> 
> - conditional requirement -> this can be done in puppet as well ( using
> conditionals ).
> - conflict =>  we can use " ensure => absent" to make sure a package is
> not there
> - virtual packages. 
> Indeed, this is a weak point of puppet, we need to take ( for example )
> architecture and version in account. Yet, i think we can solve it ( even
> if this is not as elegant as letting ) without touching puppet, or maybe
> by patching puppet to be more virtual-name friendly in the future. 
> - etc, I didn't found, but I guess we can add
>   - ability to add a requires a Provides, which would indeed be the same
> as virtual packages. 

Being a little bored while coming back to $HOME tonight, I have found a
solution for theses 2 points, patch send upstream :
https://projects.puppetlabs.com/issues/5456


-- 
Michael Scherer



More information about the Mageia-sysadm mailing list