Ask Your Question

What does puppet node purge do? Is it the same as puppet node clean?

asked 2016-07-07 17:14:53 -0600

  1. I'm using, and cannot find a definition for "purge" in Was purge deprecated in favor of clean?
  2. If puppet node purge != puppet node clean, then what is the difference between puppet node purge and puppet cert clean?
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-07-09 14:47:40 -0600

lupin gravatar image

Do you meant "puppet node clean" and "puppet cert clean"?

There's no "purge" option on "puppet node". The "clean" is action on "puppet cert". Here's the definition on manual.

* clean:
  Revoke a host's certificate (if applicable) and remove all files
  related to that host from puppet cert's storage. This is useful when
  rebuilding hosts, since new certificate signing requests will only be
  honored if puppet cert does not have a copy of a signed certificate
  for that host. If '--all' is specified then all host certificates,
  both signed and unsigned, will be removed.
edit flag offensive delete link more


lupin, please look at step 2 on my first link to puppet docs, . They explicitly use puppet node purge <certname>. I can't find a description of what exactly it does, because like you, I can't find it in the man pages.

bconner22 gravatar imagebconner22 ( 2016-07-12 11:47:21 -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


Asked: 2016-07-07 17:14:53 -0600

Seen: 169 times

Last updated: Jul 09 '16