Skip to content

Commit b8306aa

Browse files
author
Jarkko Oranen
committed
Allow configuring datasource connection settings
1 parent f24f7fb commit b8306aa

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

manifests/init.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
Optional[String] $dbdriver = undef,
6363
Optional[String] $dbtype = undef,
6464
Optional[String] $dburl = undef,
65+
Optional[String] $datasource_connection_settings = undef,
6566
$poolsize = '20',
6667
$dbschema = undef,
6768
# MySQL Connector Settings

templates/dbconfig.xml.epp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@
2828
<validation-query-timeout><%= $jira::config::validation_query_timeout %></validation-query-timeout>
2929
<% } -%>
3030
<time-between-eviction-runs-millis><%= $jira::config::time_between_eviction_runs %></time-between-eviction-runs-millis>
31+
<% if $jira::datasource_connection_settings { -%>
32+
<connection-settings><%= $jira::datasource_connection_settings %></connection-settings>
33+
<% } -%>
3134
</jdbc-datasource>
3235
</jira-database-config>

0 commit comments

Comments
 (0)