Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes to secondary_ip #192
To resolve issue #137
This feature didn't work at all because one of the state_attrs parameters in the resource was incorrectly named (looks like a missed rename).
This features also seems to have been written specifically for Linux, but I've expanded it to be more platform-agnostic. It now pulls the default interface from node[:network]['default_interface'] instead of assuming eth0 if not provided, and also allows one to specify the IP to add (was just adding a random IP previously, which is still allowed if not provided).
I also updated the readme since it wasn't added when the original feature went in.
Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.