Re: [Puppet Users] Can I access data structure internal to providers

2010-09-20 Thread John Warburton
Thanks Nigel I'm slowly digesting this whilst quickly learning my next step of ruby John On 20 September 2010 01:21, Nigel Kersten wrote: > On Sun, Sep 19, 2010 at 5:41 AM, John Warburton > wrote: > > Hi Nigel > > > > On 18 September 2010 01:41, Nigel Kersten > wrote: > >> > >> On Fri, Sep

Re: [Puppet Users] Can I access data structure internal to providers

2010-09-19 Thread Nigel Kersten
On Sun, Sep 19, 2010 at 5:41 AM, John Warburton wrote: > Hi Nigel > > On 18 September 2010 01:41, Nigel Kersten wrote: >> >> On Fri, Sep 17, 2010 at 4:32 AM, John Warburton >> wrote: >> > Hi >> > >> > I would like to be able to access the hash "info2hash" in >> > lib/puppet/provider/package/sun.

Re: [Puppet Users] Can I access data structure internal to providers

2010-09-19 Thread John Warburton
Hi Nigel On 18 September 2010 01:41, Nigel Kersten wrote: > On Fri, Sep 17, 2010 at 4:32 AM, John Warburton > wrote: > > Hi > > > > I would like to be able to access the hash "info2hash" in > > lib/puppet/provider/package/sun.rb which is a list of all Solaris > packages > > on a Sun server > >

Re: [Puppet Users] Can I access data structure internal to providers

2010-09-17 Thread Nigel Kersten
On Fri, Sep 17, 2010 at 4:32 AM, John Warburton wrote: > Hi > > I would like to be able to access the hash "info2hash" in > lib/puppet/provider/package/sun.rb which is a list of all Solaris packages > on a Sun server > > Is it possible to query this so that I don't have to run "pkginfo -l" > mysel