Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: If81712ed2129684d887668f6320e88a206fdad4b
This commit is contained in:
@@ -32,7 +32,7 @@ describe 'openstacklib::iscsid' do
|
||||
end
|
||||
|
||||
let(:platform_params) do
|
||||
case facts[:osfamily]
|
||||
case facts[:os]['family']
|
||||
when 'Debian'
|
||||
{ :open_iscsi_package_name => 'open-iscsi' }
|
||||
when 'RedHat'
|
||||
|
||||
Reference in New Issue
Block a user