Repository: ambari Updated Branches: refs/heads/trunk e14f3530f -> 6a552002d
AMBARI-9249. Downloads configuration files have not same values that files at nodes. (dlysnichenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6a552002 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6a552002 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6a552002 Branch: refs/heads/trunk Commit: 6a552002d27cf79886edd8205faaba5d3469454c Parents: e14f353 Author: Lisnichenko Dmitro <dlysniche...@hortonworks.com> Authored: Thu Jan 22 17:21:49 2015 +0200 Committer: Lisnichenko Dmitro <dlysniche...@hortonworks.com> Committed: Thu Jan 22 17:24:11 2015 +0200 ---------------------------------------------------------------------- .../main/python/resource_management/libraries/script/script.py | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6a552002/ambari-common/src/main/python/resource_management/libraries/script/script.py ---------------------------------------------------------------------- diff --git a/ambari-common/src/main/python/resource_management/libraries/script/script.py b/ambari-common/src/main/python/resource_management/libraries/script/script.py index 9fe6957..683397a 100644 --- a/ambari-common/src/main/python/resource_management/libraries/script/script.py +++ b/ambari-common/src/main/python/resource_management/libraries/script/script.py @@ -412,6 +412,9 @@ class Script(object): Generates config files and stores them as an archive in tmp_dir based on xml_configs_list and env_configs_list from commandParams """ + import params + env.set_params(params) + config = self.get_config() xml_configs_list = config['commandParams']['xml_configs_list']