Generate policy.yaml.sample

Generating a yaml file called policy.json.sample is a bit misleading
because the file is not valid json, this change fixes that, with the
intention that the user can copy policy.yaml.sample to
/etc/ironic/policy.yaml and make customizations.

Change-Id: Ie6d5c8c38d785005d2bf2dc8f9f7ac42c2e8f7fb
This commit is contained in:
Steve Baker 2021-02-11 11:52:51 +13:00
parent af29f398cc
commit 235115099a

View File

@ -1,3 +1,3 @@
[DEFAULT]
output_file = etc/ironic/policy.json.sample
output_file = etc/ironic/policy.yaml.sample
namespace = ironic.api