
Change-Id: I07c22568ca6c6d1155626fff7cf1d3ca3c6fd5c5 Implements: blueprint add-puppet-mistral
16 lines
357 B
Puppet
16 lines
357 B
Puppet
#
|
|
# Class to execute "mistral-dbsync"
|
|
#
|
|
class mistral::db::sync {
|
|
|
|
exec { 'mistral-dbsync':
|
|
command => $::mistral::params::dbsync_command,
|
|
path => '/usr/bin',
|
|
user => 'mistral',
|
|
logoutput => on_failure,
|
|
subscribe => File[$::mistral::params::mistral_conf],
|
|
}
|
|
|
|
Exec['mistral-dbsync'] ~> Service<| title == 'mistral' |>
|
|
}
|