Created
September 2, 2012 16:26
-
-
Save leonid-shevtsov/3601146 to your computer and use it in GitHub Desktop.
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
# 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 [email protected] | 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Leonid, could you write a blog post how you use the chef-solo?