crowbar/barclamp-test — pull request #62 by VictorLowther (2013-12-04 00:45:29+00:00)
Title: Start rework of attribs to improve data isolation during annealing [3/3]

Start rework of attribs to let them be role driven.

Among the changes:

* Declare default attribs in crowbar.yml, either in a top-level attribs
section or as part of a role.
* Enhance the attrib type finding model to allow for jig-specific
customizations.
* Allow roles to declare that they want specific attributes. Nothing
uses this now, but it will wind up replacing the current attribute
gathering logic that the jigs use.

The aim of this is to lay the groundwork for replacing our
current overly simple strategy for figuring out which attributes to
inject. It does not start the work of replacing that code yet -- that
will come in a future pull request.

crowbar.yml | 8 ++++
.../app/models/barclamp_test/attrib.rb | 44 ----------------------
.../migrate/20130825010101_create_test_attribs.rb | 26 -------------
3 files changed, 8 insertions(+), 70 deletions(-)

Crowbar-Pull-ID: a5df278b8c055255c255e395c0bbfbf2cf28a449

Crowbar-Release: development