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

guyuqi 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 07a38dda8 BIGTOP-3897: Failed to deploy gpdb on Fedora-36 for arm64 
(#1091)
07a38dda8 is described below

commit 07a38dda894ceeda4f91d5f622a1d05171d18f86
Author: Yuqi Gu <[email protected]>
AuthorDate: Fri Mar 24 15:55:34 2023 +0800

    BIGTOP-3897: Failed to deploy gpdb on Fedora-36 for arm64 (#1091)
    
    Change-Id: I61fe91d51b0257096a9bb02e27f313f339ce03b7
    Signed-off-by: Yuqi Gu <[email protected]>
---
 bigtop-deploy/puppet/modules/gpdb/manifests/init.pp | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/bigtop-deploy/puppet/modules/gpdb/manifests/init.pp 
b/bigtop-deploy/puppet/modules/gpdb/manifests/init.pp
index 87445e27b..9795b1db9 100644
--- a/bigtop-deploy/puppet/modules/gpdb/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/gpdb/manifests/init.pp
@@ -110,10 +110,18 @@ class gpdb {
       }
       # GPDB requires the following python packages as of v5.28.5. See
       # 
https://github.com/greenplum-db/gpdb/tree/5X_STABLE#building-greenplum-database-with-gporca.
-      exec { 'install_python_packages':
-        command => "/usr/bin/env pip install -q 'cryptography<3.3' lockfile 
paramiko psutil",
-        require => [Exec["install_pip"]],
-        timeout => 600,
+      if ($operatingsystem == 'CentOS') {
+        exec { 'install_python_packages':
+          command => "/usr/bin/env pip install -q 'cryptography<3.3' lockfile 
paramiko psutil",
+          require => [Exec["install_pip"]],
+          timeout => 600,
+        }
+      } else {
+        exec { 'install_python_packages':
+          command => "/usr/bin/env pip install -q lockfile paramiko psutil",
+          require => [Exec["install_pip"]],
+          timeout => 600,
+        }
       }
       package { ["gpdb"]:
         ensure => latest,

Reply via email to