On Dec 8, 2010, at 11:45 PM, Felix Frank wrote: > On 12/09/2010 05:13 AM, Patrick wrote: >> >> On Dec 8, 2010, at 6:38 PM, Daniel Pittman wrote: >> >>> Sadly, no. I very much missed the feature. We ended up using the apt >>> preferences file to implement that behaviour >>> >>> If I was doing it over I would use a define that added the package >>> resource and also used concat to automatically build up the >>> preferences entry. >>> >>> Regards, Daniel. >>> >> >> That's an interestring idea. >> >> I have one bit of advice about this. Make sure your source file >> requires your preferences file. If you don't, it's possible one day to >> get very unlucky and have only your source file pushed with nasty results. > > Also note that starting with Squeeze, Debian ships a version of apt that > supports an /etc/apt/preferences.d/. This makes pinning various packages > using puppet feasible.
In theory you could cook something up with puppet_concat, but that does make things a lot easier. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
