On 01/24/2011 02:07 PM, Jonathan Gazeley wrote: > Hi all, > > Is there a way to use the Package type to find the version number of an > installed RPM? > > I've consulted this page [1] and I can't see any documentation there > that says this might be possible. > > I want to simply query my package manager and ask which version of a > package is installed. I do not necessarily wish to ensure it is > upgraded, etc. > > I know it's possible to do this with an exec call to rpm or yum, but I > want to do it "properly" :) > > [1] http://docs.puppetlabs.com/guides/types/package.html
Define "properly" :-) What is puppet supposed to do with this piece of information? Log it somewhere? Regards, Felix -- 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.