On 08/27/2014 10:53 PM, Matthew Haughton wrote:
> I worked it out - here's the solution for anyone who might stumble
> across this:
>
> In |spec/spec_helper.rb|:
>
> require
> 'fixtures/modules/module_data/lib/hiera/backend/module_data_backend.rb'
> RSpec.configure do |c|
> c.hiera_config = File.join('spec', 'fixtures', 'hiera', 'hiera.yaml')
> end
>
>
> In |spec/fixtures/hiera/hiera.yaml|:
>
> ---
> :backends:
> - module_data
That's really useful advice. Thanks for sharing!
Cheers,
Felix
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/53FEE58D.6050105%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.