... | ... | @@ -303,6 +303,10 @@ Another example, this will reboot all hosts running Debian `bookworm`: |
|
|
|
|
|
./reboot -H $(ssh puppetdb-01.torproject.org "curl -s -G http://localhost:8080/pdb/query/v4 --data-urlencode 'query=inventory[certname] { facts.os.distro.codename = \"bookworm\" }'" | jq -r '.[].certname' | sort -R)
|
|
|
|
|
|
And this will reboot all hosts with a pending kernel upgrade (updates only when puppet agent runs):
|
|
|
|
|
|
./reboot -H $(ssh puppetdb-01.torproject.org "curl -s -G http://localhost:8080/pdb/query/v4 --data-urlencode 'query=inventory[certname] { facts.apt_reboot_required = true }'" | jq -r '.[].certname' | sort -R)
|
|
|
|
|
|
## Rebooting Ganeti nodes
|
|
|
|
|
|
See the [Ganeti reboot procedures](howto/ganeti#rebooting) for this procedure.
|
... | ... | |