Ask Your Question

Clone agent via Vsphere

asked 2016-02-29 07:06:31 -0600

adiabr gravatar image


I have a computer which run puppet-agent, I need to clone the computer via vm-vsphere. What I need to do in order that puppet master recognize the new agents?

Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-29 07:32:01 -0600

After you've cloned it:

Delete its SSL certs:

# rm -rf /var/lib/puppet/ssl

Then generate new SSL certs after you've changed its hostname and IP address.

edit flag offensive delete link more


Thank you Alex, I don't have this location, when this location is created?

adiabr gravatar imageadiabr ( 2016-02-29 07:38:56 -0600 )edit

What does puppet agent --configprint ssldir say?

Alex Harvey gravatar imageAlex Harvey ( 2016-02-29 08:38:42 -0600 )edit

Thank you, /etc/puppetlabs/puppet/ssl What is the difference between the two paths? (maybe the versions?)

adiabr gravatar imageadiabr ( 2016-02-29 08:58:51 -0600 )edit

The difference is you're using Puppet Enterprise. In Puppet open source, that directory is in a different place. OK, delete that directory instead.

Alex Harvey gravatar imageAlex Harvey ( 2016-02-29 09:29:36 -0600 )edit

Thank you, How can I download the open source software? I am using apt-get install puppetserver

adiabr gravatar imageadiabr ( 2016-03-06 09:35:48 -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: 2016-02-29 07:06:31 -0600

Seen: 214 times

Last updated: Feb 29 '16