Proper way to use hiera with puppetlabs-spec-helper?
- by Lee Lowder
I am trying to write some rspec tests for my modules. Most of them now use hiera.
I have a .fixures.yml:
fixtures:
repositories:
stdlib: https://github.com/puppetlabs/puppetlabs-stdlib.git
hiera-puppet: https://github.com/puppetlabs/hiera-puppet.git
symlinks:
mongodb: "#{source_dir}"
and a spec/classes/mongodb_spec.rb:
…