Closed TJM closed 6 years ago
include jira include jira::facts
jira::version: 7.10.2 jira::javahome: /usr/java/latest jira::jvm_xms: 384m jira::db: h2
It doesn't accept h2.
Enum['postgresql','mysql','sqlserver','oracle'] $db = 'postgresql',
I expected the "default" (built-in) database to work, for vagrant testing.
Here is the dbconfig.xml from a test deployment with H2: (obviously the "url" appears to have a filename /apps/jira-shared/database/h2db )
<?xml version="1.0" encoding="UTF-8"?> <jira-database-config> <name>defaultDS</name> <delegator-name>default</delegator-name> <database-type>h2</database-type> <schema-name>PUBLIC</schema-name> <jdbc-datasource> <url>jdbc:h2:file:/apps/jira-shared/database/h2db</url> <driver-class>org.h2.Driver</driver-class> <username>sa</username> <password></password> <pool-min-size>20</pool-min-size> <pool-max-size>20</pool-max-size> <pool-max-wait>30000</pool-max-wait> <min-evictable-idle-time-millis>4000</min-evictable-idle-time-millis> <time-between-eviction-runs-millis>5000</time-between-eviction-runs-millis> <pool-max-idle>20</pool-max-idle> <pool-remove-abandoned>true</pool-remove-abandoned> <pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout> </jdbc-datasource> </jira-database-config>
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
It doesn't accept h2.
What behaviour did you expect instead
I expected the "default" (built-in) database to work, for vagrant testing.
Output log
Any additional information you'd like to impart
Here is the dbconfig.xml from a test deployment with H2: (obviously the "url" appears to have a filename /apps/jira-shared/database/h2db )