Files
puppet-mistral/manifests/db/sync.pp
Limor Stotland 3b0bc55c5b puppet-mistral: initial commit
Change-Id: I07c22568ca6c6d1155626fff7cf1d3ca3c6fd5c5
Implements: blueprint add-puppet-mistral
2015-08-09 10:00:45 +00:00

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