Created
September 7, 2010 19:06
-
-
Save pcreux/568876 to your computer and use it in GitHub Desktop.
Bash script to install chef client on blank ubuntu 10.04 - lucid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
# From http://wiki.opscode.com/display/chef/Package+Installation+on+Debian+and+Ubuntu | |
# Run: wget http://gist.github.com/raw/568876/install_chef_client.sh && bash install_chef_client.sh | |
echo "Add the Opscode APT Repository" | |
echo 'deb http://apt.opscode.com/ lucid main' | sudo tee /etc/apt/sources.list.d/opscode.list | |
sudo apt-get update | |
echo "Install curl" | |
sudo apt-get install curl | |
echo "Add the GPG Key and Update Index" | |
curl http://apt.opscode.com/packages@opscode.com.gpg.key | sudo apt-key add - | |
sudo apt-get update | |
echo "Install Chef" | |
sudo apt-get install chef | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment