MinGW mysys-opensshとmsys-rsyncのインストール

mysys-opensshとmsys-rsyncをインストールし、windowsの環境変数に、C:\MinGW\bin;C:\MinGW\msys\1.0\binを追加。C:\MinGW\msys\1.0\etc\fstabにc: /cygdrive/cを追加して、再度\chef\chef-repo> knife solo cook 192.168.33.10 –ssh-user vagrantを実行。

resolving cookbooks for run list: ["hello"]
Synchronizing Cookbooks:
  - hello (0.1.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Converging 1 resources
Recipe: hello::default
  * log[Hello world] action write


Running handlers:
Running handlers complete
Chef Client finished, 1/1 resources updated in 46 seconds

出来ました!長かった。。。

workstationからvimをインストール
chef-repo > site-cookbooks > hello > recipes > default.rb

package "vim-enhanced" do 
 action :install 
end
Running Chef: sudo chef-solo -c ~/chef-solo/solo.rb -j ~/chef-solo/dna.json
Starting Chef Client, version 12.16.42
resolving cookbooks for run list: ["hello"]
Synchronizing Cookbooks:
  - hello (0.1.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Converging 1 resources
Recipe: hello::default
  * yum_package[vim-enhanced] action install
    - install version 7.4.629-5.el6 of package vim-enhanced

Running handlers:
Running handlers complete
Chef Client finished, 1/1 resources updated in 02 minutes 02 seconds

a

iptable: stop

service "iptables" do
	action :stop
end
[vagrant@localhost ~]$ sudo service iptables status
iptables: ファイアウォールが稼働していません。