[horizon] Copy Masakari policy in YAML format

Since commit 39f03063c0b0b22e608bbc606423e51be632be2a in
masakari-dashboard (also in Depends-On), Masakari dashboard uses
and distributes only the policy in YAML format.

Depends-On: https://review.opendev.org/c/openstack/masakari-dashboard/+/798842
Change-Id: Id1aad2c8894331b9540bfc66177368536667f003
This commit is contained in:
Radosław Piliszek 2021-08-07 09:29:34 +00:00
parent ea6ceef686
commit eedcfb5150

View File

@ -149,8 +149,8 @@ function config_masakari_dashboard {
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
done
config_dashboard "${ENABLE_MASAKARI:-no}"\
"${SITE_PACKAGES}/masakaridashboard/conf/masakari_policy.json" \
"/etc/openstack-dashboard/masakari_policy.json"
"${SITE_PACKAGES}/masakaridashboard/conf/masakari_policy.yaml" \
"/etc/openstack-dashboard/masakari_policy.yaml"
config_dashboard "${ENABLE_MASAKARI:-no}"\
"${SITE_PACKAGES}/masakaridashboard/local/local_settings.d/_50_masakari.py" \
"${SITE_PACKAGES}/openstack_dashboard/local/local_settings.d/_50_masakari.py"