On May 28, 2011, at 3:10 AM, S Ahmed wrote: > Say I need to fireup a new ec2 instance to add to my cluster. > > Currently what I know to do is (Ubuntu): > > sudo apt-get install ruby libshawdow-ruby1.8 > sudo apt-get install puppet facter
While you're at it, make sure to grab "libaugeas-ruby". If you use it, having that already on the computer is a life-saver, and if you don't use it, it won't hurt anything. More things to consider: #Make a config file that will cause puppet to automatically start up. sed 's/no/yes/' /etc/default/puppet > /root/puppet #Copy that config file into place. cp /root/puppet /etc/default/puppet I don't know much about EC2, but if you end up using preseeding, this might help. That should be all one line, but I'm thinking it's going to get wrapped, so be sure to unwrap it: d-i preseed/late_command string in-target wget --no-proxy http://my.server.com/puppet/setup_puppet.sh --output-document=/root/setup_puppet.sh; in-target bash /root/setup_puppet.sh Again, I don't know much about EC2, but if bandwidth is expensive and disk space is cheap, you might want to setup an apt caching server on one of these machine. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
