Skip to content

Instantly share code, notes, and snippets.

@mostlyobvious
Created June 11, 2011 12:32
Show Gist options
  • Select an option

  • Save mostlyobvious/1020520 to your computer and use it in GitHub Desktop.

Select an option

Save mostlyobvious/1020520 to your computer and use it in GitHub Desktop.
chef client install for debian
#!/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
@mostlyobvious
Copy link
Copy Markdown
Author

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