Skip to content

Instantly share code, notes, and snippets.

@dnedbaylo
Created January 6, 2012 10:36
Show Gist options
  • Save dnedbaylo/1570042 to your computer and use it in GitHub Desktop.
Save dnedbaylo/1570042 to your computer and use it in GitHub Desktop.
Install chef-solo on ubuntu 10.04
#!/bin/bash
echo "deb http://apt.opscode.com/ `lsb_release -cs`-0.10 main" | tee /etc/apt/sources.list.d/opscode.list
mkdir -p /etc/apt/trusted.gpg.d
gpg --keyserver keys.gnupg.net --recv-keys 83EF826A
gpg --export [email protected] | sudo tee /etc/apt/trusted.gpg.d/opscode-keyring.gpg > /dev/null
apt-get update
apt-get install opscode-keyring -y
apt-get upgrade -y
apt-get install chef -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment