Skip to content

Commit 8431b59

Browse files
committed
Restart compiler services
Restarts compiler services on infrastructure nodes which are unlikely to have them restarted by final Puppet run.
1 parent 64f2c05 commit 8431b59

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

plans/convert.pp

+5
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,11 @@
242242
# that would cause the runs to fail on all the rest.
243243
run_task('peadm::puppet_runonce', $primary_target)
244244
run_task('peadm::puppet_runonce', $all_targets - $primary_target)
245+
246+
# Restart cluster compiler services that are likely not restarted by our
247+
# final Puppet run to increase chance everything is functional upon plan
248+
# completion
249+
run_command('systemctl restart pe-puppetserver.service pe-puppetdb.service', $all_targets - $primary_target)
245250
}
246251

247252
return("Conversion to peadm Puppet Enterprise ${arch['architecture']} completed.")

0 commit comments

Comments
 (0)