crowbar/barclamp-chef — pull request #11 by aabes (2013-01-19 00:09:07+00:00)
Title: Chef barclamp - install key, conn info and friends [2/2]

repeat of external credentials for chef, after cmdb->jig
* jig entries created when proposal committs
* in crowbar cli, key_name is expanded to actual key, and placed into proposal
* Chef::REST is monkeypatched to provide DB sourced key for authorization - tested to work w/ and w/o connection info (i.e. don't break current admin install)
* crowbar calback - "commit_proposal" to barclamps to allow them to (optionally) act at proposal commit time
* barclamp_install_action in chef barclamp conditionally creates crowbar user in chef

bin/crowbar_chef | 2 +-
bin/make_crowbar_user.sh | 28 ++++++++++++
chef/data_bags/crowbar/bc-template-chef.json | 4 +-
chef/data_bags/crowbar/bc-template-chef.schema | 4 +-
crowbar.yml | 1 +
crowbar_framework/app/models/chef_service.rb | 25 +++++++++++
crowbar_framework/app/models/jig_chef.rb | 13 ++++++
crowbar_framework/app/models/jig_chef_conn_info.rb | 2 +-
crowbar_framework/app/models/monkeypatch/rest.rb | 45 ++++++++++++++++++++
.../20130103013025_create_chef_conn_info.rb | 2 +-
crowbar_framework/test/fixtures/chef.pem | 28 ++++++++++++
11 files changed, 149 insertions(+), 5 deletions(-)

Crowbar-Pull-ID: 9945cd360a8663f448c4e229cf377825801a3f6d

Crowbar-Release: development