Skip to content

Commit

Permalink
[VAGRANT] Fix incorrect Chef installation for CentOS
Browse files Browse the repository at this point in the history
The script was also doing `yum update`, not really neccessary :), copy&paste fail
  • Loading branch information
karmi committed Feb 27, 2013
1 parent 71dc02b commit 8b940a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Vagrant::Config.run do |config|
version = ENV['CHEF'].match(/^\d+/) ? ENV['CHEF'] : nil
shell.inline = %Q{
which apt-get > /dev/null 2>&1 && apt-get install curl --quiet --yes
which yum > /dev/null 2>&1 && yum update -y && yum install curl -y
which yum > /dev/null 2>&1 && yum install curl -y
test -d "/opt/chef" || curl -# -L http://www.opscode.com/chef/install.sh | sudo bash -s -- #{version ? "-v #{version}" : ''}
/opt/chef/embedded/bin/gem list pry | grep pry || /opt/chef/embedded/bin/gem install pry --no-ri --no-rdoc
}
Expand Down

0 comments on commit 8b940a0

Please sign in to comment.