ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxm...@apache.org
Subject incubator-ariatosca git commit: ARIA-142-defaults-missing-for-execution-plugin
Date Thu, 20 Apr 2017 11:31:34 GMT
Repository: incubator-ariatosca
Updated Branches:
  refs/heads/master 8e5a1ec2f -> 1321d2720


ARIA-142-defaults-missing-for-execution-plugin


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/1321d272
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/1321d272
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/1321d272

Branch: refs/heads/master
Commit: 1321d27204429195c80c86fa944613d43e61aa0e
Parents: 8e5a1ec
Author: max-orlov <maxim@gigaspaces.com>
Authored: Wed Apr 19 21:31:08 2017 +0300
Committer: max-orlov <maxim@gigaspaces.com>
Committed: Thu Apr 20 13:56:26 2017 +0300

----------------------------------------------------------------------
 aria/orchestrator/execution_plugin/instantiation.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/1321d272/aria/orchestrator/execution_plugin/instantiation.py
----------------------------------------------------------------------
diff --git a/aria/orchestrator/execution_plugin/instantiation.py b/aria/orchestrator/execution_plugin/instantiation.py
index 7627a38..ce114f0 100644
--- a/aria/orchestrator/execution_plugin/instantiation.py
+++ b/aria/orchestrator/execution_plugin/instantiation.py
@@ -73,8 +73,8 @@ def _configure_remote(operation, configuration, arguments):
     if ('password' not in ssh) and ('key' not in ssh) and ('key_filename' not in ssh):
         ssh['password'] = default_password
 
-    arguments['use_sudo'] = ssh.get('use_sudo')
-    arguments['hide_output'] = ssh.get('hide_output')
+    arguments['use_sudo'] = ssh.get('use_sudo', False)
+    arguments['hide_output'] = ssh.get('hide_output', [])
     arguments['fabric_env'] = {}
     if 'warn_only' in ssh:
         arguments['fabric_env']['warn_only'] = ssh['warn_only']


Mime
View raw message