Created
October 4, 2016 12:52
-
-
Save Vultour/806f7320d4d2f0ce26065262a81c6074 to your computer and use it in GitHub Desktop.
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
# Remove foreman | |
yum remove remove foreman foreman-installer foreman-proxy | |
rm -rf /var/lib/foreman /usr/share/foreman /usr/share/foreman-proxy/logs | |
rm /etc/httpd/conf.d/foreman.conf | |
# Remove puppet | |
yum remove puppet puppetmaster puppet-common puppetmaster-common puppetlabs-release | |
rm -rf /usr/lib/ruby/vendor_ruby/puppet /usr/share/puppet /var/lib/puppet /etc/puppet | |
rm /etc/apache2/conf.d/puppet.conf |
with --remove-leaves in yum, you can further remove all dependency packages
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
line 2 has an extra remove
at line 3, three extra folders under /etc have to be removed as well /etc/foreman /etc/foreman-installer /etc/foreman-proxy is these are left there re-installation is running into errors.