AMBARI-18244. Add Service for Atlas did not call conf-select, so failed to find /etc/atlas/conf/users-credentials.properties (alejandro)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f4250b46 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f4250b46 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f4250b46 Branch: refs/heads/2.4.0-maint Commit: f4250b46df0f478c47494ece033a9da38eba9bbc Parents: 689d446 Author: Alejandro Fernandez <[email protected]> Authored: Tue Aug 23 17:14:16 2016 -0700 Committer: Alejandro Fernandez <[email protected]> Committed: Tue Aug 23 17:14:16 2016 -0700 ---------------------------------------------------------------------- .../resource_management/libraries/functions/conf_select.py | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/f4250b46/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py ---------------------------------------------------------------------- diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py b/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py index b7e873f..c60b324 100644 --- a/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py +++ b/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py @@ -45,6 +45,12 @@ from resource_management.libraries.functions import StackFeature STACK_ROOT_PATTERN = "{{ stack_root }}" _PACKAGE_DIRS = { + "atlas": [ + { + "conf_dir": "/etc/atlas/conf", + "current_dir": "{0}/current/atlas-client/conf".format(STACK_ROOT_PATTERN) + } + ], "accumulo": [ { "conf_dir": "/etc/accumulo/conf",
