diff options
author | Rabi Mishra <ramishra@redhat.com> | 2019-02-20 14:51:20 +0530 |
---|---|---|
committer | Rabi Mishra <ramishra@redhat.com> | 2019-04-20 09:05:58 +0530 |
commit | 5bdcaeff018782a956fd8228e04ddd2169c353c6 (patch) | |
tree | e9fd1ad4e4af8acdf417874917e75f25e2e61c58 /setup.cfg | |
parent | 87b4a92a62f1f8b3af00d1e458e15d20b09a11d7 (diff) | |
download | heat-5bdcaeff018782a956fd8228e04ddd2169c353c6.tar.gz |
Add entry_point for oslo policy scripts
With the setup.cfg entry it can be called directly from
oslo.policy.
$oslopolicy-policy-generator --namespace heat
This will get the effective policy that’s being executed.
Change-Id: Iad2e71819f4847f47dd17d3cd4afa78e6b3f52a7
Story: #2005055
Task: 29573
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -60,6 +60,9 @@ oslo.config.opts = oslo.config.opts.defaults = heat.common.config = heat.common.config:set_config_defaults +oslo.policy.enforcer = + heat = heat.common.policy:get_policy_enforcer + oslo.policy.policies = heat = heat.policies:list_rules |