Hi,
I have two classes as posted in this gist.
https://gist.github.com/msapariya/eca9f77c9f560f8a0e57kp_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 { should compile }
Puppet::Error:
Error from DataBinding 'hiera' while looking up 'kp_ls::somevar': FileSystem implementation expected Pathname, got: 'Hash' on node
testhost.example.com # ./spec/classes/init_spec.rb:17:in `block (2 levels) in <top (required)>'
If I disable the class parameters, the tests are running fine.
I could not get any clue from code or even googling the issue.
Thanks for any help.
Regards,
Manish