File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 305305 # Restart cluster compiler services that are likely not restarted by our
306306 # final Puppet run to increase chance everything is functional upon plan
307307 # completion
308- run_command('systemctl restart pe-puppetserver.service',
309- $all_targets - $primary_target - $primary_postgresql_target - $replica_postgresql_target )
308+ run_command('systemctl restart pe-puppetserver.service', $legacy_compiler_targets )
310309
311310 # PuppetDB is only found on modern compilers, not legacy ones
312- run_command('systemctl restart pe-puppetdb.service',
313- $all_targets - $primary_target - $primary_postgresql_target - $replica_postgresql_target - $legacy_compiler_targets )
311+ run_command('systemctl restart pe-puppetdb.service pe-puppetserver.service', $compiler_hosts )
314312
315313 # Run puppet on all targets again to ensure everything is fully up-to-date
316314 run_task('peadm::puppet_runonce', $all_targets )
You can’t perform that action at this time.
0 commit comments