I have prod, qa, staging all using autoscaling and my master uses node
regex based on the <hostgroup>-<instance-id> hostnames to apply the right
roles modules. I have been using it for a long time and no issue at all to
use the full power of the cloud and autoscale :)



On Tue, May 27, 2014 at 8:34 AM, Jeremy T. Bouse <jeremy.bo...@undergrid.net
> wrote:

> On 27.05.2014 11:06, Felipe Salum wrote:
>
>> I work around this by using a cloudinit script during the autoscale
>> instance launch that gets the instance-id of the instance, rename the
>> hostname and update /etc/hosts before running puppet.
>>
>>
> Cloud-init helps but there are limitations. I use cloud-init to deploy a
> script that generates the extra attributes file prior to puppet being
> deployed to include the instance id in the CSR and this works if your
> master can then otherwise determine how to configure the host. If the
> master is deterministic on the client cert name (read: hostname) then you
> can override that with cloud-init but it fails to be useful when using the
> full power of the cloud architecture and use auto scaling groups.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/puppet-users/m_fffsKR9aM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/puppet-users/85960579c1c0eab21f9068aa33299130%40undergrid.net.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CALNTNeMWR9Tuibd-UYdg5wQ4r_MO4V9%2Bu7pw2kEzhxFP5yj%3D-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to