cookbook 'ipaddr_extensions', '= 0.1.0'
ipaddr_extensions (4) Versions 0.1.0 Follow1
Adds the ipaddr_extensions gem to chef
cookbook 'ipaddr_extensions', '= 0.1.0', :supermarket
knife supermarket install ipaddr_extensions
knife supermarket download ipaddr_extensions
ipaddr_extensions
Adds the ipaddr_extensions
gem to chef using the chef_gem provider. This adds a
top-level ohai attribute called privateaddress
. If there is an RFC1918 IP address,
this is assigned to node.privateaddress
.
Usage
Include ipaddr_extensions
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[ipaddr_extensions]" ] }
If a cookbook depends on knowing about private ip addresses, depend or suggest this cookbook.
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Dependent cookbooks
This cookbook has no specified dependencies.