Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Artifactory 7 #11

Merged
merged 9 commits into from
May 17, 2020
Merged

Add support for Artifactory 7 #11

merged 9 commits into from
May 17, 2020

Conversation

fraenki
Copy link
Contributor

@fraenki fraenki commented May 5, 2020

With Artifactory version 7 came some breaking changes. This PR addresses these changes and applies some small refactorings to v6 support (because it touches the same code).

Overview of the changes in this PR:

  • Update directories and file locations for Artifactory 7
  • Fix JDBC location for Artifactory 7 (closes Location to drop jdbc jars changed in 7.0 #3)
  • Move logic from epp templates to Puppet manifests (and deduplicate code/validations)
  • Remove $manage_java, Artifactory now uses a bundled version of Java (closes Why does the module install java 8? #7)
  • Remove outdated systemd service files (the installed package provides all required files)
  • Remove unused bundled MySQL Connector (binaries should not be included)
  • Drop support for unsupported versions of Artifactory (<6.0)
  • Update README
  • Declare compatible with RHEL/CentOS 8 (I did all tests on this platform)
  • Add comments everywhere in config.pp

The config.pp diff looks huge, but this is mostly due to space changes. :)

I suggest to release this as part of module version 3.0.0 because it includes breaking changes.

fraenki added 9 commits May 4, 2020 13:40
The official artifactory package contains all required files.
Binaries should not be included in this module, but instead downloaded
when required.
Recent versions of artifactory use a bundled java, so there is no need
to mess with the system java anymore.
Some logic was duplicated in epp templates. Also do not re-validate
class parameters in epp templates.
@bryanjbelanger bryanjbelanger changed the base branch from master to artifactory_v7 May 17, 2020 19:05
@bryanjbelanger bryanjbelanger merged commit 8c06ef1 into fervidus:artifactory_v7 May 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why does the module install java 8? Location to drop jdbc jars changed in 7.0
2 participants