Skip to content

Commit

Permalink
Make PgPool PCP package name configurable on RHEL
Browse files Browse the repository at this point in the history
At the moment, the PgPool package can be specified manually, but the
corresponding pcp package on RHEL cannot. This patch allows for that,
keeping the existing defaults. A patch is not needed for EPAS, as it
does not make use of such a package.
  • Loading branch information
Ianvdl committed Apr 25, 2024
1 parent d36c677 commit a8bbdc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/setup_pgpool2/tasks/pgpool2_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

- name: Install pgpool-II-pcp package on RedHat
ansible.builtin.package:
name: "pgpool-II-pcp"
name: "{{ pgpool2_pcp_package_name }}"
state: present
when:
- ansible_os_family == 'RedHat'
Expand Down
1 change: 1 addition & 0 deletions roles/setup_pgpool2/vars/PG_RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pgpool2_version: 4.3
# We don't have the choice of the version with community PostgreSQL
pgpool2_package_name: "pgpool-II"
pgpool2_pcp_package_name: "pgpool-II-pcp"
pgpool2_configuration_file: "/etc/pgpool-II/pgpool.conf"
pgpool2_pool_passwd_file: "/etc/pgpool-II/pool_passwd"
pgpool2_user: "postgres"
Expand Down

0 comments on commit a8bbdc3

Please sign in to comment.