[nycbug-talk] OT: Puppet/LDAP on EC2

Matt Juszczak matt at atopia.net
Wed Apr 21 15:29:43 EDT 2010

>> * set user-data that will install puppet, somehow "fetch" the hostname of 
>> the box externally, set the hostname, set /etc/resolv.conf to point to the 
>> appropriate DNS servers, and then launch puppet (and then let puppet put 
>> the real /etc/resolv.conf in place, as well as other packages).
> That approach sounds best.
> Are all the machines going to be the same type?

No, but the naming scheme will be.

> You could have a table, when the machines comes up you connect to a DB and 
> see what name is available and assign the machine the name.

Right.  I was just going to have it fetch its name from a script, based on 
the EC2 meta data.

> Track on the table what name has an EC2 instance linked to it.

Right.  I would most likely use LDAP, since that's what we're doing 



More information about the talk mailing list