Ask Your Question
4

How do I uninstall Puppet from a Mac?

asked 2013-03-27 10:53:38 -0500

drcrch gravatar image

Installed, but changed my mind, and can't figure out how to uninstall.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
5

answered 2013-08-15 10:13:35 -0500

spuder gravatar image

updated 2014-07-02 12:44:24 -0500

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

/usr/bin/puppet
/usr/sbin/puppet

remove the following folders

/private/etc/puppet
/usr/share/doc/puppet

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

http://superuser.com/questions/632313...

Update

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
edit flag offensive delete link more

Comments

2

Probably should also run `sudo pkgutil --forget puppet-3.2.3`. (To find puppet version you installed: `pkgutil --pkgs | grep puppet`)

jcuzella gravatar imagejcuzella ( 2013-10-02 12:07:32 -0500 )edit
1

answered 2013-08-15 12:42:55 -0500

GregLarkin gravatar image

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.

edit flag offensive delete link more
0

answered 2013-03-28 12:33:34 -0500

llowder gravatar image

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.

edit flag offensive delete link more

Comments

Thank you for your reply. That's just the thing -- I ran the dmg file, which opened a pkg file which I ran. It went through the installation, but I ...(more)

drcrch gravatar imagedrcrch ( 2013-03-29 07:20:54 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-03-27 10:53:38 -0500

Seen: 4,245 times

Last updated: Jul 02 '14