Last active
August 29, 2015 14:05
-
-
Save tfitch/b7f4226988300b67df2f to your computer and use it in GitHub Desktop.
Name/value pairs dynamic fail
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
# outputs the same as hardcoded-recipe.rb but does *not* work | |
iis_pool 'MyAppPool' do | |
node['config']['setting'].each do |setting, value| | |
"#{setting}" "#{value}" | |
end | |
action :config | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment