On 05/17/2011 09:51 AM, Calum wrote: > On 17 May 2011 13:59, jcbollinger <john.bollin...@stjude.org> wrote: >> You cannot express such a requirement directly in Puppet. You can, >> however, write >> >> ensure => "latest" > > That will update packages that don't "need" to be updated though - > i.e. ones that are newer than 1.7.1 but not at the latest. > >> package { "sudo-min-version": >> ensure => "1.7.1" >> } > > That is probably the way we'll go for it. > > Many thanks for the idea. > > Calum >
On Gentoo we would handle this by putting a mask in place to mask versions < 1.7.1, then just ensure => installed on the package. -Doug
signature.asc
Description: OpenPGP digital signature