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: I094f592989928cefef0b9cd9c7b9d837f51d03b1
Closes-Bug: #1628580
This commit is contained in:
Sharat Sharma 2016-09-29 12:23:49 +05:30
parent 171a02094d
commit 5e3b5e050f

View File

@ -21,6 +21,8 @@ class heat::db::sync(
path => '/usr/bin',
user => 'heat',
refreshonly => true,
try_sleep => 5,
tries => 10,
logoutput => on_failure,
subscribe => [
Anchor['heat::install::end'],