|
343 | 343 | |
344 | 344 | peadm::plan_step('finalize') || { |
345 | 345 | # Run Puppet on all targets to ensure catalogs and exported resources fully |
346 | | - # up-to-date. Run on primary first in case puppet server restarts, 'cause |
347 | | - # that would cause the runs to fail on all the rest. |
348 | | - run_task('peadm::puppet_runonce', $primary_target) |
| 346 | + # up-to-date. |
| 347 | + peadm::wait_until_service_ready('pe-master', $primary_target) |
349 | 348 | run_task('peadm::puppet_runonce', $all_targets - $primary_target) |
| 349 | + peadm::wait_until_service_ready('pe-master', $primary_target) |
| 350 | + run_task('peadm::puppet_runonce', $primary_target) |
350 | 351 | |
351 | 352 | # Restart cluster compiler services that are likely not restarted by our |
352 | 353 | # final Puppet run to increase chance everything is functional upon plan |
|
0 commit comments