# cd /opt/aws/opsworks/current
# bundle exec knife cookbook create xxx -o /tmp/cookbook -c conf/solo.rb
# bundle exec chef-solo -c conf/solo.rb -o xxx
$ sudo bash -c 'cd /opt/aws/opsworks/current/site-cookbooks; git pull origin master; bundle exec chef-solo -c ../conf/solo.rb -o xxx'
$ opsworks-agent-cli run_command configure