This is an automated email from the ASF dual-hosted git repository.
iwasakims 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 3c81d4599 BIGTOP-4538. Fix deployment error of Ranger on Red Hat
distros in container. (#1399)
3c81d4599 is described below
commit 3c81d4599d631c91f1eed75ae6d82f725c914c32
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)
---
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'],
}