crowbar/barclamp-crowbar — pull request #682 by VictorLowther (2013-09-06 06:06:51+00:00)
Title: CB 2.0 can bootstrap an admin node to having a provisioner [1/7]

To try it out:

* Build an ISO
* Install the admin node.
* Install crowbar with /opt/dell/bin/install-crowbar your.test.name
* Wait for the install to "finish"
* Check out the functional UI @ 192.168.124.10:3000
* Run these soon-to-be-unneeded-commands:
* su - crowbar
* cd /opt/dell/crowbar_framework
* bundle exec script/rails c production
* Node.make_admin!
* NodeRole.converge!
* Watch the node roles converge in the UI.
* Marvel at how much more granular it is.
* Gaze in awe at the detailed per-node display of inbound and
outbound data.
* Tremble at a UI that displays what exactly happened to make a node
role do its thing.
* Profit.

.../app/models/barclamp_crowbar/jig.rb | 16 +---
crowbar_framework/app/models/node.rb | 32 +++++--
crowbar_framework/app/models/node_role.rb | 101 ++++++++++++++++----
crowbar_framework/app/models/role.rb | 36 +++++--
.../app/views/node_roles/show.html.haml | 5 +-
.../db/migrate/20120731310000_create_node_roles.rb | 2 +
6 files changed, 148 insertions(+), 44 deletions(-)

Crowbar-Pull-ID: c3b0cb7e352feeff6881ccd3369d63b7170a505b

Crowbar-Release: development