Added retries for db_sync

If db sync fails, it is never retried leading to errors. So, this
patch adds retries for db_sync to avoid sync fails.

Change-Id: Id89665099079ab5e4c468f7f30953762a248af01
Closes-Bug: #1628580
This commit is contained in:
Sharat Sharma 2016-09-29 13:00:35 +05:30
parent 57a99b5d36
commit abb350c4d9

View File

@ -6,6 +6,8 @@ class zaqar::db::sync {
path => '/usr/bin',
user => 'zaqar',
refreshonly => true,
try_sleep => 5,
tries => 10,
subscribe => [Package['zaqar'], Zaqar_config['database/connection']],
}