Skip to content

Commit f60c9e4

Browse files
author
Gabriel Monroy
committed
limit to just gitosis recipe on formation destroy (to assist with debugging)
1 parent 5c285d0 commit f60c9e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

celerytasks/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ def destroy_formation(formation_id):
4646
settings.CHEF_CLIENT_NAME,
4747
settings.CHEF_CLIENT_KEY)
4848
_resp, _code = client.delete_databag_item('deis-formations', formation_id)
49-
subprocess.check_call(['sudo', 'chef-client'])
49+
subprocess.check_call(['sudo', 'chef-client', '--override-runlist', 'recipe[deis::gitosis]'])

0 commit comments

Comments
 (0)