From cab5e191ad027a9f7be9d6c09f15e0ad0d8232bd Mon Sep 17 00:00:00 2001 From: Sharat Sharma Date: Thu, 29 Sep 2016 12:33:04 +0530 Subject: [PATCH] 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: I983008e9cdd46f64ee91712c602712d4eed31714 Closes-Bug: #1628580 --- manifests/db/sync.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index b43dd48..a6cfe92 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -21,6 +21,8 @@ class magnum::db::sync( path => '/usr/bin', user => $user, refreshonly => true, + try_sleep => 5, + tries => 10, logoutput => on_failure, }