Skip to content

Instantly share code, notes, and snippets.

@lee
Created August 23, 2010 19:07
Show Gist options
  • Save lee/546103 to your computer and use it in GitHub Desktop.
Save lee/546103 to your computer and use it in GitHub Desktop.
# code in cookbooks/main/definitions/ey_cloud_report.rb
if node[:output_cloud_reporting_locally]
 # output locally with "puts" statements
else
 # use engineyard's specialized reporting
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment