Created
April 10, 2013 06:48
-
-
Save halsk/5352367 to your computer and use it in GitHub Desktop.
Vagrant up 時に、 Chef のバージョンをあげる ref: http://qiita.com/items/f22609937b9328141faf
This file contains 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
package 'curl' | |
execute "Opscode Chef Client Installer for Ubuntu" do | |
command 'curl -L https://www.opscode.com/chef/install.sh | sudo bash' | |
not_if '/usr/bin/chef-client --version | /bin/grep "Chef: 11."' | |
end |
This file contains 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
vagrant@precise32:~$ chef-client --version | |
Chef: 10.14.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment