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

iwasakims pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/branch-3.4 by this push:
     new 48acb91d7 BIGTOP-4429. Fix deployment failure of Ranger on 
rockylinux-9 due to mismatch of python package. (#1352)
48acb91d7 is described below

commit 48acb91d7bbc4ea4e9724d8d584d254c5a40e74f
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Thu May 22 14:41:06 2025 +0900

    BIGTOP-4429. Fix deployment failure of Ranger on rockylinux-9 due to 
mismatch of python package. (#1352)
    
    (cherry picked from commit 5cb4b6ba357d658b3ec27d0905d45e0c0e1cb17c)
---
 bigtop-deploy/puppet/modules/ranger/manifests/init.pp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bigtop-deploy/puppet/modules/ranger/manifests/init.pp 
b/bigtop-deploy/puppet/modules/ranger/manifests/init.pp
index 7abb4f519..7af0a035b 100644
--- a/bigtop-deploy/puppet/modules/ranger/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/ranger/manifests/init.pp
@@ -25,7 +25,7 @@ class ranger {
   class admin($admin_password) {
     # Before Facter 3.14.17, Rocky Linux 8 is detected as 'RedHat'.
     # 
https://puppet.com/docs/pe/2019.8/osp/release_notes_facter.html#enhancements-3-14-17
-    if ( $operatingsystem =~ /^(?i:(redhat|rocky))$/ and 0 <= 
versioncmp($operatingsystemmajrelease, '8')) {
+    if ( $operatingsystem =~ /^(?i:(redhat|rocky))$/ and 0 == 
versioncmp($operatingsystemmajrelease, '8')) {
       $python = 'python36'
     } else {
       $python = 'python3'

Reply via email to