5e6151be97
Change-Id: Iea5de7192d01739024d17e9813fe591f230aaf4d
24 lines
631 B
Puppet
24 lines
631 B
Puppet
#
|
|
# Class to execute ironic-inspector dbsync
|
|
#
|
|
class ironic::inspector::db::sync {
|
|
|
|
include ironic::deps
|
|
include ironic::params
|
|
|
|
exec { 'ironic-inspector-dbsync':
|
|
command => $::ironic::params::inspector_dbsync_command,
|
|
path => '/usr/bin',
|
|
user => 'ironic-inspector',
|
|
refreshonly => true,
|
|
logoutput => on_failure,
|
|
subscribe => [
|
|
Anchor['ironic-inspector::install::end'],
|
|
Anchor['ironic-inspector::config::end'],
|
|
Anchor['ironic-inspector::dbsync::begin']
|
|
],
|
|
notify => Anchor['ironic-inspector::dbsync::end'],
|
|
tag => 'openstack-db',
|
|
}
|
|
}
|