... | ... | @@ -125,12 +125,14 @@ This procedure is common to all cases: |
|
|
6. 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
|
|
|
`staticiforme`, but can be elsewhere) and mirrors, for example:
|
|
|
|
|
|
ssh staticiforme "mv /home/ooni /home/ooni-OLD ; echo rm -rf /home/ooni-OLD | at now + 7 days"
|
|
|
ssh static-master-fsn "rm -rf /srv/static.torproject.org/master/onionperf.torproject.org*"
|
|
|
cumin -o txt 'C:roles::static_mirror_web' 'mv /srv/static.torproject.org/mirrors/ooni.torproject.org /srv/static.torproject.org/mirrors/ooni.torproject.org-OLD'
|
|
|
cumin -o txt 'C:roles::static_mirror_web' 'echo rm -rf /srv/static.torproject.org/mirrors/ooni.torproject.org-OLD | at now + 7 days'
|
|
|
|
... | ... | |