You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2014/01/17 11:49:58 UTC
git commit: AMBARI-4328. Storm fails deploy with quoted hosts string
(aonishuk)
Updated Branches:
refs/heads/trunk db379b16e -> 207f4bc6f
AMBARI-4328. Storm fails deploy with quoted hosts string (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/207f4bc6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/207f4bc6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/207f4bc6
Branch: refs/heads/trunk
Commit: 207f4bc6f0516e3655c5861d9c3915618a15c8d3
Parents: db379b1
Author: Andrew Onischuk <ao...@hortonworks.com>
Authored: Fri Jan 17 02:49:14 2014 -0800
Committer: Andrew Onischuk <ao...@hortonworks.com>
Committed: Fri Jan 17 02:49:14 2014 -0800
----------------------------------------------------------------------
.../HDP/2.0.8/services/STORM/package/scripts/yaml_config.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/207f4bc6/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/STORM/package/scripts/yaml_config.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/STORM/package/scripts/yaml_config.py b/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/STORM/package/scripts/yaml_config.py
index 9f08493..1f56486 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/STORM/package/scripts/yaml_config.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/STORM/package/scripts/yaml_config.py
@@ -23,10 +23,9 @@ def escape_yaml_propetry(value):
unquouted = True
except ValueError:
pass
-
- value = value.replace("'","''")
if not unquouted:
+ value = value.replace("'","''")
value = "'"+value+"'"
return value