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: I6a19e10ec305f54232293fd9807217291bf50875
Closes-Bug: #1628580
This commit is contained in:
Sharat Sharma 2016-09-29 11:36:34 +05:30
parent c4f24cb85c
commit bac067fff5

View File

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