mysql_java_connector
Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
- Puppet >= 7.0.0 < 9.0.0
- , , ,
Start using this module
Add this module to your Puppetfile:
mod 'puppet-mysql_java_connector', '6.0.0'
Learn more about managing modules with a PuppetfileDocumentation
MySQL Java Connector module for Puppet
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with mysql_java_connector
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Overview
This module installs the upstream MySQL Java Connector (Connector/J).
Module Description
Installs the upstream MySQL Java Connector (Connector/J). This is often required as many operating systems either ship outdated or broken versions by default.
Setup
What mysql_java_connector affects
- Installs to /opt/MySQL-connector directory.
- Creates file /opt/MySQL-connector/latest/mysql-connector-java-VERSION-bin.jar
Beginning with mysql_java_connector
include mysql_java_connector
Usage
Create soft links to the mysql connector for use with applications:
class { 'mysql_java_connector':
links => [ '/opt/tomcat_app/lib', '/opt/jboss_app/lib' ]
}
Most useful available parameters:
class { 'mysql_java_connector':
links => [ '/opt/tomcat_app/lib', '/opt/jboss_app/lib' ],
version => '4.99.111',
installdir => '/opt/custom',
downloadurl => 'http://example.co.za',
}
Reference
Classes
Public Classes
mysql_java_connector
: Main class, manages the installation.
Private Classes
mysql_java_connector::install
: Installs mysql_java_connector binary.
Private Definitions
mysql_java_connector::links
: Creates softlinks to application directories of the mysql_java_connector binary.
Parameters
ensure
Ensure the MySQL connector is installed. Defaults to present.
version
Specifies the version of MySQL Java Connector you would like installed. Defaults to '5.1.40'
product
Product name, defaults to 'mysql-connector-java'
format
The default file format of the MySQL Java Connector install file, defaults to tar.gz
installdir
Installation directory of the MySQL connector. Defaults to '/opt/MySQL-connector'
downloadurl
Defaults to http://dev.mysql.com/Downloads/Connector-J
proxy_server
Optional proxy server to use, with port number if needed. ie: https://example.com:8080.
proxy_type
Proxy server type (none|http|https|ftp)
links
Directories to create softlinks to mysql connector file for use within applications. Defaults to an empty array. Must be an array.
Limitations
This should be compatible with Linux distributions. Tested on:
- CentOS 6/7
- RedHat 6/7
- Ubuntu 12.04/14.04
- Debian 7
Development
See CONTRIBUTING.md
Changelog
All notable changes to this project will be documented in this file. Each new release typically also includes the latest modulesync defaults. These should not affect the functionality of the module.
v6.0.0 (2024-01-22)
Breaking changes:
- Ubuntu: Drop 16.04 support #84 (bastelfreak)
- Drop Puppet 6 support #80 (bastelfreak)
Implemented enhancements:
- puppet/archive: Allow 7.x #85 (bastelfreak)
- Add Puppet 8 support #82 (bastelfreak)
- puppetlabs/stdlib: Allow 9.x #81 (bastelfreak)
Merged pull requests:
v5.0.0 (2022-11-09)
Breaking changes:
- Remove puppet 5 support; Add Puppet 7 support #77 (h-haaks)
- CentOS: Drop EoL 6 support #73 (bastelfreak)
Implemented enhancements:
- puppet/archive: allow 5.x #72 (bastelfreak)
Merged pull requests:
- Allow stdlib 8 and archive 6 #74 (smortex)
- modulesync 3.0.0 & puppet-lint updates #69 (bastelfreak)
- Use voxpupuli-acceptance #68 (ekohl)
v4.0.0 (2020-04-05)
Breaking changes:
- drop Ubuntu 14.04 support / Add Ubuntu 18.04 support #62 (bastelfreak)
- modulesync 2.7.0 and drop puppet 4 #57 (bastelfreak)
Merged pull requests:
- Remove duplicate CONTRIBUTING.md file #63 (dhoppe)
- Clean up acceptance spec helper #61 (ekohl)
- Allow
puppetlabs/stdlib
6.x andpuppet/archive
4.x #59 (alexjfisher) - modulesync 2.2.0 and allow puppet 6.x #54 (bastelfreak)
v3.0.2 (2018-09-09)
Merged pull requests:
- allow puppet/archive 3.x #52 (bastelfreak)
- allow puppetlabs/stdlib 5.x #50 (bastelfreak)
- Remove docker nodesets #46 (bastelfreak)
- drop EOL OSs; fix puppet version range #44 (bastelfreak)
v3.0.1 (2018-03-29)
Merged pull requests:
- Bump puppet dependency to minimum supported version 4.10.0 #42 (bastelfreak)
- Correcting samples/info in readme to match init.pp #40 (DrRhythm)
v3.0.0 (2017-10-13)
Breaking changes:
- BREAKING: Drop puppet 3 support. Replace validate_* with datatypes #34 (bastelfreak)
Implemented enhancements:
v2.3.0 (2017-01-13)
This is the last release with Puppet 3 support!
- Modulesync with latest Vox Pupuli defaults
- Fix several markdown issues
- Add missing badges
- rubocop: fix RSpec/ImplicitExpect
- Bump min version_requirement for Puppet + deps
2016-10-06 - Release 2.2.0
Major bug fix release
Versions 2.0.0 to 2.1.1 were broken for most users.
- GH-11 Fix missing
archive
extract_path
2016-10-05 - Release 2.1.1
- Release of 2.1.0 again, which didn't make it to the forge on the first try
2016-10-05 - Release 2.1.0
- Modulesync with latest Vox Pupuli defaults
- Enhance spec test code quality
- Bump default connector version to 5.1.40
- validate $links with validate_array()
2016-05-21 - Release 2.0.0
- released under the voxpupuli namespace
- modulesync with voxpupuli defaults (0.6.2)
- bump default java version from 5.1.34 to 5.1.38
- rename parameter downloadURL to downloadurl
- replace staging with archive
- add support for STRICT_VARIABLES
2015-07-14 - Release 1.0.0
- First Release (by Merritt Krakowitzer)
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppetlabs-stdlib (>= 4.13.1 < 10.0.0)
- puppet/archive (>= 1.0.1 < 8.0.0)
The MIT License (MIT) Copyright (c) 2015 Merritt Krakowitzer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.