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:
Takashi Kajinami 2021-07-11 12:26:18 +09:00
parent 168d1eb182
commit 5850aba4a8
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ class placement::api (
) inherits placement::params {
include placement::deps
include placement::policy
if $manage_service {
if $api_service_name == 'httpd' {

View File

@ -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],