dellcloudedge/barclamp-crowbar — pull request #110 by cloudedge (2012-08-01 06:03:24+00:00)
Title: Barclamp import from legacy Crowbar.yml [2/6]

This code imports the barclamp meta data from the crowbar.yml files
of the legacy barclamps.

Migrations are used to manage this process, but the import code is in
the Barclamp model for DRY reasons.

Only Crowbar and Deployer barclamps are updated. We can do the rest
after this has been reviewed.

Next step is to replace catalog.yml

crowbar_framework/app/models/barclamp.rb | 36 ++++++++++++++++++-
...YYYMMDDHHMMSS00_barclamp_import_==BC-MODEL==.rb | 24 +++++++++++++
crowbar_framework/config/locales/crowbar/en.yml | 3 ++
.../db/migrate/20120731225405_create_barclamps.rb | 16 ++++++--
.../20120731230001_barclamp_import_crowbar.rb | 24 +++++++++++++
5 files changed, 97 insertions(+), 6 deletions(-)