From 8310b0690584be7cf7bd48340fc933790c234239 Mon Sep 17 00:00:00 2001 From: Cody Herriges <193064+ody@users.noreply.github.com> Date: Wed, 15 Jun 2022 16:52:52 +0000 Subject: [PATCH] Restart compiler services Restarts compiler services on infrastructure nodes which are unlikely to have them restarted by final Puppet run. --- plans/convert.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plans/convert.pp b/plans/convert.pp index 544e232d..146d6dea 100644 --- a/plans/convert.pp +++ b/plans/convert.pp @@ -242,6 +242,11 @@ # that would cause the runs to fail on all the rest. run_task('peadm::puppet_runonce', $primary_target) run_task('peadm::puppet_runonce', $all_targets - $primary_target) + + # Restart cluster compiler services that are likely not restarted by our + # final Puppet run to increase chance everything is functional upon plan + # completion + run_command('systemctl restart pe-puppetserver.service pe-puppetdb.service', $all_targets - $primary_target) } return("Conversion to peadm Puppet Enterprise ${arch['architecture']} completed.")