Expediate a puppet run on all machines, with at most 30 working at once
mpssh -p 30 -f vms -s -u root -r runpuppet
Poll for machines currently running our puppet wrapper
mpssh -p 20 -f vms -s -E "pgrep -f run-update-puppet" | grep " -> "
Check for and trigger reboots for machines with new kernel
mpssh -p 20 -f vms -s -u root -E "list-maintenance | egrep '3\.10' && echo reboot needed"
mpssh -p 20 -f vms -s -u root -E "list-maintenance | egrep '3\.10' && reboot"
Poll for machines that have a new kernel activated
mpssh -p 20 -f vms -s -E "uname -a | grep 3.10"