Horizon: Install required policy files for heat-dashboard

Since the commit 8e7914fce24d2c9d94a83795983aaa0fb05f020c was merged,
heat-dashboard no longer use policy.json but it use two yaml files to
manage policy rules. This change updates managed files for
heat-dashboard accordingly.

Change-Id: I0cae18c1d5169cd444a14ba3b56de24dede5919c
This commit is contained in:
Takashi Kajinami 2021-06-05 12:15:52 +09:00
parent 5338b559ea
commit f9715a66e2

View File

@ -104,8 +104,11 @@ function config_heat_dashboard {
done
config_dashboard "${ENABLE_HEAT:-no}" \
"${SITE_PACKAGES}/heat_dashboard/conf/heat_policy.json" \
"/etc/openstack-dashboard/heat_policy.json"
"${SITE_PACKAGES}/heat_dashboard/conf/heat_policy.yaml" \
"/etc/openstack-dashboard/heat_policy.yaml"
config_dashboard "${ENABLE_HEAT:-no}" \
"${SITE_PACKAGES}/heat_dashboard/conf/default_policies/heat.yaml" \
"/etc/openstack-dashboard/default_policies/heat.yaml"
}
function config_ironic_dashboard {