crowbar/barclamp-provisioner — pull request #229 by cloudedge (2013-11-26 04:38:53+00:00)
Title: Improve workflow for simulated nodes and add node.hint for future function [2/2]

1) Improve the way that we handle simulated machines (prep for Docker) so that we skip the
provisioner logic more naturally. The original code used the Jig.active(test) check while
the new approach requires that the simulator (or Docker or node adder) use the "noop" Bootenv
to tell Crowbar to skip provisioning.

1a) Expose bootenv on the UI

2) Fix issue where provisioner looks for Crowbar key that is not present in test mode
does not cause failures. If it's missing in production mode then raise a better error

3) Add node.hint field into the database. This is WIP for allowing users to make requests for
Crowbar to implement during operations (already updated in the docs).

TO DO ITEMS:
1) test bootenv in BDD (may add to this pull)
2) continue to work on hint

.../app/models/barclamp_provisioner/os_install.rb | 4 ++--
.../app/models/barclamp_provisioner/server.rb | 18 +++++++++++++++++-
2 files changed, 19 insertions(+), 3 deletions(-)

Crowbar-Pull-ID: f6953a47db518d6a0bd0831843a23ccde9340576

Crowbar-Release: development