crowbar/barclamp-provisioner — pull request #158 by cloudedge (2013-06-28 15:58:37+00:00)
Title: Refactoring WIP with model as per discussions and engine migrations [3/6]

This is a preliminary step for refactoring where a lot of old models have been removed
and new ones added.

I'm pulling out old code and migrating to models

crowbar.yml files are starting to change
new jigs/roles templates are in place

YES> database migrations PASS
YES> the web app IS running (localizations are missing)
NO> tests are not passing

build.sh | 23 ++++
chef/roles/provisioner-base/node-template.json | 132 ++++++++++++++++++++
chef/roles/provisioner-base/role-template.json | 132 ++++++++++++++++++++
chef/roles/provisioner-server/node-template.json | 132 ++++++++++++++++++++
chef/roles/provisioner-server/role-template.json | 132 ++++++++++++++++++++
crowbar.yml | 35 ++----
crowbar_engine/barclamp_provisioner/.gitignore | 7 ++
crowbar_engine/barclamp_provisioner/Gemfile | 17 +++
crowbar_engine/barclamp_provisioner/Rakefile | 40 ++++++
.../app/models/barclamp_provisioner/barclamp.rb | 19 +++
.../barclamp_provisioner/provisioner_service.old | 118 +++++++++++++++++
.../_edit_deployment.html.haml | 12 ++
.../barclamp_provisioner.gemspec | 23 ++++
.../config/initializers/api.rb | 17 +++
.../barclamp_provisioner/config/provisioner/en.yml | 18 +++
.../20120801015057_barclamp_import_provisioner.rb | 24 ++++
.../lib/barclamp_provisioner.rb | 4 +
.../lib/barclamp_provisioner/engine.rb | 5 +
.../lib/barclamp_provisioner/version.rb | 3 +
.../lib/tasks/barclamp_provisioner_tasks.rake | 4 +
.../app/controllers/provisioner_controller.rb | 55 --------
.../app/models/provisioner_service.rb | 118 -----------------
.../provisioner/_edit_deployment.html.haml | 12 --
.../config/locales/provisioner/en.yml | 21 ----
.../20120801015057_barclamp_import_provisioner.rb | 24 ----
script/roles/provisioner-base/node-template.json | 132 ++++++++++++++++++++
script/roles/provisioner-base/role-template.json | 132 ++++++++++++++++++++
script/roles/provisioner-server/node-template.json | 132 ++++++++++++++++++++
script/roles/provisioner-server/role-template.json | 132 ++++++++++++++++++++
29 files changed, 1403 insertions(+), 252 deletions(-)

Crowbar-Pull-ID: 2ee9e50ea662cdce5d83ff9dd64487de46e013ac

Crowbar-Release: development