On Thursday, April 12, 2012 10:06:25 AM UTC-7, Jeff McCune wrote:
>
> The problem is that modules like stdlib need Puppet to be initialized
> in a manner suitable for testing.  Setting things like confdir and
> what not.  This means different actions for different versions of
> Puppet, and stdlib works all the way back through 2.6.
>
I took the expedient way out and commented out the requires from 
spec_helper. :-\ My tests pass now, at least.

I have now added tests for the has_ip_address and has_ip_network, which are 
more porcelain than has_interface_with.

https://github.com/wcooley/puppetlabs-stdlib/compare/puppetlabs:master...wcooley:has_interface_with_function

If you like it, I will open a ticket and submit a pull request.

Wil
 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/q8neT0W4zUcJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to