puppet-tripleo/spec/classes/tripleo_host_liquidio_config_spec.rb
hanish gogada c0cc54face Implements: liquidio-containerization
Modified Liquidio puppet module for containerization support.
These changes would support both baremetal and container based
deployments.

Change-Id: Ice2baafae2fb1011e16d83c83b5c85f721f6d679
2018-09-28 12:10:47 +05:30

21 lines
601 B
Ruby

require 'spec_helper'
describe 'tripleo::host::liquidio::config' do
let :params do
{ :liquidio_config => {
'DEFAULT/foo' => { 'value' => 'fooValue' },
'DEFAULT/bar' => { 'value' => 'barValue' },
'DEFAULT/baz' => { 'ensure' => 'absent' }
},
}
end
it 'configures arbitrary liquidio configurations' do
is_expected.to contain_liquidio_config('DEFAULT/foo').with_value('fooValue')
is_expected.to contain_liquidio_config('DEFAULT/bar').with_value('barValue')
is_expected.to contain_liquidio_config('DEFAULT/baz').with_ensure('absent')
end
end