Enable policy settings in placement-api
This change makes placement::policy included by the api class automatically to enable oslo.policy settings automatically in the placement service. Closes-Bug: #1935761 Change-Id: I75f518c9f9a23237e59c2452462d261517df5e64
This commit is contained in:
parent
168d1eb182
commit
5850aba4a8
@ -49,6 +49,7 @@ class placement::api (
|
||||
) inherits placement::params {
|
||||
|
||||
include placement::deps
|
||||
include placement::policy
|
||||
|
||||
if $manage_service {
|
||||
if $api_service_name == 'httpd' {
|
||||
|
@ -9,6 +9,7 @@ describe 'placement::api' do
|
||||
end
|
||||
|
||||
it { should contain_class('placement::deps') }
|
||||
it { should contain_class('placement::policy') }
|
||||
it { should contain_placement__generic_service('api').with(
|
||||
:service_name => platform_params[:service_name],
|
||||
:package_name => platform_params[:package_name],
|
||||
|
Loading…
Reference in New Issue
Block a user