cookbook 'jn_hosts', '= 0.0.1', :supermarket
jn_hosts (2) Versions 0.0.1 Follow0
Sets up LWRP for managing /etc/hosts
cookbook 'jn_hosts', '= 0.0.1'
knife supermarket install jn_hosts
knife supermarket download jn_hosts
= DESCRIPTION:
Hosts file LWRP
Manages individual entries in /etc/hosts without effecting other entries
= REQUIREMENTS:
Unix platform with /etc/hosts file
= Resources/Providers
hosts::
== Actions
* :create
Add / Create entry in the host file
* :remove
Remove entry from the hosts file
== Parameters
* ip The IPV4 adress for this entry (defaults to name)
* entries The list of entries for this ip.
* force Force the action even reguardless if entries match. I.e. only match ip and force the new requested state
== Examples
See the example.rb recipe for examples
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.