Ask Your Question

How to delete a node from Puppet?

asked 2013-03-29 10:36:01 -0600

Keith gravatar image

I have puppet enterprise installed and am evaluating it (in conjunction with Razor). I have been using the web console to delete nodes that I am removing from puppet enterprise. I would have thought that deleting the node from the web console would remove the node from puppet. However, according to the puppet license information, it thinks I have SEVEN active nodes, even though there is only ONE listed on the web console.

How is it possible to remove/delete a node from Puppet Enterpise? How can I list what nodes are registered?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-03-29 13:43:26 -0600

jonn gravatar image

PE counts an active node as one for which it has an valid, signed certificate in its internal certificate authority. So if you run:

sudo puppet cert list --all | grep -v pe-internal-

on your master, you will get a list of active nodes. (Certificates starting with "pe-internal-" are owned by Puppet Enterprise tools, and are not counted for licensing purposes.)

If you want to get rid of a node completely from the CA, you can run:

sudo puppet cert clean <node>

This will remove the certificate from the CA, and it should then no longer count as an active node.

edit flag offensive delete link more


A cert can be in one of 4 states: waiting to be signed, signed, revoked, non-existent. It's very possible that the dashboard only revokes a cert, and doesn't ...(more)

Ancillas gravatar imageAncillas ( 2013-03-29 17:11:33 -0600 )edit

I use PE 3.1. I first deleted a node from the Dashboard console, ran './puppet-enterprise-uninstaller -p' on the agent host, and ran 'puppet cert clean <node certname="">' on the ...(more)

Pindish gravatar imagePindish ( 2013-12-29 16:04:33 -0600 )edit

Run the command puppet node deactivate <certname> to actually lower the license count. From

skibum55 gravatar imageskibum55 ( 2014-01-15 11:24:40 -0600 )edit

would it be possible to do that for a large batch of nodes using API/RESTFull call?

Walid Shaari gravatar imageWalid Shaari ( 2015-01-26 01:06:40 -0600 )edit

This should be asked as a separate question, but the short answer is yes.

Ancillas gravatar imageAncillas ( 2015-01-26 17:34:20 -0600 )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: 2013-03-29 10:36:01 -0600

Seen: 21,491 times

Last updated: Mar 29 '13