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: I747ad31ea7095c27f0760aec8f1ccea2195223cc Closes-Bug: #1628580
This commit is contained in:
parent
54d8acc9dc
commit
ad711e929d
|
@ -17,6 +17,8 @@ class glare::db::sync(
|
|||
user => 'glare',
|
||||
path => [ '/bin/', '/usr/bin/' , '/usr/local/bin' ],
|
||||
refreshonly => true,
|
||||
try_sleep => 5,
|
||||
tries => 10,
|
||||
subscribe => [Package['glare'], Glare_config['database/connection']],
|
||||
}
|
||||
Exec['glare-db-sync'] ~> Service<| title == 'glare' |>
|
||||
|
|
Loading…
Reference in New Issue