I have tried sudo yum remove puppet
and it uninstalled Puppet. But the certificate and repository are all still there.
How do I wipe out everything?
I have tried sudo yum remove puppet
and it uninstalled Puppet. But the certificate and repository are all still there.
How do I wipe out everything?
The configuration can vary depending on version of Puppet you're using, and if you're using Puppet Enterprise or not.
But if you want to be super sure you could do this:
rm -rf /etc/puppetlabs/puppet
rm -rf /etc/puppet
I ran am rpm -e debug and the following config folders are removed by the RPM:
D: erase 100644 1 ( 0, 0) 39 /etc/tmpfiles.d/puppet.conf
D: erase 100644 1 ( 0, 0) 853 /etc/puppet/puppet.conf
D: erase 040755 2 ( 0, 0) 6 /etc/puppet/modules
D: erase 100644 1 ( 0, 0) 4178 /etc/puppet/auth.conf
D: erase 040755 2 ( 0, 0) 6 /etc/puppet
D: erase 100644 1 ( 0, 0) 256 /etc/logrotate.d/puppet
What files remain when you remove the package?