Skip to content

Commit

Permalink
Update Readme and fix sqlserver default dbdriver
Browse files Browse the repository at this point in the history
  • Loading branch information
TJM committed Jul 5, 2018
1 parent ccd5107 commit 0a3c279
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ The port of the database, defaults to an appropriate port for the $db:
|------|--------|
| postgresql | 5432 |
| mysql | 3306 |
| oracle | 1521 |
| sqlserver | 1443 |
| h2 | N/A |

Expand All @@ -243,9 +244,12 @@ The database driver to use, defaults to an appropriate value for $db:
|------|--------|
| postgresql | org.postgresql.Driver |
| mysql | com.mysql.jdbc.Driver |
| sqlserver | net.sourceforge.jtds.jdbc.Driver |
| oracle | oracle.jdbc.OracleDriver (*) |
| sqlserver | com.microsoft.sqlserver.jdbc.SQLServerDriver |
| h2 | org.h2.Driver |

(*) NOTE: You must add the Oracle JDBC Driver manually with recent versions of JIRA (for now).
See: https://confluence.atlassian.com/doc/database-jdbc-drivers-171742.html

##### `$dbtype`

Expand All @@ -255,6 +259,7 @@ Database type, defaults to an appropriate value for $db:
|------|--------|
| postgresql | postgresql72 |
| mysql | mysql |
| oracle | oracle10g |
| sqlserver | mssql |
| h2 | h2 |

Expand Down
2 changes: 1 addition & 1 deletion jira.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jira::dbtype: postgres72

jira::dbdriver: org.postgresql.Driver
#jira::dbdriver: com.mysql.jdbc.Driver
#jira::dbdriver: net.sourceforge.jtds.jdbc.Driver
#jira::dbdriver: com.microsoft.sqlserver.jdbc.SQLServerDriver

# Change these values to your jira database credentials
jira::dbuser: jiraadm
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
'postgresql' => 'org.postgresql.Driver',
'mysql' => 'com.mysql.jdbc.Driver',
'oracle' => 'oracle.jdbc.OracleDriver',
'sqlserver' => 'net.sourceforge.jtds.jdbc.Driver',
'sqlserver' => 'com.microsoft.sqlserver.jdbc.SQLServerDriver',
'h2' => 'org.h2.Driver',
}
}
Expand Down

0 comments on commit 0a3c279

Please sign in to comment.