puppet-ironic/manifests/inspector/db/sync.pp
Tobias Urdin 5e6151be97 Convert all class usage to relative names
Change-Id: Iea5de7192d01739024d17e9813fe591f230aaf4d
2019-12-08 23:08:32 +01:00

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',
}
}