On Sat, Apr 14, 2012 at 8:34 PM, Wil Cooley wrote:
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.
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 fromThe 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.
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.
http://projects.puppetlabs.com/projects/stdlib
You'll need to register an account if you don't already have one.
If it's a somewhat substantial patch could you also please sign the CLA at:
https://projects.puppetlabs.com/contributor_licenses/sign
Thanks,
-Jeff McCune
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.