Skip to content

Instantly share code, notes, and snippets.

@sonnetmia
Created June 4, 2018 08:56
Show Gist options
  • Save sonnetmia/454528aecaf9f25c5db6bf42f2b8d078 to your computer and use it in GitHub Desktop.
Save sonnetmia/454528aecaf9f25c5db6bf42f2b8d078 to your computer and use it in GitHub Desktop.
Useful commands for opsworks and chef 12

' app = search("aws_opsworks_app").first Chef::Log.info("********** The app's short name is '#{app['shortname']}' ") Chef::Log.info(" The app's URL is '#{app['app_source']['url']}' **********") '

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment