Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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  README.md
View
1  README.md
@@ -106,7 +106,6 @@ demonstrates the use of a shared context.
_spec/spec\_helper.rb_
- 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 https://github.com/larstobi/rspec-hiera-puppet-example

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.