Deprecate support for policy.json
Because usage of json for policy file will be deprecated and replaced by yaml[1]. [1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html Change-Id: I6deff3f1153222f807f4bb9eabedcccabf544f74
This commit is contained in:
parent
0ffc8e1c4b
commit
a2bc259853
|
@ -45,6 +45,8 @@ define openstacklib::policy::base (
|
|||
|
||||
case $file_format {
|
||||
'json': {
|
||||
warning('Json format is deprecated and will be removed in a future release')
|
||||
|
||||
ensure_resource('file', $file_path, {
|
||||
mode => $file_mode,
|
||||
owner => $file_user,
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
deprecations:
|
||||
- |
|
||||
Json format of policy files has been deprecated and will be removed in
|
||||
a future release. Use yaml format instead.
|
Loading…
Reference in New Issue