inspector: fix perms on /var/lib/ironic

This patch fixes permissions on the /var/lib/ironic directory when
it gets used by ironic-inspector. It was previously getting owned as
root:root which causes functional issues with the ironic-conductor
service on the same node which expects it to be ironic:ironic.

Change-Id: I408f791af1d6dca059836efc197d814ec63f942d
Closes-bug: #1746553
This commit is contained in:
Dan Prince 2018-01-31 12:02:40 -05:00
parent 541adb47d1
commit 8b578da433

View File

@ -91,6 +91,9 @@ outputs:
- path: /var/log/ironic-inspector
owner: ironic-inspector:ironic-inspector
recurse: true
- path: /var/lib/ironic
owner: ironic:ironic
recurse: true
/var/lib/kolla/config_files/ironic_inspector_dnsmasq.json:
config_files:
- source: "/var/lib/kolla/config_files/src/*"