Skip to content

Instantly share code, notes, and snippets.

@alexlovelltroy
Created January 13, 2015 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexlovelltroy/e89cabda7d6497d18e84 to your computer and use it in GitHub Desktop.
Save alexlovelltroy/e89cabda7d6497d18e84 to your computer and use it in GitHub Desktop.
test opsworks
# use this file to run chef locally on an opsworks instance
# You'll need to put it in /opt/aws/opsworks/current <-- it should contain a bin/ subdir
# to use it, find reasonable paths for substitution and call your recipe like this:
# bin/chef-solo -o <cookbook>::<recipe> -c test.rb -j /var/lib/aws/opsworks/chef/<date>.json -l info
# The next line is the only thing you really need in this file. The rest is documentation
cookbook_path ["/opt/aws/opsworks/current/merged-cookbooks"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment