You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2015/01/06 16:15:26 UTC

ambari git commit: AMBARI-9008. Ubuntu repositories for RU are generated in wrong way (dlysnichenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk b3e556f78 -> 2d4011eba


AMBARI-9008. Ubuntu repositories for RU are generated in wrong way (dlysnichenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2d4011eb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2d4011eb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2d4011eb

Branch: refs/heads/trunk
Commit: 2d4011ebaf4aa7df4bfe0c2d3e313b938fbf710f
Parents: b3e556f
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Tue Jan 6 17:14:47 2015 +0200
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Tue Jan 6 17:14:47 2015 +0200

----------------------------------------------------------------------
 .../src/main/resources/custom_actions/scripts/install_packages.py  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2d4011eb/ambari-server/src/main/resources/custom_actions/scripts/install_packages.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/custom_actions/scripts/install_packages.py b/ambari-server/src/main/resources/custom_actions/scripts/install_packages.py
index d49bdf5..3221cdb 100644
--- a/ambari-server/src/main/resources/custom_actions/scripts/install_packages.py
+++ b/ambari-server/src/main/resources/custom_actions/scripts/install_packages.py
@@ -131,7 +131,7 @@ class InstallPackages(Script):
     else:
       repo['mirrorsList'] = url_info['mirrorsList']
 
-    ubuntu_components = [url_info['repositoryId']] + self.UBUNTU_REPO_COMPONENTS_POSTFIX
+    ubuntu_components = [url_info['name']] + self.UBUNTU_REPO_COMPONENTS_POSTFIX
     file_name = self.REPO_FILE_NAME_PREFIX + repository_version
 
     Repository(repo['repoName'],