Skip to content

Commit 98bd137

Browse files
author
Gabriel Monroy
committed
restrict converge controller to recipe[deis::gitosis]
we can re-add the runlist override now that Chef 11.6.x has fixed the bug where it would save the override runlist on the node
1 parent 575c707 commit 98bd137

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cm/chef.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ def converge_controller():
159159
:returns: the output of the convergence command, in this case `sudo chef-client`
160160
"""
161161
try:
162-
return subprocess.check_output(['sudo', 'chef-client'])
162+
# we only need to run the gitosis recipe to update `git push` ACLs
163+
return subprocess.check_output(['sudo', 'chef-client', '-o', 'recipe[deis::gitosis]'])
163164
except subprocess.CalledProcessError as err:
164165
print(err)
165166
print(err.output)

0 commit comments

Comments
 (0)