voxpupuli / puppet-zabbix

Puppet module for creating and maintaining zabbix components with puppet.
https://forge.puppet.com/puppet/zabbix
Apache License 2.0
79 stars 229 forks source link

Clean up PostgreSQL DB creation logic #904

Closed ekohl closed 8 months ago

ekohl commented 8 months ago

This started with the goal of getting rid of /root/.pgpass and instead use environment variables, but it escalated. See individual commits for details.

evgeni commented 8 months ago

ACK, but not going to merge, @ekohl might or might not want to squash my fixups into the right real commits ;)

ekohl commented 8 months ago

I did want to squash those up. I also extended the Drop unused zabbix_server_{images,data}_sql commit to do the same thing for MySQL. Made it easier to reason about in the tests :)