9412a6f45a
This adds defined anchor points for external modules to hook into the software install, config and service dependency chain. This allows external modules to manage software installation (virtualenv, containers, etc) and service management (pacemaker) without needing rely on resources that may change or be renamed. Change-Id: If27e91cee37d816bfc7b577a154c71a9e5a48324
26 lines
559 B
Puppet
26 lines
559 B
Puppet
#
|
|
# Class to execute murano dbsync
|
|
#
|
|
class murano::db::sync {
|
|
|
|
include ::murano::deps
|
|
include ::murano::params
|
|
|
|
exec { 'murano-dbmanage':
|
|
command => $::murano::params::dbmanage_command,
|
|
path => '/usr/bin',
|
|
user => 'murano',
|
|
refreshonly => true,
|
|
try_sleep => 5,
|
|
tries => 10,
|
|
logoutput => on_failure,
|
|
subscribe => [
|
|
Anchor['murano::install::end'],
|
|
Anchor['murano::config::end'],
|
|
Anchor['murano::dbsync::begin']
|
|
],
|
|
notify => Anchor['murano::dbsync::end'],
|
|
}
|
|
|
|
}
|