This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch branch-3.6
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/branch-3.6 by this push:
new 8a523acc2 BIGTOP-4538. Fix deployment error of Ranger on Red Hat
distros in container. (#1399)
8a523acc2 is described below
commit 8a523acc2d47460d04afe3817888914b9c7e1982
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Wed Jul 8 19:38:52 2026 +0900
BIGTOP-4538. Fix deployment error of Ranger on Red Hat distros in
container. (#1399)
(cherry picked from commit 3c81d4599d631c91f1eed75ae6d82f725c914c32)
---
bigtop-deploy/puppet/modules/ranger/manifests/init.pp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bigtop-deploy/puppet/modules/ranger/manifests/init.pp
b/bigtop-deploy/puppet/modules/ranger/manifests/init.pp
index 7af0a035b..6bca3b7b0 100644
--- a/bigtop-deploy/puppet/modules/ranger/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/ranger/manifests/init.pp
@@ -61,7 +61,8 @@ class ranger {
exec { 'change_postgres_password':
path => ['/usr/bin', '/bin','/sbin'],
- command => "sudo -u postgres psql -c \"ALTER USER postgres WITH PASSWORD
'admin';\"",
+ command => "psql -c \"ALTER USER postgres WITH PASSWORD 'admin';\"",
+ user => 'postgres',
require => Service['postgresql'],
}