On Jul 21, 2011, at 5:56 AM, Oliver Beattie wrote:

> Hi there,
> 
> I am trying to setup a "cluster" on Amazon EC2, using auto-scaling. I 
> currently have it working so that when the instances are started, they 
> generate a CSR, which is automatically signed by the server if it's valid by 
> a cron job I setup to run every minute.

Fair enough, this is a way I've gone prior as well.

> 
> However, where does one go from there? I suppose now the nodes need to be 
> somehow registered on the puppet master so they can receive the correct 
> configuration, but I'm unsure how to do this. I've read several articles 
> which involve essentially creating a script which modifies the manifest, but 
> is there a better way than this?
> 
> I'm fairly new to Puppet, so my other question would be how does one classify 
> instances into "roles" or similar — for instance, if I am bringing up a 
> webserver, can I just add it to a "webserver" group and it will be configured 
> as such?
> 

One way I've gone about this and presented about is using EC2 'Security Groups' 
to define roles for your nodes and then using EC2 facter facts, initialize 
modules to load based on their defined role in your manifests.

-Mark

> Any pointers would be very much appreciated :)
> 
> —Oliver
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/puppet-users/-/AkY-XzhqaWwJ.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to