In the Chef Office Hours on December 20, 2012
Rob asked about getting chef installed on his server. We manually installed Chef there following the instructions at http://www.opscode.com/chef/install/ and then ran a knife bootstrap command. The easier way would have been to simply run the knife bootstrap command.
For example after launching a fresh instance on EC2, I can simply run:
$ knife bootstrap ec2-184-73-68-244.compute-1.amazonaws.com -x ubuntu -i ~/.aws/nharvey-aws.pem --sudo
-x
is the username I'll login with: ubuntu
-i
is the identify file I'll use when logging in: ~/.aws/nharvey-aws.pem