You need to set it in globals. This is what we do:
class { 'postgresql::globals':
version => $postgresql_version,
datadir => "${postgres_top}/postgresql/data",
}
John
On Wed, 18 Dec 2019 at 01:49, Peter Krawetzky wrote:
> I was looking through
I was looking through the documentation and couldn't find my answer. I
want to use both the PuppetDB and Postgresql supported modules to install
and manage both. I don't want to use the default database directory
"/var/lib/postgresql/..." but want to specify my own. What do I use to
point th