I thought this would be a nice addition to this module. I basically renamed the postgres.pp to database.pp and added two parameters with sensible defaults.
schema
Defaults to 'custom' which is what used to be the only supported solution, but can also handle 'postfixadmin'. Since there is nothing postgres or mysql specific in those queries this is easily interchangeable.
rdbms
Defaults to 'postgresql' but can also handle 'mysql'.
Unfortunately I couldn't work out how to get your tests to work on my local environment so this is completely untested - if you point me in the right direction I'd be happy to make sure the tests are still passing.
Hi there,
I thought this would be a nice addition to this module. I basically renamed the
postgres.pp
todatabase.pp
and added two parameters with sensible defaults.Defaults to 'custom' which is what used to be the only supported solution, but can also handle 'postfixadmin'. Since there is nothing postgres or mysql specific in those queries this is easily interchangeable.
Defaults to 'postgresql' but can also handle 'mysql'.
Unfortunately I couldn't work out how to get your tests to work on my local environment so this is completely untested - if you point me in the right direction I'd be happy to make sure the tests are still passing.
Looking forward to your feedback!