crowbar/barclamp-chef — pull request #10 by aabes (2013-01-18 00:04:18+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
- 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

(This should wait for main crowbar pull #1675, which adds support for barclamp_install_action in the crowbar.yml file)

bin/make_crowbar_user.sh | 14 +++++++
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/monkeypatch/rest.rb | 39 ++++++++++++++++++++
.../20130103013025_create_chef_conn_info.rb | 2 +-
crowbar_framework/test/fixtures/chef.pem | 28 ++++++++++++++
9 files changed, 127 insertions(+), 3 deletions(-)

Crowbar-Pull-ID: 2efbc30c67af37fd64fcecf05536fe7ecfc2b35f

Crowbar-Release: development