Installing mercurial with yum failed for me when doing the initial 'vagrant up'. Chef attempts this in the default app cookbook.
The problem is yum is not able to connect to the proper repository via https to find mercurial. The workaround is to switch yum to the http based repositories.
I ended up inserting this in at line 193 of scripts/cookbooks/app/recipes/default.rb
execute "switch yum to http" do
command 'sudo sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo'
end
It didn't seem reasonable to commit this change unless it keeps happening, a number of people online have mentioned it with this specific version of CentOS 6.3.
Installing mercurial with yum failed for me when doing the initial 'vagrant up'. Chef attempts this in the default app cookbook.
The problem is yum is not able to connect to the proper repository via https to find mercurial. The workaround is to switch yum to the http based repositories.
I ended up inserting this in at line 193 of scripts/cookbooks/app/recipes/default.rb
execute "switch yum to http" do
command 'sudo sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo'
end
It didn't seem reasonable to commit this change unless it keeps happening, a number of people online have mentioned it with this specific version of CentOS 6.3.