Created
April 17, 2012 00:01
-
-
Save matschaffer/2402433 to your computer and use it in GitHub Desktop.
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
bash -c ' | |
<%= "export http_proxy=\"#{knife_config[:bootstrap_proxy]}\"" if knife_config[:bootstrap_proxy] -%> | |
yum install -y wget | |
wget <%= "--proxy=on " if knife_config[:bootstrap_proxy] %>http://rbel.co/rbel5 | |
rpm -Uvh rbel5 | |
yum install -y rubygem-chef | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@srininara - are you still seeing an old chef version? Specifying the right repo URL could help it choose something newer: http://packages.chef.io/repos/yum/stable/el/7/x86_64/ .