07453f3460
This change updates the ironic_inspector container deployment tasks to use the new kolla ironic-inspector image (see kolla change Ibdc5ba35db61f4974d4282aff34bcb5ccd952d45). The new image uses the ironic-inspector user rather than the ironic user to execute the ironic inspector service as this more closely aligns with what is typically done by downstream packagers (specifically, Ubuntu and RDO). This change sets the owner and group to ironic-inspector when copying configuration files into place, and uses the log directory /var/log/kolla/ironic-inspector. Change-Id: I8579d5c2d741636406ff60bececc74b50743b83e Depends-On: Ibdc5ba35db61f4974d4282aff34bcb5ccd952d45 Closes-Bug: #1624457
19 lines
585 B
Django/Jinja
19 lines
585 B
Django/Jinja
{
|
|
"command": "ironic-inspector --config-file /etc/ironic-inspector/inspector.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/inspector.conf",
|
|
"dest": "/etc/ironic-inspector/inspector.conf",
|
|
"owner": "ironic-inspector",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/policy.json",
|
|
"dest": "/etc/ironic-inspector/policy.json",
|
|
"owner": "ironic-inspector",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
]
|
|
}
|