Browse Source

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
stable/queens
Samuel Cassiba 10 months ago
parent
commit
3ee1872f7f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      spec/setup_spec.rb

+ 1
- 1
spec/setup_spec.rb View File

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

Loading…
Cancel
Save