How do I uninstall Puppet from a Mac?
Installed, but changed my mind, and can't figure out how to uninstall.
Steps to remove puppet from Mac OSX:
Note: Puppet doesn't have a normal app folder that you can delete, or an uninstaller. You must manually remove the binaries.
remove the following files
remove the following folders
However you will still have a puppet user on the log in screen. To remove that user run the following:
sudo dscl . delete /Users/puppet
As suggested in comments, you should also remove packages from pkgutil
$ sudo pkgutil --pkgs | grep puppet com.puppetlabs.facter com.puppetlabs.puppet $ sudo pkgutil --forget com.puppetlabs.puppet
This looks to be the most thorough explanation of how to remove applications installed from a .pkg file on Mac OS X.
Needless to say, be vewy vewy careful when using these techniques! The "rm" commands do include the "-i" option to confirm every file/directory removal.
I don't have a Mac anymore, but if you installed it from the .dmg, you would uninstall it the same way you uninstall anything else. Just delete the folder(s) it created and then run a plist cleaner to see if it put any of those in place.
Asked: 2013-03-27 10:53:38 -0500
Seen: 4,171 times
Last updated: Jul 02 '14