You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2014/06/26 13:42:08 UTC

[02/21] git commit: The local system temp dir will be used on the entity's remote system. Instead hardcode some universal value ("/tmp"). Analogous to issue #1402. Shouldn't we raise an error in the case where it is needed instead of passing an invalid p

The local system temp dir will be used on the entity's remote system. Instead hardcode some universal value ("/tmp"). Analogous to issue #1402.
Shouldn't we raise an error in the case where it is needed instead of passing an invalid path?


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

Branch: refs/heads/master
Commit: 1de50fa6063c5270c75e48316c487a9045e54e04
Parents: d33199a
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Authored: Fri Jun 6 10:13:04 2014 +0300
Committer: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Committed: Wed Jun 25 18:28:49 2014 +0300

----------------------------------------------------------------------
 core/src/main/java/brooklyn/entity/basic/BrooklynConfigKeys.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/1de50fa6/core/src/main/java/brooklyn/entity/basic/BrooklynConfigKeys.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/brooklyn/entity/basic/BrooklynConfigKeys.java b/core/src/main/java/brooklyn/entity/basic/BrooklynConfigKeys.java
index bcb63d9..b131fb3 100644
--- a/core/src/main/java/brooklyn/entity/basic/BrooklynConfigKeys.java
+++ b/core/src/main/java/brooklyn/entity/basic/BrooklynConfigKeys.java
@@ -61,7 +61,7 @@ public class BrooklynConfigKeys {
         "${"
         + "config['"+ONBOX_BASE_DIR.getName()+"']!"
         + "config['"+BROOKLYN_DATA_DIR.getName()+"']!"
-        + "r'"+Os.mergePathsUnix(Os.tmp(),"brooklyn-"+Os.user())+"'"
+        + "r'"+Os.mergePathsUnix("/tmp","brooklyn-"+Os.user())+"'"
         + "}"
             + "/"
             + "apps/${entity.applicationId}/"