You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vb...@apache.org on 2015/09/10 10:19:28 UTC

ambari git commit: AMBARI-13050. Lzo package requirement.(vbrodetskyi)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 f338d7869 -> d044fb4e0


AMBARI-13050. Lzo package requirement.(vbrodetskyi)


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

Branch: refs/heads/branch-2.1
Commit: d044fb4e072f7ace43d9b3d7a3084c24260f1518
Parents: f338d78
Author: Vitaly Brodetskyi <vb...@hortonworks.com>
Authored: Thu Sep 10 11:19:59 2015 +0300
Committer: Vitaly Brodetskyi <vb...@hortonworks.com>
Committed: Thu Sep 10 11:19:59 2015 +0300

----------------------------------------------------------------------
 .../resource_management/libraries/functions/get_lzo_packages.py  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d044fb4e/ambari-common/src/main/python/resource_management/libraries/functions/get_lzo_packages.py
----------------------------------------------------------------------
diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/get_lzo_packages.py b/ambari-common/src/main/python/resource_management/libraries/functions/get_lzo_packages.py
index 6dbcef5..afee520 100644
--- a/ambari-common/src/main/python/resource_management/libraries/functions/get_lzo_packages.py
+++ b/ambari-common/src/main/python/resource_management/libraries/functions/get_lzo_packages.py
@@ -39,9 +39,9 @@ def get_lzo_packages(stack_version_unformatted):
 
   if hdp_stack_version != "" and compare_versions(hdp_stack_version, '2.2') >= 0:
     if OSCheck.is_redhat_family() or OSCheck.is_suse_family():
-      lzo_packages += [format("hadooplzo_{underscored_version}_*")]
+      lzo_packages += [format("hadooplzo_{underscored_version}_.+")]
     elif OSCheck.is_ubuntu_family():
-      lzo_packages += [format("hadooplzo_{dashed_version}_*")]
+      lzo_packages += [format("hadooplzo_{dashed_version}_.+")]
   else:
     lzo_packages += ["hadoop-lzo"]