>> Before I go about writing one myself, anyone out there written a >> software inventory module/fact for gathering a list of all installed >> rpms/debs on a system? Got a few ideas floating around in my head, but >> wanted to see if/what other folks have done .. > > you can already do this with: > > puppet resource package > > this will generate a manifests that represents all of the packages installed > on a system.
Let me re-phrase a bit, I'm trying to get a fact setup to collect this information and I can report of my Puppet DB. Was just thinking of doing an auto-increment so it would be something like "package0 => package_name-version" "package1 => package_name-version" etc. Parsing "puppet resource package" will make it easier for writing a single module for rpm/deb .. -- 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.
