Merge pull request #25 from mnederlof/ceph-backend-host

Use backend_host for ceph backends, to join hosts into one single entity
diff --git a/cinder/controller.sls b/cinder/controller.sls
index 6ee10e1..fc39ebb 100644
--- a/cinder/controller.sls
+++ b/cinder/controller.sls
@@ -341,6 +341,9 @@
   cinderng.volume_type_present:
   - name: {{ backend.type_name }}
   - profile: {{ credentials }}
+  {%- if controller.get('role', 'primary') == 'secondary' %}
+  - onlyif: /bin/false
+  {%- endif %}
   - require:
     - service: cinder_controller_services
 
@@ -350,6 +353,9 @@
   - key: volume_backend_name
   - value: {{ backend_name }}
   - profile: {{ credentials }}
+  {%- if controller.get('role', 'primary') == 'secondary' %}
+  - onlyif: /bin/false
+  {%- endif %}
   - require:
     - cinderng: cinder_type_create_{{ backend_name }}