You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by se...@apache.org on 2022/04/28 13:07:31 UTC

[bigtop] branch master updated: BIGTOP-3676. Building Ambari for Debian 11 on ppc64le fails due to missing python. (#894)

This is an automated email from the ASF dual-hosted git repository.

sekikn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new 556463f8 BIGTOP-3676. Building Ambari for Debian 11 on ppc64le fails due to missing python. (#894)
556463f8 is described below

commit 556463f80f1022165cc222cbc07ccfe8afbe6947
Author: Kengo Seki <se...@apache.org>
AuthorDate: Thu Apr 28 22:07:25 2022 +0900

    BIGTOP-3676. Building Ambari for Debian 11 on ppc64le fails due to missing python. (#894)
---
 bigtop_toolchain/manifests/packages.pp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bigtop_toolchain/manifests/packages.pp b/bigtop_toolchain/manifests/packages.pp
index b89b653c..a0d1a42c 100644
--- a/bigtop_toolchain/manifests/packages.pp
+++ b/bigtop_toolchain/manifests/packages.pp
@@ -212,7 +212,7 @@ class bigtop_toolchain::packages {
         "python2.7-dev"
       ]
 
-      if ($operatingsystem == 'Ubuntu' and 0 <= versioncmp($operatingsystemmajrelease, '20.04')) {
+      if (($operatingsystem == 'Ubuntu' and 0 <= versioncmp($operatingsystemmajrelease, '20.04')) or ($operatingsystem == 'Debian' and 0 <= versioncmp($operatingsystemmajrelease, '11'))) {
         $pkgs = concat($_pkgs, ["python-is-python2"])
       } else {
         $pkgs = $_pkgs