Skip to content

Commit c8e7c36

Browse files
committed
Merge pull request alphagov#197 from alphagov/make-puppet-noisy-by-default
Make Puppet noisier by default
2 parents aa63dd3 + 182894f commit c8e7c36

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

incident.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ def fail_to_mirror():
1919
def recover_origin():
2020
"""Recovers GOV.UK to serve from origin after incident.fail_to_mirror has been invoked"""
2121
puppet.enable()
22-
puppet.agent("--test")
22+
puppet.agent()
2323
print("Puppet has been re-enabled, has run and the site should now be serving from origin as normal.")

mapit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def update_database():
3030

3131
# Run puppet, which will download the database dump, recreate the Mapit
3232
# database using the dump and start the services which were stopped earlier
33-
execute(puppet.agent, '--test')
33+
execute(puppet.agent)
3434

3535

3636
@task

puppet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
def puppet(*args):
6-
sudo('govuk_puppet %s' % ' '.join(args))
6+
sudo('govuk_puppet --test %s' % ' '.join(args))
77

88

99
@task(default=True)

0 commit comments

Comments
 (0)