Skip to content

Commit 8075c10

Browse files
committed
Merge pull request #375 from opdemand/upgrade-workflow
Restrict converge controller to recipe[deis::gitosis]
2 parents cf3242a + 98bd137 commit 8075c10

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)