Skip to content

Instantly share code, notes, and snippets.

@dodizzle
Created December 22, 2011 21:29
Show Gist options
  • Select an option

  • Save dodizzle/1511939 to your computer and use it in GitHub Desktop.

Select an option

Save dodizzle/1511939 to your computer and use it in GitHub Desktop.
patch to monitor ec2 nodes remotly
<% if n.has_key? "ec2" -%>
address <%= n['ec2']['public_ipv4'] %>
<% else -%>
address <%= n['ipaddress'] %>
<% end -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment