Created
November 4, 2014 21:09
-
-
Save serkanh/2c5fbb53c47c703add14 to your computer and use it in GitHub Desktop.
Manually run chef on Opsworks instance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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