Skip to content

Instantly share code, notes, and snippets.

@cpageler93
Last active August 29, 2015 14:06
Show Gist options
  • Save cpageler93/14df12e97d85e0aafe35 to your computer and use it in GitHub Desktop.
Save cpageler93/14df12e97d85e0aafe35 to your computer and use it in GitHub Desktop.
Install Chef Solo
sudo apt-get -y update
sudo apt-get -y install curl make vim
curl -L https://gist.githubusercontent.com/cpageler93/66080d09ded47272116a/raw/ec462b5aca6f8c83f0072ea454533f21df66cec0/chefsolo.sh | bash
# make cookbook
rsync -r --rsync-path="sudo rsync" . user@ip:/var/chef
ssh user@ip "sudo chef-solo -c /var/chef/solo.rb"
@cpageler93
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment