voxpupuli / puppet-jira

Atlassian JIRA Puppet Module
https://forge.puppet.com/puppet/jira
Apache License 2.0
61 stars 143 forks source link

Update setenv.sh.epp if statement to work with service desk #400

Closed techtino closed 2 years ago

techtino commented 2 years ago

Pull Request (PR) description

The version variable in puppet-jira can be either set to the jira software version or the servicedesk version. manifests/init.pp correctly differentiates but this template if statement does not, so the if statement does not apply to servicedesk > 4.11, missing out on an essential JVM parameter.

This PR adds in some and/ors to differentiate.

This Pull Request (PR) fixes the following issues

n/a

techtino commented 2 years ago

Reopening after accidentally closing during re-base kerfuffle.