How do you call provider parent's prefetch method

asked 2017-01-03 09:03:49 -0600

I have a provider like this Puppet::Type.type(:mytype).provide(:myprovider, :parent => :myparentprovider)

And myparentprovider has implemented self.prefetch(resources) and that is called when i use the myprovider provider. Now I would like to implement it also on myprovider but if do the it is only called on myprovider and not on myparent_provider.

How do make sure that both prefetch methods are called?

edit retag flag offensive close merge delete