Forge Home

mysql_yumrepo

Puppet module for MySQL Community YUM repository

13,339 downloads

6,812 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 1.2.0 (latest)
  • 1.1.0
  • 1.0.1
  • 1.0.0
released Aug 26th 2016
This version is compatible with:
  • Puppet Enterprise >= 3.0.0
  • Puppet >= 2.7.0
  • , , , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'aco-mysql_yumrepo', '1.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add aco-mysql_yumrepo
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install aco-mysql_yumrepo --version 1.2.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

aco/mysql_yumrepo — version 1.2.0 Aug 26th 2016

#mysql_yumrepo Build Status

####Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Credits

##Overview

The mysql_yumrepo module installs the MySQL Community YUM repository on RHEL variants and SuSE Linux.

##Module description

MySQL Community repositories allow users to get access to the latest MySQL Community releases from Oracle. This module only supports systems which use the RPM package manager, ie. RHEL variants and SuSE Linux.

The following repositories will be enabled by default:

  • mysql-connectors-community
  • mysql-tools-community
  • mysql57-community

One can also enable these extra repositories:

  • mysql55-community
  • mysql56-community
  • mysql-tools-preview
  • mysql-connectors-community-source
  • mysql-tools-community-source
  • mysql-tools-preview-source
  • mysql55-community-source
  • mysql56-community-source
  • mysql57-community-source

##Setup

mysql_yumrepo will affect the following parts of your system:

  • MySQL Community YUM repositories
  • MySQL GPG key

Including the main class is enough to get started. It will install the MySQL Community repositories described above.

include mysql_yumrepo

####A couple of examples

Also enable the 'source' repository for MySQL 5.7

class { 'mysql_yumrepo':
  enable_57_src => 1
}

Disable the GPG signature check

class { 'mysql_yumrepo':gpgcheck => 0
}

##Usage

####Class: mysql_yumrepo

Primary class and entry point of the module.

Parameters within mysql_yumrepo:

#####gpgcheck

Switch to perform or not GPG signature checks on repository packages. Defaults to '1'

#####enable_connectors

Enable MySQL Connectors Community repository. Defaults to '1'

#####enable_tools

Enable MySQL Tools Community repository. Defaults to '1'

Note: not available on EL 5

#####enable_tools_preview

Enable MySQL Tools Preview repository. Defaults to '0'

Note: only available on EL >= 6 and Fedora >= 22

#####enable_55

Enable MySQL 5.5 repository. Defaults to '0'

Note: only available on EL >= 6 and SLES 11

#####enable_56

Enable MySQL 5.6 repository. Defaults to '0'

#####enable_57

Enable MySQL 5.7 repository. Defaults to '1'

#####enable_connectors_src

Enable MySQL Connectors Community source repository. Defaults to '0'

#####enable_tools_src

Enable MySQL Tools Community source repository. Defaults to '0'

Note: not available on EL 5

#####enable_tools_preview_src

Enable MySQL Tools Preview source repository. Defaults to '0'

Note: only available on EL >= 6 and Fedora >= 22

#####enable_55_src

Enable MySQL 5.5 source repository. Defaults to '0'

Note: only available on EL >= 6

#####enable_56_src

Enable MySQL 5.6 source repository. Defaults to '0'

#####enable_57_src

Enable MySQL 5.7 source repository. Defaults to '0'

##Credits

The rpm_gpg_key defined type was reused from the 'epel' module by Michael Stahnke (stahnma).

Features request and contributions are always welcome!