Information Technology Reference
In-Depth Information
UNINSTALLING THE CHEF DEVELOPMENT KIT/CHEF CLIENT ON MAC
OS X
You can uninstall the Chef Development Kit and Chef Client on Mac OS X using the appropriate
commands.
Chef Development Kit uninstallation:
# Remove the installed files
sudo rm -rf /opt/chefdk
# Remove the system installation entry
sudo pkgutil --forget com.getchef.pkg.chefdk
# Remove the symlinks under /usr/bin for Chef Development Kit
ls -la /usr/bin | egrep '/opt/chefdk' | awk '{ print $9 }' | xargs rm -f
# Remove PATH entry for Chef from $HOME/.bash_profile
Chef Client uninstallation:
# Remove the installed files
sudo rm -rf /opt/chef
# Remove the system installation entry
sudo pkgutil --forget com.getchef.pkg.chef
# Remove the symlinks under /usr/bin for Chef Client
ls -la /usr/bin | egrep '/opt/chef' | awk '{ print $9 }' | xargs rm -f
# Remove PATH entry for Chef from $HOME/.bash_profile
Install Test Kitchen on Mac OS X (Chef Client Only)
for some of the hands-on exercises. The Chef Client installer does not install Test Kitchen, so
you'll need to install it manually.
You need to install the test-kitchen gem. A gem is a supporting library or application writ-
ten in Ruby. You can think of a gem as the equivalent of an installer for Ruby. Rubygems.org
maintains a central registry of Ruby gems on the Internet.
Search WWH ::




Custom Search