/usr/share/puppet/modules.available/ironic/manifests/db/inspector_sync.pp is in puppet-module-ironic 7.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #
# Class to execute ironic-inspector dbsync
#
class ironic::db::inspector_sync {
include ::ironic::params
Package<| tag == 'ironic-inspector-package' |> ~> Exec['ironic-inspector-dbsync']
Exec['ironic-inspector-dbsync'] ~> Service <| tag == 'ironic-inspector-service' |>
Ironic_inspector_config<||> -> Exec['ironic-inspector-dbsync']
Ironic_inspector_config<| title == 'database/connection' |> ~> Exec['ironic-inspector-dbsync']
exec { 'ironic-inspector-dbsync':
command => $::ironic::params::inspector_dbsync_command,
path => '/usr/bin',
user => 'ironic-inspector',
refreshonly => true,
logoutput => on_failure,
}
}
|