Blob Blame History Raw
diff -ruN a/manifests/volume/iscsi.pp b/manifests/volume/iscsi.pp
--- a/manifests/volume/iscsi.pp	2013-11-27 17:40:05.000000000 +0100
+++ b/manifests/volume/iscsi.pp	2014-03-01 00:58:43.833508034 +0100
@@ -2,7 +2,7 @@
 class cinder::volume::iscsi (
   $iscsi_ip_address,
   $volume_group      = 'cinder-volumes',
-  $iscsi_helper      = 'tgtadm'
+  $iscsi_helper      = 'lioadm'
 ) {
 
   include cinder::params
@@ -38,6 +38,13 @@
       }
     }
 
+    'lioadm': {
+      package { 'targetcli':
+        ensure => present,
+        name   => 'targetcli',
+      }
+    }
+
     default: {
       fail("Unsupported iscsi helper: ${iscsi_helper}.")
     }