crowbar/barclamp-chef — pull request #46 by VictorLowther (2013-03-25 21:50:07+00:00)
Title: Make creating Chef objects via the API actually function. [2/2]

This pull request allows the Chef jig to create the Chef node, client,
and node role objects directly instead of needing to issue knife
commands.

Along the way, it also simplifies how some of the chef jig stuff is
handled, and enforces that There Shall Only Be One instance of the
chef jig object on the system at any given time. We do this because
we have to do evil hacks to the Chef::REST class to inject our auth
information, and we may as well not give anyone the illusion that we
can talk to more than one chef server.

.../barclamp_chef/app/models/barclamp_chef/jig.rb | 157 ++++++++++++++++----
.../20130103013025_create_chef_conn_info.rb | 25 ----
.../20130103013026_create_chef_admin_instance.rb | 27 ----
.../barclamp_chef/lib/barclamp_chef/chef_api.rb | 111 --------------
.../lib/barclamp_chef/monkeypatch/rest.rb | 47 ------
5 files changed, 129 insertions(+), 238 deletions(-)

Crowbar-Pull-ID: 359f04772f934645f40b525b894c9854c7e58320

Crowbar-Release: development