crowbar/barclamp-chef — pull request #25 by aabes (2013-02-27 19:34:23+00:00)
Title: rake tasks for connection info, more engine cleanup [1/1]

Add the following rake commands to manage chef connection information in the DB

rake crowbar:chef:list_conn - list current connections in the db
rake crowbar:chef:clear_conn - delete all connections
rake crowbar:chef:inject_conn[url, name, key_file-location] - insert a new connection

Other minor changes that should not break things...

.../app/models/barclamp_chef/barclamp.rb | 2 +-
.../barclamp_chef/app/models/barclamp_chef/jig.rb | 79 -----------------
.../app/models/barclamp_chef/jig_chef_conn_info.rb | 2 +-
.../app/models/barclamp_chef/monkeypatch/rest.rb | 45 ----------
.../20130103013025_create_chef_conn_info.rb | 2 +-
.../barclamp_chef/lib/barclamp_chef/chef_api.rb | 89 ++++++++++++++++++++
.../barclamp_chef/lib/barclamp_chef/engine.rb | 6 ++
.../lib/barclamp_chef/inject_connection.rake | 45 ++++++++++
.../lib/barclamp_chef/monkeypatch/rest.rb | 45 ++++++++++
9 files changed, 188 insertions(+), 127 deletions(-)

Crowbar-Pull-ID: a58af6e6041bae2131b4c2cf9d046f01e570b913

Crowbar-Release: development