Fixed read-database parameters in class puppetdb

This commit is contained in:
Taylan Develioglu 2014-08-06 10:05:53 +02:00
parent 79c9e54f39
commit 66b5cc087f

View file

@ -29,6 +29,7 @@ class puppetdb(
$puppetdb_service = $puppetdb::params::puppetdb_service,
$puppetdb_service_status = $puppetdb::params::puppetdb_service_status,
$read_database = $puppetdb::params::read_database,
$read_database_host = $puppetdb::params::read_database_host,
$read_database_port = $puppetdb::params::read_database_port,
$read_database_username = $puppetdb::params::read_database_username,
$read_database_password = $puppetdb::params::read_database_password,
@ -108,17 +109,17 @@ class puppetdb(
confdir => $confdir,
java_args => $java_args,
max_threads => $max_threads,
read_database => $puppetdb::params::read_database,
read_database_host => $puppetdb::params::read_database_host,
read_database_port => $puppetdb::params::read_database_port,
read_database_username => $puppetdb::params::read_database_username,
read_database_password => $puppetdb::params::read_database_password,
read_database_name => $puppetdb::params::read_database_name,
read_database_ssl => $puppetdb::params::read_database_ssl,
read_log_slow_statements => $puppetdb::params::read_log_slow_statements,
read_conn_max_age => $puppetdb::params::read_conn_max_age,
read_conn_keep_alive => $puppetdb::params::read_conn_keep_alive,
read_conn_lifetime => $puppetdb::params::read_conn_lifetime,
read_database => $read_database,
read_database_host => $read_database_host,
read_database_port => $read_database_port,
read_database_username => $read_database_username,
read_database_password => $read_database_password,
read_database_name => $read_database_name,
read_database_ssl => $read_database_ssl,
read_log_slow_statements => $read_log_slow_statements,
read_conn_max_age => $read_conn_max_age,
read_conn_keep_alive => $read_conn_keep_alive,
read_conn_lifetime => $read_conn_lifetime,
}
if ($database == 'postgres') {