File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 343343
344344 peadm::plan_step('finalize') || {
345345 # 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 )
349348 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 )
350351
351352 # Restart cluster compiler services that are likely not restarted by our
352353 # final Puppet run to increase chance everything is functional upon plan
You can’t perform that action at this time.
0 commit comments