chef-solo
概要 Chefの新バージョンが出ていたので新しく入れることにした。 Windows7 64bit Cygwin 1.7.32 32bit Chef 11.16.0 Windows版 直接関係はないけどVagrant, VirtualBoxもWindows版
Cygwinが絡むと毎回色々悩んでいるのでメモ。Windows7 64bit Cygwin 1.7.25 32bit Vagrant 1.6.2 Windows版 VirtualBox 4.3.12.r93733 Windows版 Chef 11.8.0 Windows版 Berkshelf 2.0.16 Windows版Chefは元々入っていたのを使うので少し古め。 Berkshelfは…
$HOME/chef-solo/dna.json run_list /tmp/chef-scriptxxxxxxxx-xxxxx-xxxxxxx 実行中のbashやscriptリソース。 `ps -aux | grep chef` で出てくる。 /var/chef/cache/chef-stacktrace.out エラー発生時のStackTrace
SSH鍵のパスはWindows形式である必要がある。 knife solo prepare user@hostname -i "C:\cygwin\home\pen\.ssh\id_rsa" -Vknife solo cook user@hostname -i "C:\cygwin\home\pen\.ssh\id_rsa" \ -l debug nodes/phpci.jsonsudo設定で !requiretty がされて…