We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e79524 commit 7e7708bCopy full SHA for 7e7708b
plans/subplans/install.pp
@@ -407,7 +407,10 @@
407
)
408
409
$bg_db_run = background('database-targets') || {
410
- run_task('peadm::puppet_runonce', $database_targets)
+ run_task('peadm::puppet_runonce', $database_targets, {
411
+ '_timeout' => 900, # 15 minutes for puppet run
412
+ '_catch_errors' => true # Don't fail the entire plan if this times out
413
+ })
414
}
415
416
parallelize($agent_installer_targets) |$target| {
@@ -429,7 +432,7 @@
429
432
run_task('peadm::puppet_runonce', $target)
430
433
431
434
- wait([$bg_db_run])
435
+ wait([$bg_db_run], '_timeout' => 1200)
436
437
# The puppetserver might be in the middle of a restart after the Puppet run,
438
# so we check the status by calling the api and ensuring the puppetserver is
0 commit comments