Re: [Puppet Users] Using with EC2 (and auto-scaling)

2011-07-21 Thread Dan Carley
On 21 July 2011 16:41, John Fieber wrote: > I use instance userdata to configure puppet (via ubuntu cloudinit) and set > an explicit certname, in the form: > > -- > > The server uses a a node classifier that fabricates the node spec from > that. > Similarly I've used a port of cloud-init baked

Re: [Puppet Users] Using with EC2 (and auto-scaling)

2011-07-21 Thread John Fieber
On Jul 21, 2011, at 2:56 AM, Oliver Beattie wrote: > 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 setu

Re: [Puppet Users] Using with EC2 (and auto-scaling)

2011-07-21 Thread Mark Stanislav
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 c

Re: [Puppet Users] Using with EC2 (and auto-scaling)

2011-07-21 Thread David Kavanagh
One way is to pass a "role" in via user data which gets written to a file (like /etc/role) and then have a custom fact that reads that. Then, your scripts can key off that to apply the classes for that node type. David On Thu, Jul 21, 2011 at 5:56 AM, Oliver Beattie wrote: > Hi there, > I am try

[Puppet Users] Using with EC2 (and auto-scaling)

2011-07-21 Thread Oliver Beattie
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. However, where does one go