add-iscsi-drivers-hplefthand
Change-Id: I8c04df045a99abf38c729f3436bbcf2d3c20f4aa
diff --git a/cinder/volume.sls b/cinder/volume.sls
index 46a361b..7913071 100644
--- a/cinder/volume.sls
+++ b/cinder/volume.sls
@@ -54,7 +54,7 @@
{%- for backend_name, backend in volume.get('backend', {}).iteritems() %}
-{%- if backend.engine == 'iscsi' %}
+{%- if backend.engine in ['iscsi' , 'hp_lefthand'] %}
cinder_iscsi_packages_{{ loop.index }}:
pkg.installed:
@@ -136,7 +136,7 @@
{%- if volume.storage is defined %}
-{%- if volume.storage.engine == 'iscsi' %}
+{%- if volume.storage.engine in ['iscsi', 'hp_lefthand'] %}
cinder_iscsi_packages:
pkg.installed: