Ensure inspector.conf is read by WSGI app

The ironic-inspector-api WSGI application attempts to load
ironic-inspector.conf instead of inspector.conf .

Change-Id: Ic27c96b872cf92762f045018003bc9dad8f5bae2
This commit is contained in:
Takashi Kajinami 2024-10-11 14:50:08 +09:00
parent 487b591a33
commit 7835a23bab

View File

@ -532,6 +532,13 @@ class ironic::inspector (
}
if ! $standalone {
file { '/etc/ironic-inspector/ironic-inspector.conf':
ensure => 'link',
target => '/etc/ironic-inspector/inspector.conf',
require => Anchor['ironic-inspector::install::end'],
before => Anchor['ironic-inspector::service::begin'],
}
package { 'ironic-inspector-api':
ensure => $package_ensure,
name => $::ironic::params::inspector_api_package,