Created
June 11, 2011 12:32
-
-
Save mostlyobvious/1020520 to your computer and use it in GitHub Desktop.
chef client install for debian
This file contains hidden or 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 | |
| # | |
| # default debian install does not have sudo, | |
| # run as root | |
| apt-get -q -y install lsb-release | |
| echo "deb http://apt.opscode.com/ `lsb_release -cs`-0.10 main" | tee /etc/apt/sources.list.d/opscode.list | |
| wget -qO - http://apt.opscode.com/packages@opscode.com.gpg.key | apt-key add - | |
| apt-get update | |
| apt-get -q -y install chef |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wget -qO - --no-check-certificate https://raw.github.com/gist/1020520/4028dd9406309b4481636d4b80359e1c776ddf08/chef-client.sh |sh