File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ def fail_to_mirror():
19
19
def recover_origin ():
20
20
"""Recovers GOV.UK to serve from origin after incident.fail_to_mirror has been invoked"""
21
21
puppet .enable ()
22
- puppet .agent ("--test" )
22
+ puppet .agent ()
23
23
print ("Puppet has been re-enabled, has run and the site should now be serving from origin as normal." )
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def update_database():
30
30
31
31
# Run puppet, which will download the database dump, recreate the Mapit
32
32
# database using the dump and start the services which were stopped earlier
33
- execute (puppet .agent , '--test' )
33
+ execute (puppet .agent )
34
34
35
35
36
36
@task
Original file line number Diff line number Diff line change 3
3
4
4
5
5
def puppet (* args ):
6
- sudo ('govuk_puppet %s' % ' ' .join (args ))
6
+ sudo ('govuk_puppet --test %s' % ' ' .join (args ))
7
7
8
8
9
9
@task (default = True )
You can’t perform that action at this time.
0 commit comments