|
65 | 65 | $temp_usage = $puppetdb::params::temp_usage, |
66 | 66 | $certificate_whitelist_file = $puppetdb::params::certificate_whitelist_file, |
67 | 67 | $certificate_whitelist = $puppetdb::params::certificate_whitelist, |
| 68 | + $database_max_pool_size = $puppetdb::params::database_max_pool_size, |
| 69 | + $read_database_max_pool_size = $puppetdb::params::read_database_max_pool_size, |
68 | 70 | ) inherits puppetdb::params { |
69 | 71 | # deprecation warnings |
70 | 72 | if $database_ssl != undef { |
|
160 | 162 | database_password => $database_password, |
161 | 163 | database_name => $database_name, |
162 | 164 | database_ssl => $database_ssl, |
| 165 | + database_max_pool_size => $database_max_pool_size, |
163 | 166 | jdbc_ssl_properties => $jdbc_ssl_properties, |
164 | 167 | database_validate => $database_validate, |
165 | 168 | database_embedded_path => $database_embedded_path, |
|
178 | 181 | } |
179 | 182 |
|
180 | 183 | class { 'puppetdb::server::read_database': |
181 | | - database => $read_database, |
182 | | - database_host => $read_database_host, |
183 | | - database_port => $read_database_port, |
184 | | - database_username => $read_database_username, |
185 | | - database_password => $read_database_password, |
186 | | - database_name => $read_database_name, |
187 | | - database_ssl => $read_database_ssl, |
188 | | - jdbc_ssl_properties => $read_database_jdbc_ssl_properties, |
189 | | - database_validate => $read_database_validate, |
190 | | - log_slow_statements => $read_log_slow_statements, |
191 | | - conn_max_age => $read_conn_max_age, |
192 | | - conn_keep_alive => $read_conn_keep_alive, |
193 | | - conn_lifetime => $read_conn_lifetime, |
194 | | - confdir => $confdir, |
195 | | - puppetdb_user => $puppetdb_user, |
196 | | - puppetdb_group => $puppetdb_group, |
197 | | - notify => Service[$puppetdb_service], |
| 184 | + database => $read_database, |
| 185 | + database_host => $read_database_host, |
| 186 | + database_port => $read_database_port, |
| 187 | + database_username => $read_database_username, |
| 188 | + database_password => $read_database_password, |
| 189 | + database_name => $read_database_name, |
| 190 | + database_ssl => $read_database_ssl, |
| 191 | + jdbc_ssl_properties => $read_database_jdbc_ssl_properties, |
| 192 | + database_validate => $read_database_validate, |
| 193 | + log_slow_statements => $read_log_slow_statements, |
| 194 | + conn_max_age => $read_conn_max_age, |
| 195 | + conn_keep_alive => $read_conn_keep_alive, |
| 196 | + conn_lifetime => $read_conn_lifetime, |
| 197 | + confdir => $confdir, |
| 198 | + puppetdb_user => $puppetdb_user, |
| 199 | + puppetdb_group => $puppetdb_group, |
| 200 | + notify => Service[$puppetdb_service], |
| 201 | + database_max_pool_size => $read_database_max_pool_size, |
198 | 202 | } |
199 | 203 |
|
200 | 204 | if str2bool($ssl_set_cert_paths) == true |
|
0 commit comments