dellcloudedge/barclamp-crowbar — pull request #121 by cloudedge (2012-08-04 22:05:48+00:00)
Title: Add barclamp requires and membership [6/11]

This push adds barclamp.members and barclamp.prereqs to the
barclamp model.

The import routine has been updated to correctly populate this data

This required me to reorder the migrations because the order
matters - you cannot import a barclamp if you have not already
imported it's prerequists.

Also, added Docs on some internal Dell stuff thats not on github.

crowbar_framework/app/models/barclamp.rb | 36 +++++++++++++++-----
.../app/models/barclamp_dependency.rb | 2 +-
crowbar_framework/app/models/barclamp_member.rb | 21 +++++++++++
crowbar_framework/app/models/nav.rb | 2 +-
crowbar_framework/app/models/node.rb | 17 +++++++++-
crowbar_framework/app/views/docs/index.html.haml | 4 ++-
crowbar_framework/config/navigation.rb | 24 ++++++-------
.../db/migrate/20120731225405_create_barclamps.rb | 5 ++-
.../20120731225436_create_barclamp_dependencies.rb | 22 ------------
...20120731225436_create_barclamps_dependencies.rb | 24 +++++++++++++
.../20120731225446_create_barclamps_members.rb | 24 +++++++++++++
.../db/migrate/20120731225516_create_nodes.rb | 4 ++
12 files changed, 136 insertions(+), 49 deletions(-)