Browse Source

Merge "Enable policy rule management in nova-compute"

changes/27/824827/1
Zuul 4 months ago committed by Gerrit Code Review
parent
commit
409d04c6b5
  1. 5
      manifests/profile/base/nova/compute.pp
  2. 4
      spec/classes/tripleo_profile_base_nova_compute_spec.rb

5
manifests/profile/base/nova/compute.pp

@ -46,6 +46,11 @@ class tripleo::profile::base::nova::compute (
include nova::key_manager
include nova::key_manager::barbican
# NOTE(tkajinam): Policies are used in some features in nova-compute,
# For example when connecting an instance to an external
# network
include nova::policy
# deploy basic bits for nova-compute
include nova::compute

4
spec/classes/tripleo_profile_base_nova_compute_spec.rb

@ -32,6 +32,7 @@ describe 'tripleo::profile::base::nova::compute' do
is_expected.to_not contain_class('nova::vendordata')
is_expected.to_not contain_class('nova::key_manager')
is_expected.to_not contain_class('nova::key_manager::barbican')
is_expected.to_not contain_class('nova::policy')
is_expected.to_not contain_class('nova::compute')
is_expected.to_not contain_class('nova::network::neutron')
}
@ -63,6 +64,7 @@ eos
is_expected.to contain_class('nova::vendordata')
is_expected.to contain_class('nova::key_manager')
is_expected.to contain_class('nova::key_manager::barbican')
is_expected.to contain_class('nova::policy')
is_expected.to contain_class('nova::compute')
is_expected.to contain_class('nova::network::neutron')
is_expected.to_not contain_package('nfs-utils')
@ -79,6 +81,7 @@ eos
is_expected.to contain_class('nova::vendordata')
is_expected.to contain_class('nova::key_manager')
is_expected.to contain_class('nova::key_manager::barbican')
is_expected.to contain_class('nova::policy')
is_expected.to contain_class('nova::compute')
is_expected.to contain_class('nova::network::neutron')
is_expected.to contain_package('nfs-utils')
@ -95,6 +98,7 @@ eos
is_expected.to contain_class('nova::vendordata')
is_expected.to contain_class('nova::key_manager')
is_expected.to contain_class('nova::key_manager::barbican')
is_expected.to contain_class('nova::policy')
is_expected.to contain_class('nova::compute')
is_expected.to contain_class('nova::network::neutron')
is_expected.to contain_package('nfs-utils')

Loading…
Cancel
Save