Skip to content

Commit 35dbe3f

Browse files
committed
Merge pull request #6 from cprice-puppet/bug/master/db_ini_wrong_db_name
Bug/master/db ini wrong db name
2 parents 4ad02dd + 7c81036 commit 35dbe3f

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
2012-09-19 - Chris Price <chris@puppetlabs.com>
2+
* Fix invalid subname in database.ini (be683b7)
3+
14
2011-09-18 Chris Price <chris@puppetlabs.com> - 1.0.0
25
* Initial 1.0.0 release

Modulefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name 'puppetlabs-puppetdb'
2-
version '1.0.0'
2+
version '1.0.1'
33
source 'git://github.com/puppetlabs-puppet/puppetlabs-puppetdb.git'
44
author 'Puppet Labs'
55
description 'PuppetDB resource types'

manifests/server/database_ini.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
} elsif $database == 'postgres' {
7474
$classname = 'org.postgresql.Driver'
7575
$subprotocol = 'postgresql'
76-
$subname = "//${database_host}:${database_port}/${database}"
76+
$subname = "//${database_host}:${database_port}/${database_name}"
7777

7878
##Only setup for postgres
7979
ini_setting {'puppetdb_psdatabase_username':

0 commit comments

Comments
 (0)