Skip to content

Instantly share code, notes, and snippets.

@halsk
Created April 10, 2013 06:48
Show Gist options
  • Save halsk/5352367 to your computer and use it in GitHub Desktop.
Save halsk/5352367 to your computer and use it in GitHub Desktop.
Vagrant up 時に、 Chef のバージョンをあげる ref: http://qiita.com/items/f22609937b9328141faf
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
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