Skip to content

Instantly share code, notes, and snippets.

@jsierles
Created March 4, 2009 21:13
Show Gist options
  • Save jsierles/74012 to your computer and use it in GitHub Desktop.
Save jsierles/74012 to your computer and use it in GitHub Desktop.
if node[:ec2] && node[:ec2][:userdata]
ec2_userdata JSON.parse(node[:userdata])
ec2_userdata.each do |k,v|
send(k.to_s, v)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment