Re: [Puppet Users] Re: rspec-puppet: function stubs

2014-01-05 Thread Johan De Wit
I think the best place to look for examples is the puppet code itself. I haven't used stubbing that much myself, but this will be coming very soon. I'm trying to write an dynamic openldap type starting from the rspec file. I documented a bit on every step i did, and tagged the git repo every

[Puppet Users] Re: rspec-puppet: function stubs

2014-01-03 Thread Tehmasp Chaudhri
I'm looking to do this as well. Did you ever have any luck? On Friday, July 27, 2012 8:44:08 AM UTC-6, James Stremick wrote: I'm looking for a way to stub a parser function within rspec-puppet. This function returns data based on a database query and I'd rather not have to populate dummy