Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naveenkashyapdv/78116416e1fa996aba384793e2699ae2 to your computer and use it in GitHub Desktop.
Save naveenkashyapdv/78116416e1fa996aba384793e2699ae2 to your computer and use it in GitHub Desktop.
Remove Chef Server
chef-server-ctl stop
chef-server-ctl kill
chef-server-ctl cleanse
chef-server-ctl uninstall
pkill -9 -u opscode
pkill -9 -f postgres
pkill -9 -f beam
pkill -9 -f /opt/chef
rm -rf /etc/opscode /etc/chef /opt/opscode /opt/chef /var/chef
rm -rf /etc/chef-server /etc/chef /opt/chef-server /opt/chef /root/.chef /var/opt/chef-server
rm -rf /var/chef /var/log/chef-server
rpm -e chef-server
rpm -e chef-server-core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment