knife-ghost
A knife plugin for populating your local /etc/hosts file with hostname and IP data from chef. Useful if DNS is unavailable.
Installing knife-ghost
Gem install
add knife-ghost
to your Gemfile, or simply
gem install knife-ghost
Usage
sudo knife ghost hosts
or if using rvm:
rvmsudo knife ghost hosts