dellcloudedge/barclamp-crowbar — pull request #297 by aabes (2012-12-11 21:00:55+00:00)
Title:  [1/2]

Add priority to roles (a CB1.0 feature)
Priorities are specified in the template, using the element_run_list_order element.
See test/data/bc-foo.json for example.

crowbar_framework/Gemfile | 4 +-
crowbar_framework/app/models/barclamp.rb | 79 ++++++++++++--------
crowbar_framework/app/models/cmdb_executer.rb | 38 ++++++++++
crowbar_framework/app/models/proposal.rb | 14 ++++
crowbar_framework/app/models/proposal_config.rb | 1 +
crowbar_framework/app/models/role.rb | 6 +-
.../db/migrate/20120731225504_create_roles.rb | 5 +-
crowbar_framework/spec/models/cmdb_spec.rb | 69 +++++++++++++++++
crowbar_framework/test/data/bc-foo.json | 38 ++++++++++
crowbar_framework/test/test_helper.rb | 2 +
crowbar_framework/test/unit/barclamp_model_test.rb | 16 ++++
11 files changed, 237 insertions(+), 35 deletions(-)

Crowbar-Pull-ID: 402cf1e601c3a1a9a6bdc4cf726a01581eab98f0

Crowbar-Release: development