diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-07-12 03:28:26 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-07-12 03:28:27 +0000 |
commit | d875a57472d6046fd6296758c0299495d1c10f6b (patch) | |
tree | de30fff198eacdf129236debf7d00b36385c09f1 /spec/classes | |
parent | ec9aea34c7f520b1a2a9138574bf5ba4f0a6b4c9 (diff) | |
parent | d71697a419f459b8fa4b748a64ac6580b3a82456 (diff) |
Merge "Do not fail if PCI device is missing"
Diffstat (limited to 'spec/classes')
-rw-r--r-- | spec/classes/tripleo_host_sriov_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/classes/tripleo_host_sriov_spec.rb b/spec/classes/tripleo_host_sriov_spec.rb index 920eb9b..eb2213a 100644 --- a/spec/classes/tripleo_host_sriov_spec.rb +++ b/spec/classes/tripleo_host_sriov_spec.rb @@ -17,8 +17,8 @@ describe 'tripleo::host::sriov' do end it 'configures numvfs' do - is_expected.to contain_sriov_vf_config('eth0:4').with( :ensure => 'present' ) - is_expected.to contain_sriov_vf_config('eth1:5').with( :ensure => 'present') + is_expected.to contain_sriov_vf_config('eth0:4') + is_expected.to contain_sriov_vf_config('eth1:5') is_expected.to contain_tripleo__host__sriov__numvfs_persistence('persistent_numvfs').with( :vf_defs => ['eth0:4','eth1:5'], :content_string => "#!/bin/bash\n" |