Affects Version/s: None
Fix Version/s: None
Template:MODULES Bug Template customfield_10700 401007
Method Found:Needs Assessment
QA Risk Assessment:Needs Assessment
Module Version: 6.9.0
Puppet Version: 6.21.1
OS Name/Version: Ubuntu 20.04
Describe your issue in as much detail as possible...
Changing confdir in the module settings should update the location of files and modify the service accordingly.
While the new confdir is created (and the files managed by the module populated), the service continues to run out of the system default locations. This seems to be fundamentally tied to the way Ubuntu hardcodes management of postgresql through the postgresql-common package.
Setting confdir to /etc/postgresql/13 in the module creates the proper files
but they are never used. Note the main directory above created by the apt package and the following:
Everything continues to run from the system defaults. Reloading or restarting the service does no good because it's written to use the postgresql-common utilities. Specifically: