{ "name": "hostsfile", "version": "2.4.5", "description": "Provides an LWRP for managing the /etc/hosts file", "long_description": "hostsfile LWRP\n==============\n[](https://travis-ci.org/customink-webops/hostsfile)\n\n`hostsfile` provides an LWRP for managing your `/etc/hosts` (or Windows equivalent) file using Chef.\n\n\nRequirements\n------------\n- Chef 11 or higher\n- **Ruby 1.9.3 or higher**\n\n**Please stop opening Pull Requests to restore Ruby 1.8 support!** Any of the `1.x.y` series of this cookbook will work with Chef 10 and Ruby 1.8. You can use Opscode's [Omnibus installer](http://www.opscode.com/blog/2012/06/29/omnibus-chef-packaging/) to install Ruby 1.9+ and Seth Chisamore's [Vagrant Omnibus plugin](https://github.com/schisamo/vagrant-omnibus) to get Ruby 1.9+ on your Vagrant box.\n\n\nAttributes\n----------\n
Attribute | \nDescription | \nExample | \nDefault | \n
---|---|---|---|
ip_address | \n(name attribute) the IP address for the entry | \n1.2.3.4 | \n\n |
hostname | \n(required) the hostname associated with the entry | \nexample.com | \n\n |
unique | \nremove any existing entries that have the same hostname | \ntrue | \nfalse | \n
aliases | \narray of aliases for the entry | \n['www.example.com'] | \n[] | \n
comment | \na comment to append to the end of the entry | \n'interal DNS server' | \nnil | \n
priority | \nthe relative position of this entry | \n20 | \n(varies, see **Priorities** section) | \n