Forge Home


Installs the Mysql Yum repository for Enterprise Linux (RHEL, CentOS) clients


11,132 latest version

4.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.

Version information

  • 0.2.0 (latest)
  • 0.1.0
released Sep 19th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'masonm-repo_mysql', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add masonm-repo_mysql
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install masonm-repo_mysql --version 0.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.



masonm/repo_mysql — version 0.2.0 Sep 19th 2014


Installs the MySQL community server Yum repository on Redhat-based (RHEL, CentOS, Fedora) operating systems.


To use the repository for the latest release series, just include "repo_mysql":

include repo_mysql

To select a release series (e.g. "5.6"), set the "release_series" parameter:

class { "repo_mysql":
    release_series => "5.6",

To install the MySQL server and client from this repo, use the package names mysql-community-server and mysql-community-client, respectively. For example:

package { 'mysql-community-server':
    ensure => 'latest',


Apache Software License 2.0