You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 5.0.0 is a major release of the `puppet/jira` module. The API stays mostly the same, but there are a few changes that users should take into account:
12
+
13
+
### Only JIRA version 8.0.0 and newer are supported.
14
+
- The module's templates have been synchronized with the latest LTS release of JIRA (8.13.5)
15
+
- Upgrade your JIRA installation to a supported version using a previous version of this module first.
16
+
### The `jira::facts` class has been removed
17
+
- The `jira_version` fact is no longer required for upgrades and the facts weren't particularly useful, so they have been removed. The module will not remove existing files, however, so existing installations will continue reporting jira facts.
18
+
- Note: upgrading to this version will cause jira to restart once due to the way updates are detected. If you would like to avoid this, create a `${jira::installdir}/atlassian-${jira::product_name}-running` symlink pointing to your current active installation.
19
+
### Default versions have changed
20
+
- The module will now install 8.13.5 by default. If you for some reason don't explicitly specify a JIRA version in your installation, you will get an automatic upgrade.
21
+
- The MySQL connector, if installed, is now 8.0.23 by default, as the previous default is EOL.
22
+
### The API is now typed
23
+
The type enforcement is mostly backwards compatible, but some variables which previously accepted integer-looking strings will now require actual integers.
24
+
### Database configuration is overhauled
25
+
- Most settings in `dbconfig.xml` are now *omitted* of not explicitly configured by the user. JIRA will fall back to its built-in default values, which mostly matched what the module configured previously.
26
+
**If this causes adverse effects with your installation, please report a bug.**
27
+
-`jira::poolsize` is now a deprecated parameter and merely an alias for `$jira::pool_max_size`. If both are configured, the latter takes precedence. Jira's default value for this parameter is 20, which matches the module's previous default
28
+
-`jira::enable_connection_pooling` is now deprecated and has no effect. It previously only affected users using PostgreSQL databases, and served no useful purpose.
29
+
### Changes to default behaviour
30
+
- We now use the `camptocamp/systemd` module, and the unit file is installed in `/etc/systemd/system/jira.service`. The old file at `/lib/systemd/system/jira.service` can be removed, though its existence should not matter.
31
+
-`jira::java_opts` no longer defaults to `-XX:-HeapDumpOnOutOfMemoryError` as it is not on by default in Atlassian's configuration. If you want this, please add it to your configuration explicitly. The old name for the parameter is maintained
32
+
- The module selects some defaults for `setenv.sh` based on the value of `jira::jvm_type`. This parameter **defaults to**`openjdk-11`. You may override the module's choices by using the new `jira::jvm_gc_args`, `jira::jvm_code_cache_args` and `jira::jvm_extra_args` parameters. For backwards compatibility, `JVM_SUPPORT_RECOMMENDED_ARGS` is configured by `jira::java_opts`
33
+
### Broken / deprecated functionality has been removed
34
+
- The `jira::service` class is now private, and overriding the service template is no longer possible. Use systemd drop-ins instead.
35
+
- Only `puppet/archive` is supported for downloading the installation packages, and this is not configurable
36
+
-`jira::format` no longer exists; it's always `tar.gz`. This parameter never worked properly.
37
+
38
+
**Breaking changes:**
39
+
40
+
- Remove jira::facts and rewrite upgrade logic [\#372](https://github.com/voxpupuli/puppet-jira/pull/372) ([oranenj](https://github.com/oranenj))
41
+
- Bump default MySQL connector version to 8.0.23 and allow disabling the default HTTP connector [\#369](https://github.com/voxpupuli/puppet-jira/pull/369) ([oranenj](https://github.com/oranenj))
42
+
- Add newer OSes and Puppet 7 to test matrix, drop Puppet 5 [\#364](https://github.com/voxpupuli/puppet-jira/pull/364) ([oranenj](https://github.com/oranenj))
43
+
- Drop support for JIRA \<8.0.0 [\#359](https://github.com/voxpupuli/puppet-jira/pull/359) ([oranenj](https://github.com/oranenj))
44
+
- Sync setenv.sh with upstream 8.13.5 \(LTS\)[\#357](https://github.com/voxpupuli/puppet-jira/pull/357) ([oranenj](https://github.com/oranenj))
45
+
- Remove support for the deprecated staging module [\#355](https://github.com/voxpupuli/puppet-jira/pull/355) ([oranenj](https://github.com/oranenj))
46
+
- Refactor database configuration and make the main API typed [\#352](https://github.com/voxpupuli/puppet-jira/pull/352) ([oranenj](https://github.com/oranenj))
47
+
- Drop support for sysvinit [\#344](https://github.com/voxpupuli/puppet-jira/pull/344) ([ekohl](https://github.com/ekohl))
48
+
49
+
**Implemented enhancements:**
50
+
51
+
- Add provider to set server ID and install License [\#36](https://github.com/voxpupuli/puppet-jira/issues/36)
52
+
- Test with Ubuntu 20.04 [\#371](https://github.com/voxpupuli/puppet-jira/pull/371) ([oranenj](https://github.com/oranenj))
53
+
- Depend on camptocamp/systemd and clean up service handling [\#368](https://github.com/voxpupuli/puppet-jira/pull/368) ([oranenj](https://github.com/oranenj))
- Add support for Oracle service names [\#365](https://github.com/voxpupuli/puppet-jira/pull/365) ([oranenj](https://github.com/oranenj))
56
+
- Provide jira::java\_package option to allow installing a java package directly via this module [\#363](https://github.com/voxpupuli/puppet-jira/pull/363) ([oranenj](https://github.com/oranenj))
57
+
- Allow specifying JDBC connection parameters with jira::connection\_settings [\#353](https://github.com/voxpupuli/puppet-jira/pull/353) ([oranenj](https://github.com/oranenj))
58
+
- Add handling for X-Forwarded-For in access logs [\#350](https://github.com/voxpupuli/puppet-jira/pull/350) ([diLLec](https://github.com/diLLec))
- systemd provider has incorrect file-mode [\#289](https://github.com/voxpupuli/puppet-jira/issues/289)
64
+
- Restore $jira::java\_opts for compatibility and remove $jira::jvm\_\*\_additional from the API, as setting JDK type to custom allows full control anyway. [\#351](https://github.com/voxpupuli/puppet-jira/pull/351) ([oranenj](https://github.com/oranenj))
65
+
- Fixing that the suffix can be empty as well \(needed for mysql-connector \> 8\)[\#337](https://github.com/voxpupuli/puppet-jira/pull/337) ([diLLec](https://github.com/diLLec))
66
+
67
+
**Closed issues:**
68
+
69
+
- Test with Puppet 7 and fresher OSes [\#361](https://github.com/voxpupuli/puppet-jira/issues/361)
70
+
- Drop Ubuntu 16.04, Add 18.04 instead [\#346](https://github.com/voxpupuli/puppet-jira/issues/346)
71
+
- server.xml - StuckThreadDetectionValve introduced in 7.6.12 [\#339](https://github.com/voxpupuli/puppet-jira/issues/339)
72
+
- jira::java\_opts defined as YAML multiline block string generates incorrect JAVA\_OPTS string in setenv.sh [\#333](https://github.com/voxpupuli/puppet-jira/issues/333)
- Add optional MySQL connection string options [\#323](https://github.com/voxpupuli/puppet-jira/issues/323)
75
+
- jira service not restarted when changing systemd file [\#315](https://github.com/voxpupuli/puppet-jira/issues/315)
76
+
- remove dependency to puppet/staging [\#313](https://github.com/voxpupuli/puppet-jira/issues/313)
77
+
- JVM\_REQUIRED\_ARGS is missing -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory [\#309](https://github.com/voxpupuli/puppet-jira/issues/309)
78
+
- JVM\_CODE\_CACHE\_ARGS not set [\#308](https://github.com/voxpupuli/puppet-jira/issues/308)
79
+
- Please allow adding properties to server.xml that would add the clients' real ip address to jira access logs when running behind a proxy server [\#305](https://github.com/voxpupuli/puppet-jira/issues/305)
- Mysql connector is not respecting the deploy\_module choice [\#293](https://github.com/voxpupuli/puppet-jira/issues/293)
82
+
- Oracle real url has : instead of / [\#283](https://github.com/voxpupuli/puppet-jira/issues/283)
83
+
- jira user depends on install dir \(unable to set home dir inside install dir as per example\)[\#255](https://github.com/voxpupuli/puppet-jira/issues/255)
84
+
- MySQL Connector is not installing with correct directory permissions [\#241](https://github.com/voxpupuli/puppet-jira/issues/241)
85
+
- Connector class incompatibility since JIRA 7.3.0. [\#213](https://github.com/voxpupuli/puppet-jira/issues/213)
86
+
- Can't create parent directories if they dont exist [\#150](https://github.com/voxpupuli/puppet-jira/issues/150)
- Add tests for oracle database [\#53](https://github.com/voxpupuli/puppet-jira/issues/53)
99
+
- Validate all parameters [\#49](https://github.com/voxpupuli/puppet-jira/issues/49)
100
+
- JIRA can't parse the JVM arguments when delimited with spaces instead of semicolons. [\#44](https://github.com/voxpupuli/puppet-jira/issues/44)
101
+
102
+
**Merged pull requests:**
103
+
104
+
- Convert documentation to puppet strings [\#373](https://github.com/voxpupuli/puppet-jira/pull/373) ([oranenj](https://github.com/oranenj))
105
+
- $installdir was previously unnecessarily owned by the jira user. It will now be owned by root. [\#366](https://github.com/voxpupuli/puppet-jira/pull/366) ([oranenj](https://github.com/oranenj))
106
+
- Minor documentation updates [\#360](https://github.com/voxpupuli/puppet-jira/pull/360) ([oranenj](https://github.com/oranenj))
107
+
- Make MySQL connector library world-readable [\#356](https://github.com/voxpupuli/puppet-jira/pull/356) ([oranenj](https://github.com/oranenj))
108
+
- Refactor most configuration to use EPP templates [\#354](https://github.com/voxpupuli/puppet-jira/pull/354) ([oranenj](https://github.com/oranenj))
- Updating check-java.sh and server.xml templates to upstream version [\#348](https://github.com/voxpupuli/puppet-jira/pull/348) ([timdeluxe](https://github.com/timdeluxe))
111
+
- Remove special code path for Puppet Enterprise [\#347](https://github.com/voxpupuli/puppet-jira/pull/347) ([ekohl](https://github.com/ekohl))
112
+
- Fix unit tests after sysvinit patch broke them [\#345](https://github.com/voxpupuli/puppet-jira/pull/345) ([ekohl](https://github.com/ekohl))
113
+
- facts.pp: use less restrictive mode for the external fact script [\#343](https://github.com/voxpupuli/puppet-jira/pull/343) ([kenyon](https://github.com/kenyon))
- acceptance tests: use the default version of postgresql [\#340](https://github.com/voxpupuli/puppet-jira/pull/340) ([kenyon](https://github.com/kenyon))
116
+
- facts.pp: use localhost instead of 127.0.0.1 [\#338](https://github.com/voxpupuli/puppet-jira/pull/338) ([kenyon](https://github.com/kenyon))
117
+
- remove incorrect apostrophe in example [\#332](https://github.com/voxpupuli/puppet-jira/pull/332) ([wolfaba](https://github.com/wolfaba))
118
+
- Make JVM\_EXTRA\_ARGS manageable for java 11 compatibility [\#326](https://github.com/voxpupuli/puppet-jira/pull/326) ([diLLec](https://github.com/diLLec))
0 commit comments