Install official MariaDB repo

Florian Taeger



6,281 latest version

5.0 quality score

Version information

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

Start using this module


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.