Ask Your Question

uninstall puppet open source

asked 2016-03-07 02:57:34 -0500

adiabr gravatar image


I can't see any certificate in the master,

I want to uninstall puppet open source both from the master and agents.

How can I uninstall them completely?

Thank you

edit retag flag offensive close merge delete


It depends on the version of Puppet you installed, and how you installed it.

Alex Harvey gravatar imageAlex Harvey ( 2016-03-07 03:10:28 -0500 )edit

Thanks Alex, wget sudo dpkg -i puppetlabs-release-pc1-trusty.deb sudo apt-get update apt-get install puppetserver I uninstall via apt-get but it seem when I install the master and the client again the cert does not work.

adiabr gravatar imageadiabr ( 2016-03-07 03:41:43 -0500 )edit

So your question is really about restoring certs in a DR situation?

Alex Harvey gravatar imageAlex Harvey ( 2016-03-07 05:07:48 -0500 )edit

Yes, but I tried all the solutions in the net and they didn't work. The next step is to uninstall.

adiabr gravatar imageadiabr ( 2016-03-07 06:07:38 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-03-07 06:58:06 -0500

I don't have a Debian-based system in front of me but I assume it's the same on CentOS.

These are the paths installed by the RPM:

# rpm -ql puppet-agent |cut -f1,2,3,4 -d/ |sort -u


# rpm -ql puppetserver |cut -f1,2,3,4 -d/ |sort -u                                                                                                                                   


# service puppetserver stop
# service puppet-agent stop
# rpm -e puppetserver
# rpm -e puppet-agent
# rm -rf /var/run/puppetlabs /var/log/puppetlabs /etc/puppetlabs /opt/puppetlabs

That's if you care about cleaning up all the old files.

So use the Debian equivalent of all those commands it should be all gone.

edit flag offensive delete link more


Thank you very much

adiabr gravatar imageadiabr ( 2016-03-07 07:06:17 -0500 )edit

Good luck !

Alex Harvey gravatar imageAlex Harvey ( 2016-03-07 07:33:24 -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


Asked: 2016-03-07 02:57:34 -0500

Seen: 72 times

Last updated: Mar 07 '16