Created
June 29, 2012 14:51
-
-
Save lewg/3018413 to your computer and use it in GitHub Desktop.
Chef gem dependency workaround
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
# Install Build Essentials immediately to build the ruby-shadow gem | |
gem_prereqs = ["build-essential"] | |
gem_prereqs.each do |pkg| | |
p = package "#{pkg}" do | |
action :nothing | |
end | |
p.run_action(:install) | |
end | |
# Install the Ruby Shadow Library into chef | |
chef_gem "ruby-shadow" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment