With the recent addition of proxy support, I found it was missing proxy support for the mysql-connector. It also was missing puppet-archive support.
Templatizing the JVMEXTRAARGS parameter in setenv.sh to be able to accommodate custom settings.
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
<!--
Thank you for contributing to this project!
-->
<!--
Updated the tomcat connectors based on Atlassians Jira Software Upgrade notes.
More information under: https://confluence.atlassian.com/jirasoftware/jira-software-7-13-x-upgrade-notes-957135908.html
-->
<!--
Use format:
Fixes #269
-->
<!--
Thank you for contributing to this project!
-->
This adapts the templates for java-check, server.xml and setenv to the state of the 8.7.1 tarball, while keeping required modifications in place.
I thought about setting stuff depending on the installed java version, however not everyone installs java also via puppet and if ones does it, it must not necessarily be via the java puppet module.
Maybe we need an additional parameter to the module stating the java version?
Fixes #300
@ffrank I wasn't aware of the voxpupuli/puppet-extlib#63 at the time I wrote this patch. But it seems to describe a similar issue.
modulesync 4.0.0
I opened this pull request to start the discussion.
At the moment, I set redirect https only if:
you set the version variable to 7.1.0 and up
and
if you set both tomcatredirecthttpsport and tomcatnative_ssl
It's safe to say that 7.1.0 accept this config and I dont' want to mess the web.xml file if you don't want to redirect. But I would like to know how we determine we need to redirect. I'm pretty sure that you might want to redirect even without $tomcatredirecthttps_port?
Is only tomcatnativessl is enough?
We run Jira in a cluster setup (pacemaker). For that we need to have the homedir of Jira (which is also the "data" directory) on a NFS share. The NFS mount is done to another directory and the data dir is a symlink, which is managed outside of this jira module. To be able to do that, i needed to fix the jira module to not handle the homedir, if done from outside. I think it will be useful for others, who are building similar setups, hence this pull request.
n/a
<!--
Thank you for contributing to this project!
-->
This adapts the templates for java-check, server.xml and setenv to the state of the 8.7.1 tarball, while keeping required modifications in place.
I thought about setting stuff depending on the installed java version, however not everyone installs java also via puppet and if ones does it, it must not necessarily be via the java puppet module.
Maybe we need an additional parameter to the module stating the java version?
Fixes #300
CentOS 6 is not supported anymore. Our tests do not run on this
platform. They failed even before they reordered their mirrors, we just
didn't test on it. To unblock open PRs, this PR drops support for it.
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
Set the directory permissions of the MySQL Connector directory so users other than root can use the connector.
Fixes #241
The change is needed to specificy and use a mysql-connector version > 8. The problem with those connectors is, that there is no "-bin" suffix in the jarfile and therefore the suffix needs to be empty. As the current String will require the string to be at least 1 character long, a version 8 connector can not be configured.
class {'jira':
...
mysql_connector_manage => true,
mysql_connector_version => '8.0.23',
mysql_connector_install => '/opt/MySQL-connector',
mysql_connector_url => 'https://dev.mysql.com/get/Downloads/Connector-J',
mysql_connector_jar_suffix => '', # no '-bin'!
...
results in
Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Jira]: parameter 'mysqlconnectorjar_suffix' expects a String[1, default]
Enables the useage of mysql-connector version > 8