mariadb_repo
pdk
Configure the mariadb repository for RHel and import the GPG keys.
Version information
released Oct 11th 2020
This version is compatible with:
- Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 4.7.0 < 6.0.0
- RedHat,CentOS,Scientific
Start using this module
Documentation
kapouik/mariadb_repo — version 1.2.1 Oct 11th 2020
puppet-mariadb_repo
Table of Contents
- Description
- Setup - The basics of getting started with mariadb_repo
- 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
- Thanks
Description
This module configure MariaDB's RPM repository Rhel/Centos and import RPM-GPG-KEY-MariaDB.
Setup
Beginning with mariadb_repo
To configure the MariaDB repository with default parameters, declare the mariadb_repo
class.
include mariadb_repo
Usage
Configuring mariadb_repo
class { 'mariadb_repo':
version => '101',
}
Can support following versions:
5.5 => 55 (default)
10.0 => 10
10.1 => 101
10.2 => 102
10.3 => 103
10.4 => 104
10.5 => 105
Configuring modules from Hiera
---
mariadb_repo::version: '101'
Reference
Classes
Public Classes
mariadb_repo
: Configure the MariaDB repository and import the GPG keys.
Private Classes
mariadb_repo::rpm_gpg_key
: Import the RPM GPG key for the MariaDB.
Parameters
mariadb_repo
ensure
: Whether the RPM-GPG-KEY-MariaDB file should exist. Default to present.path
: The path to the RPM-GPG-KEY-MariaDB file to manage. Must be an absolute path. Default to '/etc/pki/rpm-gpg/RPM-GPG-KEY-MariaDB'.
Limitations
This module has been tested on:
- RedHat Enterprise Linux 6, 7
- CentOS 6, 7
- Scientific Linux 6, 7
Development
Running tests
The STNS puppet module contains tests for both rspec-puppet (unit tests) and beaker-rspec (acceptance tests) to verify functionality. For detailed information on using these tools, please see their respective documentation.
Testing quickstart
- Unit tests:
$ bundle install
$ bundle exec rake lint
$ bundle exec rake validate
$ bundle exec rake spec
- Acceptance tests:
# Set your DOCKER_HOST variable
$ eval "$(docker-machine env default)"
# Run beaker acceptance tests
$ BEAKER_set=centos7 bundle exec rake beaker
Thanks
This module is based on hfm/puppet-remi
Release 1.2.1 (2020/10/11)
- Add support for MariaDB 10.5
Release 1.2.0 (2018/11/14)
- Add support for MariaDB 10.4
- Delete support for rhel5
Release 1.1.1 (2018/02/13)
- lint correction
Release 1.1.0 (2018/02/09)
- Change syntax for simplification
Release 1.0.3 (2017/05/06)
- Re upload to Puppet Forge
Release 1.0.2 (2017/05/06)
- Add support for mariadb 10.3
Release 1.0.1 (2017/02/28)
- Renew GPG key
Release 1.0.0 (2017/02/07)
- Initial release.
Dependencies
- puppetlabs/stdlib (>= 3.0.0 < 6.0.0)