Re: [Puppet Users] Rake tests for hiera

2013-03-28 Thread Nikola Petrov
This seems like a good idea and something I should look at. The problem is that there are third party modules which use hiera and I should redefine parameters and pass them along in my classes. But it this is indeed doable ;) -- Nikola On Thu, Mar 28, 2013 at 04:36:55PM +, Wolf Noble wrote

Re: [Puppet Users] Rake tests for hiera

2013-03-28 Thread Wolf Noble
What we've been doing here is trying to make all our hiera calls as class parameter default values. This allows us to set param values in the unit tests, thus bypassing hiera. This has required some refactoring, but it has the advantage of being a simpler test collection to implement. Does thi

Re: [Puppet Users] Rake tests for hiera

2013-03-27 Thread Nikola Petrov
+1 Last time I tried writing tests, I just gave up because we started using hiera -- Nikola On Fri, Mar 22, 2013 at 06:26:09PM +0100, Maarten Thibaut (mthibaut) wrote: > Hi, > > I'm having a hard time figuring out how to make rake spec tests work > correctly with hiera and puppet 3. Should I

[Puppet Users] Rake tests for hiera

2013-03-22 Thread Maarten Thibaut (mthibaut)
Hi, I'm having a hard time figuring out how to make rake spec tests work correctly with hiera and puppet 3. Should I just give up for now until the various gems work with puppet 3? -- maarten -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. T