Skip to content

Commit

Permalink
fix: postgres port tdp_cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloetjo authored and rpignolet committed Dec 1, 2023
1 parent b687cc8 commit 3e28db6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tdp_vars_overrides/hive/hive.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
hive_jdbc_connector_package: postgresql-jdbc
hive_ms_db_url: "jdbc:postgresql://{{ groups['postgresql'][0] | tosit.tdp.access_fqdn(hostvars) }}:5432"
hive_ms_db_url: "jdbc:postgresql://{{ groups['postgresql'][0] | tosit.tdp.access_fqdn(hostvars) }}:{{ postgresql_server_port }}"
hive_ms_db_name: hive
hive_ms_db_user: hive
hive_ms_db_password: hive
Expand Down
4 changes: 2 additions & 2 deletions tdp_vars_overrides/ranger/ranger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ ranger_jdbc_connector_package: postgresql-jdbc
install_properties:
DB_FLAVOR: postgres
SQL_CONNECTOR_JAR: /usr/share/java/postgresql-jdbc.jar
db_host: "{{ groups['postgresql'][0] | tosit.tdp.access_fqdn(hostvars) }}:5432"
db_host: "{{ groups['postgresql'][0] | tosit.tdp.access_fqdn(hostvars) }}:{{ postgresql_server_port }}"
db_name: ranger
db_user: rangeradmin
db_password: rangeradmin

kms_install_properties:
DB_FLAVOR: postgres
SQL_CONNECTOR_JAR: /usr/share/java/postgresql-jdbc.jar
db_host: "{{ groups['postgresql'][0] | tosit.tdp.access_fqdn(hostvars) }}:5432"
db_host: "{{ groups['postgresql'][0] | tosit.tdp.access_fqdn(hostvars) }}:{{ postgresql_server_port }}"
db_name: rangerkms
db_user: rangerkms
db_password: rangerkms
Expand Down

0 comments on commit 3e28db6

Please sign in to comment.