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: I57496bae7a13a300cdc79b22780bce0f9134ddc4
Closes-Bug: #1628580
This commit is contained in:
Sharat Sharma 2016-09-29 12:55:29 +05:30
parent ec4b0488a7
commit b2aeee7afe

View File

@ -25,6 +25,8 @@ class trove::db::sync {
path => '/usr/bin',
user => 'trove',
refreshonly => true,
try_sleep => 5,
tries => 10,
subscribe => [
Anchor['trove::install::end'],
Anchor['trove::config::end'],