You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ariatosca.apache.org by mx...@apache.org on 2017/07/04 13:13:47 UTC

incubator-ariatosca git commit: ARIA-202 Execution plugin assumes \/tmp for temp directory on the local\/remote machine

Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-202-Execution-plugin-assumes-/tmp-for-temp-directory-on-the-local/remote-machine 3583f8c6c -> df9cb509b


ARIA-202 Execution plugin assumes \/tmp for temp directory on the local\/remote machine


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

Branch: refs/heads/ARIA-202-Execution-plugin-assumes-/tmp-for-temp-directory-on-the-local/remote-machine
Commit: df9cb509ba2a62374ca80fd910a7e58beebe244c
Parents: 3583f8c
Author: max-orlov <ma...@gigaspaces.com>
Authored: Tue Jul 4 16:13:41 2017 +0300
Committer: max-orlov <ma...@gigaspaces.com>
Committed: Tue Jul 4 16:13:41 2017 +0300

----------------------------------------------------------------------
 aria/orchestrator/execution_plugin/constants.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/df9cb509/aria/orchestrator/execution_plugin/constants.py
----------------------------------------------------------------------
diff --git a/aria/orchestrator/execution_plugin/constants.py b/aria/orchestrator/execution_plugin/constants.py
index 8082e95..1953912 100644
--- a/aria/orchestrator/execution_plugin/constants.py
+++ b/aria/orchestrator/execution_plugin/constants.py
@@ -16,6 +16,8 @@
 """
 Execution plugin constants.
 """
+import os
+import tempfile
 
 from . import exceptions
 
@@ -28,7 +30,7 @@ DEFAULT_POWERSHELL_EXECUTABLE = 'powershell'
 ILLEGAL_CTX_OPERATION_MESSAGE = 'ctx may only abort or retry once'
 
 # related to ssh
-DEFAULT_BASE_DIR = '/tmp/aria-ctx'
+DEFAULT_BASE_DIR = os.path.join(tempfile.gettempdir(), 'aria-ctx')
 FABRIC_ENV_DEFAULTS = {
     'connection_attempts': 5,
     'timeout': 10,