dellcloudedge/barclamp-clouderamanager — pull request #46 by Paul-Webster (2012-11-13 20:50:45+00:00)
Title: Changes to properly support CDH 4.1.1/CM 4.1.0 Quorum based storage. [1/1]

Changes to properly support CDH 4.1.1/CM 4.1.0 Quorum based storage.
.	Created a new crowbar .clouderamanager-ha-journalingnode. role.
.	Conditionalized the code around the .clouderamanager-ha-filernode. role.
.	Refactored the clouderamanager node allocation display list (controller & HAML) to support HA journaling nodes.
.	Changed the controller model to not pre-allocate HA nodes (The end user needs to make the deployment choice now (NFS filer or Quorum based storage).
.	Please let JC pull the merge request - He will be the reviewer for this code refactor.

.../clouderamanager/attributes/default.rb | 37 ++++-----
chef/cookbooks/clouderamanager/metadata.rb | 8 +-
chef/cookbooks/clouderamanager/recipes/cm-agent.rb | 62 +-------------
.../cookbooks/clouderamanager/recipes/cm-common.rb | 86 +++++++++---------
.../clouderamanager/recipes/cm-ha-filer-export.rb | 15 ++--
.../clouderamanager/recipes/cm-ha-filer-mount.rb | 18 ++---
.../clouderamanager/recipes/cm-namenode.rb | 41 +++++++++
.../cookbooks/clouderamanager/recipes/cm-server.rb | 11 +--
.../clouderamanager/recipes/configure-disks.rb | 3 +-
chef/cookbooks/clouderamanager/recipes/default.rb | 91 ++++++++------------
.../clouderamanager/recipes/postgresql.rb | 7 +-
.../templates/default/cm-agent-config.erb | 64 --------------
.../crowbar/bc-template-clouderamanager.json | 20 ++--
chef/roles/clouderamanager-datanode.rb | 28 ++++++
chef/roles/clouderamanager-ha-filer.rb | 27 ------
chef/roles/clouderamanager-ha-filernode.rb | 27 ++++++
chef/roles/clouderamanager-ha-journalingnode.rb | 27 ++++++
chef/roles/clouderamanager-masternamenode.rb | 28 ------
chef/roles/clouderamanager-namenode.rb | 28 ++++++
chef/roles/clouderamanager-secondarynamenode.rb | 28 ------
chef/roles/clouderamanager-server.rb | 27 ++++++
chef/roles/clouderamanager-slavenode.rb | 28 ------
chef/roles/clouderamanager-webapp.rb | 27 ------
crowbar.yml | 14 ++--
.../app/controllers/clouderamanager_controller.rb | 38 ++++-----
.../app/models/clouderamanager_service.rb | 85 ++++++++-----------
.../clouderamanager/_edit_attributes.html.haml | 9 --
.../clouderamanager/_edit_deployment.html.haml | 10 +-
.../views/barclamp/clouderamanager/nodes.html.haml | 53 ++++++------
29 files changed, 405 insertions(+), 542 deletions(-)

Crowbar-Pull-ID: 75cc6c5c5db6221f0595684579705aa1910beebe

Crowbar-Release: fred