2040b31029
With the move of existing policy.json files into code, the file may no longer be shipped by packaging. The json augeas lens requires that the file exist or it fails. This change adds a file resource to ensure the file exists with a basic json construct prior to managing the contents with augeas. Change-Id: I26e8b1384f4f69712da9d06a4c565dfd1f17c9ed Related-Bug: #1742154
10 lines
447 B
YAML
10 lines
447 B
YAML
---
|
|
fixes:
|
|
- |
|
|
The upstream services are moving their policy files into code which means
|
|
they may not exist if a user tries to customize the policies. We've added
|
|
an file resource to openstacklib::policy::base to ensure the file exists
|
|
but this means that the user/group need to be passed into the module or
|
|
it will possibly lock out services from being able to read this file as
|
|
the defaults limit it to just root:root.
|