brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [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
Date Thu, 26 Jun 2014 11:42:08 GMT
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 <svetoslav.neykov@cloudsoftcorp.com>
Authored: Fri Jun 6 10:13:04 2014 +0300
Committer: Svetoslav Neykov <svetoslav.neykov@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}/"


Mime
View raw message