Skip to content

Instantly share code, notes, and snippets.

@tfitch
Created September 1, 2014 21:22
Show Gist options
  • Save tfitch/3d21d18ca4e859b59ab7 to your computer and use it in GitHub Desktop.
Save tfitch/3d21d18ca4e859b59ab7 to your computer and use it in GitHub Desktop.
Name/value pairs dynamic works
# 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