This came up during T334519: upgrade phab (phorge) hosts to bullseye while re-imaging phab1004.
Notes from https://etherpad.wikimedia.org/p/phabricator-20240120
- What we did
- add class scap::user to the phabricator migration role in https://gerrit.wikimedia.org/r/991945
- Once scap user was there we ran deploy2002: scap install-world -l phab1004.eqiad.wmnet
- manually symlink /usr/bin/scap to /var/lib/scap/scap/bin/scap
- reran puppet
- deploy2002 /srv/deployment/phabricator/deploy: scap deploy -l phab1004.eqiad.wmnet