Cinder should use lioadm on Fedora

Fedora has lioadm in since F18. It should be default
for any RedHat based system except RHEL6 based ones.

Change-Id: I469f77cd5a77f9c6bc87e16c6faf5ca9612992ef
This commit is contained in:
Lukas Bezdicka 2015-02-28 16:25:09 +01:00
parent 8cc6d0e60e
commit 39b28be817
2 changed files with 4 additions and 2 deletions

View File

@ -50,7 +50,7 @@ class cinder::params {
}
}
default: {
$iscsi_helper = 'tgtadm'
$iscsi_helper = 'lioadm'
}
}

View File

@ -49,7 +49,9 @@ describe 'cinder::volume::iscsi' do
end
let :facts do
{:osfamily => 'RedHat'}
{:osfamily => 'RedHat',
:operatingsystem => 'RedHat',
:operatingsystemmajrelease => '6'}
end
it { should contain_file_line('cinder include').with(