Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (12 sloc) 594 Bytes
# all commands run as root because they're run via cloud-init and passed in as user-data
# install the omnibus client
true && curl -L | bash
# make a directory for chefef stuff
mkdir /etc/chef
# grab our private key for talking to hosted chef
curl -pemo /etc/chef/ORGNAME-validator.pem
# grab a minimal client.rb for getting the chef-client registered
curl -o /etc/chef/client.rb
#kick off the first chef run