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:
Chris Price 2012-09-19 13:44:39 -07:00
parent 4ad02dd772
commit be683b7b5a

View file

@ -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':