Ask Your Question
0

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

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

  1. I'm using https://docs.puppet.com/pe/latest/nod..., and cannot find a definition for "purge" in https://docs.puppet.com/puppet/4.5/re.... 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
0

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

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

Comments

lupin, please look at step 2 on my first link to puppet docs, https://docs.puppet.com/pe/latest/node_deactivation.html . 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 -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

Stats

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

Seen: 47 times

Last updated: Jul 09 '16