akumria / puppet-postgresql

Manage and install Postgresql databases and users
37 stars 20 forks source link

Invalid configuration option when using Postgresql 9.3.5 #21

Closed seanhagen closed 5 years ago

seanhagen commented 9 years ago

Error from puppet logs: LOG: unrecognized configuration parameter "unix_socket_directory" in file "/etc/postgresql/9.3/main/postgresql.conf" line 71

When I compare to my locally installed postgresql.conf file, it looks like that's now supposed to be unix_socket_directories ( as of 9.3 ), with a comma separated list of directories as the value.

I think it might be possible to have the config file use a conditional to use one or the other depending on the version of postgresql being installed. Would you like me to fork and see if I can create a solution, and PR it?