forked fromalphagov/fabric-scripts
- Notifications
You must be signed in to change notification settings - Fork0
Commit99dbfe4
committed
Adds recover_origin task to Fabric
Whilst we can fail the site to mirrors easily using Fabric, we can't restoreas easily - at least, it's not a super-quick Fabric script.This makes it a nice quick fix. The logic is as follows: - Re-enable Puppet on the affected class - Run Puppet, with some degree of verbosity for confidence - This should restore thewww.gov.uk Nginx vhost - This should restart Nginx because the configuration has changed - Prints a success messageChanges the fail_to_mirror success message to point to using this task infuture to recover back to origin from the mirrors.1 parent301b034 commit99dbfe4
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments
Comments
(0)