From 6dc3bca3de544486a8aa9be4173d6cc36c775c50 Mon Sep 17 00:00:00 2001 From: Julian Edwards Date: Fri, 3 Feb 2017 16:15:44 +1000 Subject: [PATCH] Fix policy file usage --- templates/ironic.conf.j2 | 1 + templates/policy.json.j2 | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/ironic.conf.j2 b/templates/ironic.conf.j2 index 013e76f4..4f95665e 100644 --- a/templates/ironic.conf.j2 +++ b/templates/ironic.conf.j2 @@ -147,6 +147,7 @@ pool_max_size = {{ ironic_wsgi_processes }} [oslo_policy] +policy_file = /etc/ironic/policy.json [pxe] tftp_server = {{ ironic_tftp_server_address }} diff --git a/templates/policy.json.j2 b/templates/policy.json.j2 index 10a95eec..f7726778 100644 --- a/templates/policy.json.j2 +++ b/templates/policy.json.j2 @@ -1,5 +1,3 @@ -# Beginning with the Newton release, you may leave this file empty -# to use default policy defined in code. { "admin_api": "role:admin or role:administrator", "show_password": "!",