crowbar/barclamp-crowbar — pull request #438 by VictorLowther (2013-03-06 18:05:27+00:00)
Title: Allow deployed nodes to run chef-client once and stop. [1/3]

This pull request series does the following:

* Have the node create and destroy actions in the nodes controller also create and destroy the appropriate Chef nodes and clients. This code should vanish and be replaced by the appropriate jig interactions the moment they are written.
* Fix up the test framework to use a selection of different host names for the admin node it deploys, rather than just using admin.smoke.test. This will help catch any hardcoded dependencies on specific hostnames in the future.
* Have the freshly-booted compute node create its node object if it did not get passed its fqdn. This code will not function properly until we have working IP address allocation and enough of the jig in place to rerun the provisioner recipes when the node is detected.

.../app/controllers/nodes_controller.rb | 9 +++++++++
.../app/controllers/support_controller.rb | 4 +---
.../db/migrate/20130228163840_create_admin_node.rb | 14 --------------
3 files changed, 10 insertions(+), 17 deletions(-)

Crowbar-Pull-ID: d0402aca3e2d655006401ce1f098566477fa0a97

Crowbar-Release: development