Created
September 1, 2014 21:22
-
-
Save tfitch/3d21d18ca4e859b59ab7 to your computer and use it in GitHub Desktop.
Name/value pairs dynamic works
This file contains hidden or 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
# same result as hardcoded-recipe.rb but now driven by Attributes | |
iis_pool 'MyAppPool' do | |
node['config']['setting'].each do |setting, value| | |
send(setting, value) | |
end | |
action :config | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment