Hey Guys,

I know hiera-puppet is deprecated, but I cannot upgrade to Puppet 3 yet. 
I'd appreciate any assistance with these issues, since I wasn't able to 
find anything on the subject on Google, and the IRC channel seems to be 
asleep right now.

I'm recently trying to write unit tests for my puppet modules, but first I 
wanted to try the puppet-labs modules tests. hiera-puppet is throwing the 
following errors. I think the module is passing the tests, and this is an 
environmental (Ruby) issue, but since I don't know much Ruby, I can't 
figure out what to do.

 6) HieraPuppet HieraPuppet#lookup should raise a useful error when the 
answer is nil
     Failure/Error: Hiera.any_instance.stubs(:lookup).returns(nil)
     NameError:
       uninitialized constant Hiera
     # ./modules/hiera-puppet/spec/unit/hiera_puppet_spec.rb:86

  7) HieraPuppet HieraPuppet#parse_args should return a 3 item array
     Failure/Error: HieraPuppet.parse_args(args).should == ['foo', '8080', 
nil]
     NameError:
       uninitialized constant HieraPuppet
     # ./modules/hiera-puppet/spec/unit/hiera_puppet_spec.rb:97

Thank you!

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to