Skip to content

Instantly share code, notes, and snippets.

@leonid-shevtsov
Created September 2, 2012 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save leonid-shevtsov/3601146 to your computer and use it in GitHub Desktop.
Save leonid-shevtsov/3601146 to your computer and use it in GitHub Desktop.
# Connect Opscode repository
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 packages@opscode.com | tee /etc/apt/trusted.gpg.d/opscode-keyring.gpg > /dev/null
# Install chef
apt-get update -qq
echo "chef chef/chef_server_url string none" | debconf-set-selections && apt-get install chef -y -q
# Stop and disable the chef-client service since we're only using chef-solo
/etc/init.d/chef-client stop
update-rc.d chef-client disable
@kirs
Copy link

kirs commented Sep 3, 2012

Leonid, could you write a blog post how you use the chef-solo?

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