Thanks Nigel

I'm slowly digesting this whilst quickly learning my next step of ruby

John

On 20 September 2010 01:21, Nigel Kersten <ni...@explanatorygap.net> wrote:

>  On Sun, Sep 19, 2010 at 5:41 AM, John Warburton <jwarbur...@gmail.com>
> wrote:
> > Hi Nigel
> >
> > On 18 September 2010 01:41, Nigel Kersten <ni...@explanatorygap.net>
> wrote:
> >>
> >> On Fri, Sep 17, 2010 at 4:32 AM, John Warburton <jwarbur...@gmail.com>
> >> 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 puppet-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
> .
> > 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 puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>


-- 
John Warburton
Ph: 0417 299 600
Email: jwarbur...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to