Ask Your Question

how can I remove puppet agent completely ?

asked 2015-12-12 12:01:24 -0600

brikeyes gravatar image

i need to remove all components for puppet from a rhel 7.1 how can i do this

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-12-13 06:23:16 -0600

lqueryvg gravatar image

updated 2015-12-13 06:23:31 -0600

Some assumptions:

  • you started with a minimal install of RHEL7.1
  • you are using puppet 3.x
  • you want to remove all of the agent components and files that you installed when you installed the puppet agent

Then you probably want something like this:

On master:

  puppet cert --revoke {agent-node}
  puppet cert clean {agent-node}

On agent:

  yum erase puppet ruby augeas facter hiera
  rm -r /etc/puppet/puppet/ssl
edit flag offensive delete link more

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: 2015-12-12 12:01:24 -0600

Seen: 1,442 times

Last updated: Dec 13 '15