Debian upgrades of Tails nodes
:warning: This page documents what i recall from the upgrade procedure which,
as far as i know, was undocumented until the moment of writing. It may be
incomplete and we may do something different for the bookworm → trixie
upgrades (see tpo/tpa/team#42071).
- Update the
profile::tails::aptclass to account for the new version. - For each node:
- Start a
tmuxorscreensession on the host where the upgrade will be happening. - Set
profile::tails::apt::codenamein hiera for the node with the codename of the new debian version, commit, push. - Run Puppet once so the distro codename is updated.
- Run
apt full-upgradeandapt autopurgemanually. - Run Puppet in the node until it converges.
- Reboot the machine.
- Check that everything works fine.
- Once all nodes have been upgraded, update the
$codenameparameter in theprofile::tails::aptclass and remove the per-node configuration in hiera.