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: Ib7162c07542d9c8c81ed35f931a2b91281610774
Related-Bug: #1628580
Closes-Bug: #1645474
(cherry picked from commit 3f8e5d1c54)
This commit is contained in:
Sharat Sharma 2016-09-29 12:53:54 +05:30 committed by Anton Chevychalov
parent a33199f5f7
commit 4e6375b047
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ class sahara::db::sync(
path => '/usr/bin',
user => 'sahara',
refreshonly => true,
try_sleep => 5,
tries => 10,
logoutput => on_failure,
}