I'm working on setting up a new Ubuntu 10.04 (lucid) cluster in the Rackspace cloud environment. I'm using Puppet for the first time to automate as much as I can. I've setup a puppet master and I'm now ready to build an image that will automatically install the puppet agent on first boot. I have a few ideas on how I could script this, but I thought I'd see if anyone had already solved this problem.
In short, I'd like the ability to create a new cloud instance and have it automatically install the puppet agent, connect to the puppet master and register itself as a node. I'm using puppet enterprise. I'm not sure if this differs a great deal from the standard version at this stage, but maybe somebody knows something I don't.