Re: [Puppet Users] Re: rspec testing a custom puppet provider that has a parent

2018-03-23 Thread David Schmitt
On Thu, Mar 22, 2018 at 1:38 PM Bill Sirinek wrote: > My *type *file calls Puppet::Type.newtype() as you suggest, but the code > snippet you were referring to was for my *provider*, so I think > Puppet::Type.type(:myapp_config).provide > > is correct here. The type/provider itself actually works.

[Puppet Users] Re: rspec testing a custom puppet provider that has a parent

2018-03-22 Thread Bill Sirinek
My *type *file calls Puppet::Type.newtype() as you suggest, but the code snippet you were referring to was for my *provider*, so I think Puppet::Type.type(:myapp_config).provide is correct here. The type/provider itself actually works. I have verified that by actually using the module. I am in