Created
April 21, 2017 22:24
-
-
Save brandocorp/642ef0f2d1649013cfa36bfa84a98fed to your computer and use it in GitHub Desktop.
Uninstall Chef Server 12
This file contains 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
#!/bin/bash -e | |
chef-server-ctl stop || chef-server-ctl kill | |
killall -9 -u opscode | |
killall -9 runsvdir | |
killall -9 rabbitmq | |
killall -9 nginx | |
chef-server-ctl uninstall | |
dpkg -P opscode-push-jobs-server | |
dpkg -P chef-manage | |
dpkg -P chef-server-core | |
rm -v -rf /etc/che* /etc/opscod* /opt/chef-manage /opt/opscod* /var/opt/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment