[Puppet Users] Puppet with cloud instances

Murteas
Wed, 05 May 2010 15:51:59 -0000

Hello all,

Recently I was asked to start using Puppet as part of our Eucalyptus
powered internal cloud.   I have been able to set up Puppet and a
puppet master on various instances, but what I am running into, is
that several of the instances have the same hostname or no hostname
when they are first launched, so of course when they try to get a cert
from puppetmaster I get an error saying that I can''t overwrite the
existing certificate with the new one.

My question is:

If I have one instance launched in a cloud with a hostname of
debian.example.org and then that instance is terminated, and then I
bring up an identical instance but this one has a new ip address, how
can I get a cert for this new instance?   Obviously I can do a clean
on the puppetmaster, but I need to automate this process somehow, as
this could happen constantly with our customers launching new
instances or identical instances.

Any thoughts?