>> 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 ..
>
> We've written some custom facts
On Wed, Sep 21, 2011 at 9:45 AM, Glenn Bailey
wrote:
> Howdy,
>
> 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
On Wed, Sep 21, 2011 at 7:45 PM, Glenn Bailey
wrote:
> Howdy,
>
> 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
- Original Message -
> its also pretty easy to programatically access the information, which
> could make parsing it easier:
>
> >require 'puppet'
> >Puppet::Type.type(:package).instances
the puppetral mcollective agent does something similar in a generic fashion
so you can just query t
its also pretty easy to programatically access the information, which could
make parsing it easier:
>require 'puppet'
>Puppet::Type.type(:package).instances
On Wed, Sep 21, 2011 at 10:53 AM, Glenn Bailey
wrote:
> >> Before I go about writing one myself, anyone out there written a
> >> software i
>> 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:
>
Well, puppet does include a native facility for doing this... try running
and see if the output meets your needs:
"puppet resource package"
I guess the question before extending this to a module, is what exactly do
you want to do with the data?
-Brian
On Wed, Sep 21, 2011 at 12:45 PM, Glenn Bail
On Wed, Sep 21, 2011 at 9:45 AM, Glenn Bailey wrote:
> Howdy,
>
> 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