Skip to content

Instantly share code, notes, and snippets.

@serkanh
Created November 4, 2014 21:09
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 serkanh/2c5fbb53c47c703add14 to your computer and use it in GitHub Desktop.
Save serkanh/2c5fbb53c47c703add14 to your computer and use it in GitHub Desktop.
Manually run chef on Opsworks 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 ~ubuntu/attributes.json -o recipe[map-proxy::config]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment