Merge "Add per module policy service refresh"

This commit is contained in:
Zuul 2023-06-26 05:03:59 +00:00 committed by Gerrit Code Review
commit 19a6e5090d
3 changed files with 5 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class horizon::deps {
# policy config should occur in the config block
Anchor['horizon::config::begin']
-> Openstacklib::Policy<||>
-> Openstacklib::Policy<| tag == 'horizon' |>
~> Anchor['horizon::config::end']
# Installation or config changes will always restart services.

View File

@ -52,6 +52,7 @@ define horizon::policy::base(
file_group => $::horizon::params::wsgi_group,
file_mode => $file_mode,
file_format => $file_format,
purge_config => $purge_config
purge_config => $purge_config,
tag => 'horizon',
}
}

View File

@ -25,6 +25,7 @@ eos
:file_group => platform_params[:wsgi_group],
:file_mode => '0640',
:purge_config => false,
:tag => 'horizon',
)
end
end
@ -53,6 +54,7 @@ eos
:file_group => platform_params[:wsgi_group],
:file_mode => '0644',
:purge_config => true,
:tag => 'horizon',
)
end
end