Fix invalid subname in database.ini
For the postgres subname, the module was writing the wrong value for the database instance name. This commit fixes that bug.
This commit is contained in:
parent
4ad02dd772
commit
be683b7b5a
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class puppetdb::server::database_ini(
|
|||
} elsif $database == 'postgres' {
|
||||
$classname = 'org.postgresql.Driver'
|
||||
$subprotocol = 'postgresql'
|
||||
$subname = "//${database_host}:${database_port}/${database}"
|
||||
$subname = "//${database_host}:${database_port}/${database_name}"
|
||||
|
||||
##Only setup for postgres
|
||||
ini_setting {'puppetdb_psdatabase_username':
|
||||
|
|
Loading…
Reference in a new issue