On Thu, Oct 27, 2011 at 11:44 AM, <no-re...@cfengine.com> wrote: > Forum: CFEngine Help > Subject: 0000848: upgrade packages to latest available version with yum > Author: svenXY > Link to topic: https://cfengine.com/forum/read.php?3,23809,23809#msg-23809 > > Hi, > > puppet supports a method "ensure => latest" which takes care of always > installing the latest available version of a package. > > I believe this is a very important feature of automated system configuration, > at least in the light of security updates or staging environments. > > The current yum package method and its decendants require a version to be > specified explicitely which does not at all scale with large environments. > > Would it be possible to add this feature to cfengine? > > I've seen a couple of Forum threads where people try to work around this > missing feature, most of them without satisfying results. > > Thanks in advance, > Sven > > The feature request is here: https://cfengine.com/bugtracker/view.php?id=848
I may not understand the issue you are having, but if you just install the package using a package promise, it should get the latest from the repositories *if* the system repository info is up to date. So just ensuring that this info is the latest will solve your problem. -- natxo _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine