Set this back to the original value. (Fixes salt-ssh bug)

This commit is contained in:
Mike Place 2014-05-23 14:38:17 -06:00
parent 7abc25f67f
commit ee652333dd

View File

@ -735,7 +735,7 @@ class Single(object):
else:
# RSTR was found in stdout but not stderr - which means there
# is a SHIM command for the master.
shim_command = re.split(r'\r?\n', stdout, 1)[1].strip()
shim_command = re.split(r'\r?\n', stdout, 1)[0].strip()
if 'deploy' == shim_command and retcode == salt.exitcodes.EX_THIN_DEPLOY:
self.deploy()
stdout, stderr, retcode = self.shell.exec_cmd(cmd_str)