Last active
December 14, 2015 09:09
-
-
Save bryanwb/5063043 to your computer and use it in GitHub Desktop.
idea for resources in chef-stage
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
stage "nokogiri_deps" do | |
resources do | |
include_recipe "yumrepo::epel" # you can't do shit on rhel w/out epel repo first installed | |
%w{ libxslt libxml2 libxml2-devel libxslt-devel }.each do |pkg| | |
package pkg | |
end | |
# let's assume w/ chef-stage that chef-gem runs during the specified stage and not immediately as it does currently | |
chef_gem "nokogiri" | |
end | |
order 0 # run before main converge pass | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment