Skip to content

Instantly share code, notes, and snippets.

@tfitch
Last active August 29, 2015 14:05
Show Gist options
  • Save tfitch/b7f4226988300b67df2f to your computer and use it in GitHub Desktop.
Save tfitch/b7f4226988300b67df2f to your computer and use it in GitHub Desktop.
Name/value pairs dynamic fail
# 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