Skip to content

Instantly share code, notes, and snippets.

@albulescu
Last active August 29, 2015 14:17
Show Gist options
  • Save albulescu/2c186e66b17212eb8ed7 to your computer and use it in GitHub Desktop.
Save albulescu/2c186e66b17212eb8ed7 to your computer and use it in GitHub Desktop.
Manually run chef-solo on instance
echo "cookbook_path [\"/opt/aws/opsworks/current/site-cookbooks\"]" > solo.rb && opsworks-agent-cli get_json > attributes.json && sudo /opt/aws/opsworks/current/bin/chef-solo -c ./solo.rb -j ./attributes.json -o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment