Revert "Don't use retries for puppet deployments by default"

Instead of just setup zero retries we should give ability to
changing this parameter explicitly using web interface or fuel
cli

Related-Bug: #1510912
This reverts commit c145db3476.

Change-Id: I8d3b98d66df19f070f6b06134869248a7c3d45fc
This commit is contained in:
Vladimir Sharshov 2015-10-28 10:31:35 +00:00 committed by Vladimir Sharshov (warpc)
parent cfd5d6b916
commit 687458e949
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ module Astute
conf[:puppet_timeout] = 90 * 60 # maximum time it waits for single puppet run
conf[:puppet_deploy_interval] = 2 # sleep for ## sec, then check puppet status again
conf[:puppet_fade_timeout] = 120 # how long it can take for puppet to exit after dumping to last_run_summary
conf[:puppet_retries] = 0 # how many times astute will try to run puppet
conf[:puppet_retries] = 2 # how many times astute will try to run puppet
conf[:mc_retries] = 10 # MClient tries to call mcagent before failure
conf[:mc_retry_interval] = 1 # MClient sleeps for ## sec between retries
conf[:puppet_fade_interval] = 30 # retry every ## seconds to check puppet state if it was running