Chef cheat sheet: Difference between revisions

Line 14: Line 14:


cookbook に汎用性を持たせようとする動きはあるらしいが、現状では無理っぽい。というか、使うことによってベストプラクティスを模索している段階かも。
cookbook に汎用性を持たせようとする動きはあるらしいが、現状では無理っぽい。というか、使うことによってベストプラクティスを模索している段階かも。
== 導入 ==
<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>
== my recipes ==
[http://www.egrep.jp/wiki/index.php/Ubuntu_10.04_LTS_%28Lucid_Lynx%29_AMI 普段やっている設定]を cookbook にまとめ中
[https://github.com/nxhack/chef nxhack / chef My recipes (opscode chef cookbooks) : Bootstrap - Configuration - Orchestration]


== knife-ec2 ==
== knife-ec2 ==