crowbar/barclamp-deployer — pull request #170 by cloudedge (2013-12-16 00:37:18+00:00)
Title: Allow users to set MAC address in DHCP database when node is created AND deal w/ issues created when we changed the attribute system [5/5]

This pull request started as a very simple, add another HINT into nodes for DHCP database.
This was added to the provisioner database and includes TESTs.

Creating those tests exposed a lot of work needed to make sure that BDD was testing
the full annealer including that background workers were running and the annealer
queue was flushed before we checked for changed states.

During that time, @VictorLowther changed the way that we deal with attributes. I
updated the code in the node.hint to also use the attribute system as designed.
This was a good improvement and more general.

The attribute system changes exposed inconsistencies in how we were dealing with
role.template and other places were we store data. I had to fix all those so
that the tests were passing.

TESTS ROCK.

chef/roles/bmc-nat-client/node-template.json | 44 --------------------------
chef/roles/bmc-nat-client/role-template.json | 41 ------------------------
chef/roles/bmc-nat-router/node-template.json | 44 --------------------------
chef/roles/bmc-nat-router/role-template.json | 41 ------------------------
4 files changed, 170 deletions(-)

Crowbar-Pull-ID: 66d40a815aa402d4c2c9bee71df46a05ed8e8f57

Crowbar-Release: development