Forge Home


Install official MariaDB repo


7,161 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.

Version information

  • 0.1.3 (latest)
  • 0.1.2 (deleted)
  • 0.1.1 (deleted)
  • 0.1.0 (deleted)
released Apr 8th 2016
This version is compatible with:
  • , , , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'ftaeger-mariadbrepo', '0.1.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ftaeger-mariadbrepo
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ftaeger-mariadbrepo --version 0.1.3

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.



ftaeger/mariadbrepo — version 0.1.3 Apr 8th 2016

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with mariadbrepo
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module


This module lets you use Puppet to add the official MariaDB packet repository to your system.

Module Description


What mailhog affects

  • Adds MariaDB repo gpg key
  • Adds the MariaDB repository

Setup Requirements

This mailhog module requires:

Beginning with mailhog

The simplest way to get this module up and running is to just add the mariadbrepo-class to your manifest:

include mariadbrepo

That's it! Really. Didn't hurt, did it? ;-)

You want to change the MariaDB version? No problem:

class { 'mariadbrepo':
  release => '5.5',

You want to add a proxy to allow for download of modules? Sure:

class { 'mariadbrepo':
  proxy_url  => 'http://x.x.x.x:3128',
  proxy_user => 'someusername',
  proxy_pass => '$ecret',


Put the classes, types, and resources for customizing, configuring, and doing the fancy stuff with your module here.



Public Classes

  • mariadbrepo: Main class, includes all other classes

Private Classes

  • mariadbrepo::params: Holds default values for mariadbrepo
  • mariadbrepo::install: Handles deployment of the key and repo

###Parameters The following parameters are available in the ::mariadbrepo class:

parameter default value description
$release 10.0 Which MariaDB release to install. Allowed values are 5.5, 10.0, 10.1
$proxy_url absent A URL to a proxy server if required
$proxy_user undef The username to use for authenticating against the proxy
$proxy_pass undef The password to use for authenticating against the proxy
$debmirror The Mirror of the used on Debian based hosts as packet source. See the official MariaDB repo site for other mirrors.


Today the module was tested with the list of supported OS'ses only. It might work with other Linux versions though. The more time I have the more I will test. Any help would be really appreciated.


Feel free to pull the repository and commit changes. I will review them asap and add them if I think they are helpful or reasonable. No guarantees but a lot of heart ;-)


To see who's already involved, see the list of contributors.