Use node.override for SSL resources

- HTTP is the default, but node.normal will not apply the HTTPS changes
  correctly without node.override

Change-Id: I123bb1baa37f540f908633f34693d4d7834032f1
This commit is contained in:
Samuel Cassiba 2018-07-16 12:42:58 -07:00
parent 2727d676ff
commit 3ee1872f7f
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ describe 'openstack-integration-test::setup' do
describe 'tempest.conf with HTTPS' do
let(:runner) { ChefSpec::SoloRunner.new(UBUNTU_OPTS) }
let(:chef_run) do
runner.node.normal['openstack']['endpoints']['public']['identity']['scheme'] = 'https'
runner.node.override['openstack']['endpoints']['public']['identity']['scheme'] = 'https'
runner.converge(described_recipe)
end
let(:file) { chef_run.template('/opt/tempest/etc/tempest.conf') }