Ask Your Question
0

Clone agent via Vsphere

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

adiabr gravatar image

Hi,

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
0

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

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

Comments

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

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

What does puppet agent --configprint ssldir say?

Alex Harvey gravatar imageAlex Harvey ( 2016-02-29 08:38:42 -0500 )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 -0500 )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 -0500 )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 -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

1 follower

Stats

Asked: 2016-02-29 07:06:31 -0500

Seen: 169 times

Last updated: Feb 29 '16