Unverified Commit 972b0808 authored by anarcat's avatar anarcat
Browse files

need to deploy changes *before* we remove directories

This is especially important if we do a vanity host, to avoid breaking links.
parent 694ba751
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -122,6 +122,11 @@ This procedure is common to all cases:

 5. remove the `sudo` rules for the role user

 6. deploy the changes globally:

        ssh staticiforme 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
    `staticiforme`, but can be elsewhere) and mirrors, for example:
 
@@ -160,11 +165,6 @@ If we do *not* want to keep a vanity site, we should also do this:

 3. remove the Let's encrypt certificate, see [howto/letsencrypt](howto/letsencrypt) for details

To deploy the changes globally immediately, run this:

        ssh staticiforme puppet agent -t
        cumin 'C:roles::static_mirror_web or C:roles::static_mirror_web_vanity' 'puppet agent -t'

## Pager playbook

TODO: add a pager playbook.