Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
@jehutywong
Copy link

jehutywong commented Jun 26, 2019

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