Skip to content

Provides LWRP for managing /etc/hosts, this is a filtered fork of spheromak/cookbooks

Notifications You must be signed in to change notification settings

needle-cookbooks/chef-hosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Author

Jesse Nelson (via github.com/spheromak/cookbooks)

About

Provides LWRP for managing /etc/hosts, this is a filtered fork of spheromak/cookbooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages