Skip to content

Commit a21cc99

Browse files
(PE-41637) change order Convert does final puppet runs
1 parent bdc0cd4 commit a21cc99

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

plans/convert.pp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,11 @@
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

0 commit comments

Comments
 (0)