Use ensure => latest to install the newest version. Use ensure => "version", e.g. ensure => "4-7.2", to install a specific version of a package. See http://reductivelabs.com/trac/puppet/wiki/TypeReference#id374 for details.
-Eric On Fri, 28 Aug 2009, ELTigre wrote: > > I have debian lenny puppet clients who use two repositories of > packages, the main from debian OS, and another with some new deb > files. > > The problem? > > I have two versions of the same package, for example: > collectd-4.4.2 from debian formally repository and > collectd-4-7.2 from the other repository (collectd latest version). > > My question: > > How can I configure, in puppetmaster, the packages resources to > force my puppet clients to use the latest version or any other version > avalilable? > > regards, > Israel > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---