Thanks Nigel I'm slowly digesting this whilst quickly learning my next step of ruby
John On 20 September 2010 01:21, Nigel Kersten <[email protected]> wrote: > On Sun, Sep 19, 2010 at 5:41 AM, John Warburton <[email protected]> > wrote: > > Hi Nigel > > > > On 18 September 2010 01:41, Nigel Kersten <[email protected]> > wrote: > >> > >> On Fri, Sep 17, 2010 at 4:32 AM, John Warburton <[email protected]> > >> 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 > >> > > >> > >> It sounds like you want to subclass the provider yourself so you get > >> that hash/method for free. > >> > > I'm not really sure what that means, which might be my original problem. > > Does this mean editing/changing sun.rb or creating my own mysun.rb and > > somehow inherit sun.rb and all its goodies? > > > > Do you have any pointers where I can up to speed with this sort of thing? > > I mean the latter, inheritance. > > I would probably have a look at the apt* providers and how they > inherit from the dpkg provider? > > > > > > Thanks > > > > John > > > > -- > > 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]<puppet-users%[email protected]> > . > > For more options, visit this group at > > http://groups.google.com/group/puppet-users?hl=en. > > > > -- > 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]<puppet-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- John Warburton Ph: 0417 299 600 Email: [email protected] -- 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.
