puppetlabs-puppetdb
puppetlabs-puppetdb copied to clipboard
puppetdb postgresql-server version parameter
I would like to be able to set the postgresql version that would be used by puppetdb At the moment puppetdb module just calls postgresql::server and installs the default postgresql server for the os.
I would like to be able to say postgresqlversion = 9.1 and puppetdb would call:
class { 'postgresql':
$version = $postgresqlversion_from_puppetdb
}->
class { 'postgresql::server': }
Hello,
The following works for us, give it a try:
class { '::postgresql::params':
version => $postgres_version,
}->
class { '::puppetdb::database::postgresql':
listen_addresses => "localhost, $::fqdn",
}
That doesn't really work for anyone who's using an ENC though...
Ability to set the postgres_version as a parameter on the base class was added in #162