From abb350c4d97e92f8b7bcfd58f27104136e17b4a5 Mon Sep 17 00:00:00 2001 From: Sharat Sharma Date: Thu, 29 Sep 2016 13:00:35 +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: Id89665099079ab5e4c468f7f30953762a248af01 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 20f9521..5d83226 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -6,6 +6,8 @@ class zaqar::db::sync { path => '/usr/bin', user => 'zaqar', refreshonly => true, + try_sleep => 5, + tries => 10, subscribe => [Package['zaqar'], Zaqar_config['database/connection']], }