diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-04-21 06:00:55 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-04-21 06:00:55 +0000 |
commit | 11fbb033092bf1b45b092fc3b349a6f821503ef3 (patch) | |
tree | fb7d71b256372dfe981f5f4606b95d3536349460 | |
parent | ef4a1da270f92aaf0c4fdb06fadaaec932149d49 (diff) | |
parent | 9e81a1bcec901596136ee1f7353f2bd66008c98a (diff) |
Merge "Move ceilometer wsgi to step 3" into stable/ocata
-rw-r--r-- | manifests/profile/base/ceilometer/api.pp | 2 | ||||
-rw-r--r-- | spec/classes/tripleo_profile_base_ceilometer_api_spec.rb | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/manifests/profile/base/ceilometer/api.pp b/manifests/profile/base/ceilometer/api.pp index 254cee8..468f79a 100644 --- a/manifests/profile/base/ceilometer/api.pp +++ b/manifests/profile/base/ceilometer/api.pp @@ -76,7 +76,7 @@ class tripleo::profile::base::ceilometer::api ( $tls_keyfile = undef } - if $step >= 4 { + if $step >= 3 { include ::ceilometer::api include ::apache::mod::ssl class { '::ceilometer::wsgi::apache': diff --git a/spec/classes/tripleo_profile_base_ceilometer_api_spec.rb b/spec/classes/tripleo_profile_base_ceilometer_api_spec.rb index acc9b51..5b4cb90 100644 --- a/spec/classes/tripleo_profile_base_ceilometer_api_spec.rb +++ b/spec/classes/tripleo_profile_base_ceilometer_api_spec.rb @@ -22,8 +22,8 @@ describe 'tripleo::profile::base::ceilometer::api' do "class { '::tripleo::profile::base::ceilometer': step => #{params[:step]}, rabbit_hosts => ['localhost.localdomain'] }" end - context 'with step less than 4' do - let(:params) { { :step => 3 } } + context 'with step less than 2' do + let(:params) { { :step => 2 } } it 'should do nothing' do is_expected.to contain_class('tripleo::profile::base::ceilometer::api') @@ -32,9 +32,9 @@ describe 'tripleo::profile::base::ceilometer::api' do end end - context 'with step 4' do + context 'with step 3' do let(:params) { { - :step => 4, + :step => 3, } } it 'should trigger complete configuration' do |