Chef cheat sheet: Difference between revisions

Line 50: Line 50:
  sudo true && curl -L http://opscode.com/chef/install.sh | sudo bash
  sudo true && curl -L http://opscode.com/chef/install.sh | sudo bash


/* 非推奨 : opscode の リポジトリ の配下なら
upgrade も ↑ OK
 
[http://wiki.opscode.com/display/chef/Installing+Chef+Client+on+Ubuntu+or+Debian Installing Chef Client on Ubuntu or Debian]
 
<syntaxhighlight>
echo 'deb http://apt.opscode.com/ lucid-0.10 main' | sudo tee /etc/apt/sources.list.d/opscode.list
wget -qO - http://apt.opscode.com/packages@opscode.com.gpg.key | sudo apt-key add -
sudo aptitude update
sudo aptitude -y install chef
</syntaxhighlight>
 
knife bootstrap distro を ubuntu10.04-apt 的に指定するのが良い */


== my recipes ==
== my recipes ==