Merge pull request #15358 from s0undt3ch/hotfix/salt-cloud-regression

Allow the test for an existing directory to fail
This commit is contained in:
Nicole Thomas 2014-08-28 11:57:48 -06:00
commit 44c1517191

View File

@ -966,7 +966,7 @@ def deploy_script(host,
def remote_exists(path): def remote_exists(path):
return not root_cmd('test -e \\"{0}\\"'.format(path), return not root_cmd('test -e \\"{0}\\"'.format(path),
tty, sudo, **kwargs) tty, sudo, allow_failure=True, **kwargs)
log.debug( log.debug(
'Logging into {0}:{1} as {2}'.format( 'Logging into {0}:{1} as {2}'.format(
host, port, username host, port, username