diff --git a/howto/static-component.md b/howto/static-component.md index abe01a447a08fc70c1b6f9a46a30e6af7b29a463..0d703b69ab799863b940dd70972b6062ed1005da 100644 --- a/howto/static-component.md +++ b/howto/static-component.md @@ -135,13 +135,13 @@ This procedure is common to all cases: Use vanity-host onionperf.torproject.org ^/(.*)$ https://gitlab.torproject.org/tpo/metrics/team/-/wikis/onionperf - 6. deploy the changes globally: + 7. deploy the changes globally: ssh staticiforme puppet agent -t ssh static-master-fsn puppet agent -t cumin 'C:roles::static_mirror_web or C:roles::static_mirror_web_vanity' 'puppet agent -t' - 6. remove the home directory specified on the server (often + 8. remove the home directory specified on the server (often `staticiforme`, but can be elsewhere) and mirrors, for example: ssh staticiforme "mv /srv/onionperf.torproject.org/htdocs/ /srv/onionperf.torproject.org/htdocs-OLD ; echo rm -rf /srv/onionperf.torproject.org/htdocs-OLD | at now + 7 days" @@ -149,10 +149,10 @@ This procedure is common to all cases: cumin -o txt 'C:roles::static_mirror_web' 'mv /srv/static.torproject.org/mirrors/onionperf.torproject.org /srv/static.torproject.org/mirrors/onionperf.torproject.org-OLD' cumin -o txt 'C:roles::static_mirror_web' 'echo rm -rf /srv/static.torproject.org/mirrors/onionperf.torproject.org-OLD | at now + 7 days' - 7. consider removing the role user and group in LDAP, if there are no + 9. consider removing the role user and group in LDAP, if there are no files left owned by that user - 8. remove from Nagios, e.g.: + 10. remove from Nagios, e.g.: - name: mirror static sync - onionperf @@ -162,10 +162,10 @@ This procedure is common to all cases: If we do *not* want to keep a vanity site, we should also do this: - 2. remove the host to DNS, if not already present, see [howto/dns](howto/dns). this + 1. remove the host to DNS, if not already present, see [howto/dns](howto/dns). this can be either in `dns/domains.git` or `dns/auto-dns.git` - 3. remove the Let's encrypt certificate, see [howto/letsencrypt](howto/letsencrypt) for details + 2. remove the Let's encrypt certificate, see [howto/letsencrypt](howto/letsencrypt) for details ## Pager playbook