Re: [Puppet Users] Re: Dynamic yum.conf 'exclude' line

2013-01-28 Thread Aaron Grewell
Take a look at the yum versionlock plugin. It allows you to lock a particular package at a given version for situations like this. We use the following define to manage our locked packages. If I were writing it today I'd probably use file_line, but it's worked well for us so I've had more import

Re: [Puppet Users] Re: Dynamic yum.conf 'exclude' line

2013-01-28 Thread jcbollinger
On Friday, January 25, 2013 4:05:37 PM UTC-6, Gonzalo wrote: > > > On Sat, Jan 26, 2013 at 1:38 AM, jcbollinger > > > wrote: > >> >> Puppet's architecture does not lend itself to constructing values >> iteratively, and what Hiera brings to the table in that area does not apply >> to the scena

Re: [Puppet Users] Re: Dynamic yum.conf 'exclude' line

2013-01-25 Thread Gonzalo Servat
On Sat, Jan 26, 2013 at 1:38 AM, jcbollinger wrote: > > Puppet's architecture does not lend itself to constructing values > iteratively, and what Hiera brings to the table in that area does not apply > to the scenario you describe. There are a couple of ways you might be able > to work around Pup

[Puppet Users] Re: Dynamic yum.conf 'exclude' line

2013-01-25 Thread jcbollinger
On Thursday, January 24, 2013 6:01:46 PM UTC-6, Gonzalo wrote: > > Hi All, > > I have finally switched to using hiera (worthy goal!) and I am looking for > a flexible way to manage the 'exclude' line in /etc/yum.conf. > > I want to be able to specify from different classes RPMs to be excluded in