Re: [Puppet Users] puppet rspec with hiera helper, fails with error when class is parameterized

2014-09-02 Thread Manish Sapariya
Thanks Martin, I completely missed that. Also, just for record, I was using hiera-puppet-herlper version 1. When I build version 2 gem from github, it worked alright. Regards, Manish On Sunday, August 31, 2014 4:27:25 PM UTC+5:30, Martin Alfke wrote: Hi Manish, On 29.08.2014, at 14:07,

Re: [Puppet Users] puppet rspec with hiera helper, fails with error when class is parameterized

2014-08-31 Thread Martin Alfke
Hi Manish, On 29.08.2014, at 14:07, Manish Sapariya msapar...@gmail.com wrote: Hi, I have two classes as posted in this gist. https://gist.github.com/msapariya/eca9f77c9f560f8a0e57 kp_ls derives from params and defines two variables. I am using hiera-puppet-helper in my specs to run

[Puppet Users] puppet rspec with hiera helper, fails with error when class is parameterized

2014-08-29 Thread Manish Sapariya
Hi, I have two classes as posted in this gist. https://gist.github.com/msapariya/eca9f77c9f560f8a0e57 kp_ls derives from params and defines two variables. I am using hiera-puppet-helper in my specs to run hiera related tests. However the test is failing with 1) kp_ls Failure/Error: it