Skip to content

Instantly share code, notes, and snippets.

@nagataka
Created January 2, 2015 10:54
Show Gist options
  • Select an option

  • Save nagataka/9fcd4fd4a08465172f1a to your computer and use it in GitHub Desktop.

Select an option

Save nagataka/9fcd4fd4a08465172f1a to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo curl -L http://www.opscode.com/chef/install.sh | sudo bash
sudo /opt/chef/embedded/bin/gem install chef --no-ri --no-rdoc
sudo /opt/chef/embedded/bin/gem install knife-solo --no-ri --no-rdoc
mkdir -p ~/workspace/chef-repo
cd ~/workspace/chef-repo
sudo apt-get -y install git
git clone https://github.com/nagataka/cookbooks.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment