Skip to content

Commit 0cf1279

Browse files
author
Gabriel Monroy
committed
print converge output for every node converge, success or fail
1 parent f15e89e commit 0cf1279

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cm/chef.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def converge_node(node):
174174
node['fqdn'], 22,
175175
node['ssh_private_key'])
176176
output, rc = exec_ssh(ssh, 'sudo chef-client')
177+
print(output)
177178
if rc != 0:
178179
e = RuntimeError('Node converge error')
179180
e.output = output

0 commit comments

Comments
 (0)