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: Ifb01a82e74d3ab46f76d1f94a685e96c86119258
Closes-Bug: #1628580
This commit is contained in:
Sharat Sharma 2016-09-29 12:50:25 +05:30
parent 85b8ed949a
commit 1cf9c3f3c1
1 changed files with 2 additions and 0 deletions

View File

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