1146d5f296
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> |
||
---|---|---|
.. | ||
openstack | ||
puppet-boolean-2.0.2/debian | ||
puppet-dnsmasq/debian | ||
puppet-drbd-0.5.2/debian | ||
puppet-etcd-1.12.3/debian | ||
puppet-hash2stuff | ||
puppet-ldap | ||
puppet-lvm-1.4.0/debian | ||
puppet-memcached/debian | ||
puppet-network/debian | ||
puppet-puppi | ||
puppet-rabbitmq-8.5.0/debian | ||
puppet-staging/debian | ||
puppet-zitrlp-strongswan/debian | ||
puppetlabs-firewall-1.12.0/debian | ||
puppetlabs-haproxy-2.1.0/debian | ||
puppetlabs-mysql-8.1.0/debian | ||
puppetlabs-postgresql-8.0.0/debian | ||
puppetlabs-stdlib-5.0.0/debian |