ZhongShengping 19462cb3ee Add the setting log level
Increase the setting log level in the synchronization database.

Change-Id: Ia2fc51601ed54837c2b5e7da34e9ea12f1d0bf62
Closes-Bug: #1683567
2017-04-18 11:42:25 +08:00

25 lines
543 B
Puppet

#
# Class to execute "zaqar-sql-db-manage upgrade head"
#
class zaqar::db::sync {
include ::zaqar::deps
exec { 'zaqar-db-sync':
command => 'zaqar-sql-db-manage upgrade head',
path => '/usr/bin',
user => 'zaqar',
refreshonly => true,
try_sleep => 5,
tries => 10,
logoutput => on_failure,
subscribe => [
Anchor['zaqar::install::end'],
Anchor['zaqar::config::end'],
Anchor['zaqar::dbsync::begin']
],
notify => Anchor['zaqar::dbsync::end'],
}
}