summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2017-02-09 10:30:54 -0500
committerEmilien Macchi <emilien@redhat.com>2017-02-09 10:30:54 -0500
commit3b00ffc728b47e132b3ed8bc460f8697ddb32047 (patch)
tree55501dca73c4af48deca4f70b36678b26bf91a97 /spec
parent40f12b482d0b514ee05c898bc04c0ca0628c8692 (diff)
start nova-compute when keystone resources are created
1. Move keystone resources management at step 4. 2. Move nova-compute startup at step 5. That way, we make sure nova-compute will start when all Keystone resources are ready. Change-Id: I6e153e11b8519254d2a67b9142bf774a25bce69d Closes-Bug: #1663273
Diffstat (limited to 'spec')
-rw-r--r--spec/classes/tripleo_profile_base_nova_compute_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/classes/tripleo_profile_base_nova_compute_spec.rb b/spec/classes/tripleo_profile_base_nova_compute_spec.rb
index a0b2387..d9433be 100644
--- a/spec/classes/tripleo_profile_base_nova_compute_spec.rb
+++ b/spec/classes/tripleo_profile_base_nova_compute_spec.rb
@@ -19,7 +19,7 @@ require 'spec_helper'
describe 'tripleo::profile::base::nova::compute' do
shared_examples_for 'tripleo::profile::base::nova::compute' do
- context 'with step less than 4' do
+ context 'with step less than 5' do
let(:params) { { :step => 1, } }
it {
@@ -32,7 +32,7 @@ describe 'tripleo::profile::base::nova::compute' do
}
end
- context 'with step 4' do
+ context 'with step 5' do
let(:pre_condition) do
<<-eos
class { '::tripleo::profile::base::nova':
@@ -43,7 +43,7 @@ eos
end
context 'default params' do
- let(:params) { { :step => 4, } }
+ let(:params) { { :step => 5, } }
it {
is_expected.to contain_class('tripleo::profile::base::nova::compute')
@@ -58,7 +58,7 @@ eos
end
context 'cinder nfs backend' do
- let(:params) { { :step => 4, :cinder_nfs_backend => true } }
+ let(:params) { { :step => 5, :cinder_nfs_backend => true } }
it {
is_expected.to contain_class('tripleo::profile::base::nova::compute')