Skip to content

Instantly share code, notes, and snippets.

@jtsaito
Last active August 29, 2015 14:07
Show Gist options
  • Save jtsaito/46bea2949f27cc4e4915 to your computer and use it in GitHub Desktop.
Save jtsaito/46bea2949f27cc4e4915 to your computer and use it in GitHub Desktop.
Adding a new receipt to OPS Works Custom Cookbooks
  1. Checkout Custom Cookbooks git repo, edit cookbook sub directory you want to edit (e.g, "my-backup")
  2. Make your changes, upload branch
  3. Include recipe (e.g., "my-backup::monitoring") to your OPS Works layer's Custom Cookbooks
  4. Set branch in OPS Works Stack settings
  5. Update cookbooks (Deployments => Run Command)
  6. Trigger setup (Deployments => Setup)
  7. Find site-cookbooks directory on instance node
  8. Edit cookboooks on instance node and trigger setup to run remote changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment