-
-
Save lopesivan/3b8326f0cac9cb6243f2a8d24549f3c3 to your computer and use it in GitHub Desktop.
Remove Chef Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
8
down vote
If you're on debian/ubuntu (or a system with dpkg) just check the status of the package:
dpkg --list | grep chef # or dpkg --status chef
then purge (see man dpkg):
dpkg -P chef