crowbar/barclamp-clouderamanager — pull request #112 by Paul-Webster (2013-05-06 15:19:12+00:00)
Title: Hadoop 2.3/pebbles/RHEL 6.4 - CM API dev work - Submitter: Paul Webster  Reviewer: Vinayak Ponangi [1/1]

Hadoop 2.3/pebbles/RHEL 6.4 - CM API dev work - Submitter: Paul Webster Reviewer: Vinayak Ponangi
* Added the to_safe_url() method to libraries/resource.rb (Resource Object)
in order to allow the RESTful API base URL to contain embedded spaces
(i.e. CM cluster name = "Cluster 1 - CDH 4").
Patched the new method call into POST, PUT, GET and DELETE.
* Removed the cm_server text field from the Crowbar Cloudera Manager proposal
because this node location is explicitly determined by Crowbar role
assignment and the field is not required.

.../clouderamanager/attributes/default.rb | 3 +-
.../clouderamanager/libraries/resource.rb | 24 ++++++++++++++++---
.../crowbar/bc-template-clouderamanager.json | 3 +-
.../crowbar/bc-template-clouderamanager.schema | 1 -
crowbar.yml | 1 -
.../clouderamanager/_edit_attributes.html.haml | 6 +----
6 files changed, 23 insertions(+), 15 deletions(-)

Crowbar-Pull-ID: 5d296978cf96a0cd837f2d228fdc5af262c64330

Crowbar-Release: pebbles