crowbar/barclamp-crowbar — pull request #354 by aabes (2013-01-19 00:09:03+00:00)
Title: Chef barclamp - install key, conn info and friends [1/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/barclamp_lib.rb | 6 +++---
chef/cookbooks/crowbar/recipes/default.rb | 6 ------
crowbar_framework/app/models/chef_object.rb | 1 +
crowbar_framework/app/models/jig.rb | 3 +--
crowbar_framework/app/models/service_object.rb | 11 +++++++++++
crowbar_framework/spec/models/jig_spec.rb | 5 +++--
6 files changed, 19 insertions(+), 13 deletions(-)

Crowbar-Pull-ID: 9945cd360a8663f448c4e229cf377825801a3f6d

Crowbar-Release: development