Browse Source

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
changes/98/239898/3
Vladimir Sharshov 7 years ago committed by Vladimir Sharshov (warpc)
parent
commit
687458e949
  1. 2
      lib/astute/config.rb

2
lib/astute/config.rb

@ -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

Loading…
Cancel
Save