Sweet!  Glad that worked out.

On Wed, May 23, 2012 at 5:52 PM, Jeff McCune <j...@puppetlabs.com> wrote:

> Nevermind, I think I have a good solution in:
>
> https://github.com/puppetlabs/puppet/pull/812
>
> Huzzah for having a TestHelper class in Puppet!
>
> -Jeff
>
>
> On Wed, May 23, 2012 at 5:38 PM, Jeff McCune <j...@puppetlabs.com> wrote:
>
>> It seems like there are some unresolved issues in the master branch of
>> Puppet configuring the system in a suitable way for rspec-puppet.
>>
>> I'm working on the existing NTP module spec failures and I've made a bit
>> of progress by modifying the job to checkout the master branch of hiera and
>> put it in the $LOAD_PATH via $RUBYLIB.
>>
>> However, hiera is still trying to load a configuration file from
>> /dev/null/hiera.yaml [1]
>>
>> It seems like we need to modify either Hiera or Puppet to initialize
>> itself for testing more appropriately.  Is there any existing work I can
>> look at?  stdlib does something similar, but we don't have any rspec-puppet
>> tests in stdlib so I haven't run into this yet.
>>
>> Chris, what do you think?  It seems like we need to modify
>> puppetlabs_spec_helper to do something with Hiera like we already do with
>> Puppet.
>>
>> [1]
>> https://jenkins.puppetlabs.com/view/Puppet%20Modules/job/Puppet%20Module%20-%20ntp/78/facter=1.6.x,hiera=master,puppet=master,ruby=ruby-1.8.7,rvm=%23rvm/console
>>
>> -Jeff
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to