Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

correcting final code sample

  • Loading branch information...
commit 17ac62a86e1e4dc822cd641167185065b4daf297 1 parent 46630bd
@haf haf authored committed
Showing with 0 additions and 1 deletion.
  1. +0 −1 
1 
@@ -106,7 +106,6 @@ demonstrates the use of a shared context.
- require 'rspec-hiera'

Removing this gives me an error

spec/spec_helper.rb:8:in `block in <top (required)>': undefined method `module_path=' for #<RSpec::Core::Configuration:0x007fd28a857320> (NoMethodError)

but keeping it doesn't make it work either.

I have no success with this example. I can only get the error

Puppet::Error Could not find data item foo_message in any Hiera data file and no default supplied

I have the example code here, if you would have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
require 'rspec-hiera-puppet'
fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures'))
Please sign in to comment.
Something went wrong with that request. Please try again.