I've been using R.I's ec2-boot-init to set the hostname (based of instance ID and AZ) and his mcollective-server-provisioner to securely sign certificates. Roles are assigned based on what security group the instance is in so I can use auto-scaling (with a few exceptions that are hostname based).
On Mar 8, 2013, at 11:41 PM, sylvainkalache <sylvain.kala...@gmail.com> wrote: > Hello! > > I'm looking for the best way to integrate Puppet with EC2, I read > posts on that group but they are all old, I wanted to know if things > have changed since then. > > So far here are the possibilities I found to tight EC2 with Puppet: > > -Use the instance name as reference like <instance_id>-<puppetclass>- > <environment> - http://bit.ly/YitdC3 > -Use the instance security group as reference - http://bit.ly/YitdC3 > -Use the user-data, populate with JSON and parse on the puppet master > side - http://bit.ly/13MsfGe > -Use the user-data, but parse on client side with facter - > http://bit.ly/XZlVXD > > I don't like to use the name or security as reference at these data > has not been designed for this. > I don't like user-data because you can't change them after the > instance is launched. > > Finally I found all the approach kind of dirty for something which is > widely used. Are they other possibilities? > > -- > 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 post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.