integ/config/puppet-modules
Jorge Saffe 1146d5f296 Dynamize Postgres Auth Method Definition
The 8.0.0 version of the 'puppetlabs-postgresql'
module uses 'md5' as the default authentication
method. This value is hardcoded, making it impossible
to set dynamically during bootstrap. The newest
versions of 'puppetlabs-postgresql' have added a new
parameter to set the authorization method dynamically.

The proposed solution patches the current version
using the same parameter name as in the newer versions
to dynamically set the authorization method. This also
allows a future update of the 'puppetlabs-postgresql'
module to be done seamlessly.

Test Plan:
- PASS Fresh Install SX env
   * Verify system status unlock/available

   * Login as admin user in psql
     (psql -U admin -h 127.0.0.1 -d sysinv)
   * Check postgres authorization configuration
     (SELECT * from pg_hba_file_rules;)
   * Check postgres password encryption configuration
     (SELECT rolname, rolpassword
      FROM pg_authid WHERE rolpassword IS NOT NULL;).

- PASS Fresh Install DX env
   * Verify system status unlock/available

   * Login as admin user in psql
     (psql -U admin -h 127.0.0.1 -d sysinv)
   * Check postgres authorization configuration
     (SELECT * from pg_hba_file_rules;)
   * Check postgres password encryption configuration
     (SELECT rolname, rolpassword
      FROM pg_authid WHERE rolpassword IS NOT NULL;).

   * Host swact to controller-1

   * Login as admin user in psql
     (psql -U admin -h 127.0.0.1 -d sysinv)
   * Check postgres authorization configuration
     (SELECT * from pg_hba_file_rules;)
   * Check postgres password encryption configuration
     (SELECT rolname, rolpassword
      FROM pg_authid WHERE rolpassword IS NOT NULL;).

   * collect logs (collect)
   * verify '/var/extra/database/' content

- PASS Fresh Install DC env
   * Verify system status unlock/available
   * Check postgres authorization configuration
     (SELECT * from pg_hba_file_rules;)
   * Check postgres password encryption configuration
     (SELECT rolname, rolpassword
      FROM pg_authid WHERE rolpassword IS NOT NULL;).

- PASS Upgrade SX
- PASS Upgrade SX-rollback
- PASS Upgrade DX
- PASS Upgrade DX-rollback

Partial-bug: 2069842

Change-Id: I74fff1715bf362fe5f7952bf2175984dc6a68f68
Signed-off-by: Jorge Saffe <jorge.saffe@windriver.com>
2024-09-26 20:04:41 +02:00
..
openstack Dynamize Postgres Auth Method Definition 2024-09-26 20:04:41 +02:00
puppet-boolean-2.0.2/debian meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
puppet-dnsmasq/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
puppet-drbd-0.5.2/debian DRBD: Add hmac parameter to support peer auth 2024-06-21 16:13:18 +00:00
puppet-etcd-1.12.3/debian Etcd upversion from 3.3.25 to 3.4.27 2024-01-31 18:49:54 +00:00
puppet-hash2stuff Add puppet package hash2stuff 2023-05-09 15:36:30 -03:00
puppet-ldap Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
puppet-lvm-1.4.0/debian puppet-lvm: Handle multipath persistent device support 2023-02-13 16:24:39 -03:00
puppet-memcached/debian Add puppet-memcached with FQDN support 2023-11-01 15:19:13 -03:00
puppet-network/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
puppet-puppi Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
puppet-rabbitmq-8.5.0/debian tox: fixed warnings 2023-09-06 17:54:55 -03:00
puppet-staging/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
puppet-zitrlp-strongswan/debian Update patch for puppet package zitrlp-strongswan 2023-11-15 23:59:35 +00:00
puppetlabs-firewall-1.12.0/debian Adjust puppet haproxy and firewall dependencies 2023-06-14 19:59:28 +00:00
puppetlabs-haproxy-2.1.0/debian tox: fixed warnings 2023-09-06 17:54:55 -03:00
puppetlabs-mysql-8.1.0/debian Debian: Fix deps on openstacklib, mysql modules 2022-06-01 18:02:33 -03:00
puppetlabs-postgresql-8.0.0/debian Dynamize Postgres Auth Method Definition 2024-09-26 20:04:41 +02:00
puppetlabs-stdlib-5.0.0/debian meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00