- 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
This module configure MariaDB's RPM repository Rhel/Centos and import RPM-GPG-KEY-MariaDB.
To configure the MariaDB repository with default parameters, declare the mariadb_repo
class.
include mariadb_repo
class { 'mariadb_repo':
version => '106',
}
Can support following versions:
10.2 => 102 (defaults)
10.3 => 103
10.4 => 104
10.5 => 105
10.6 => 106
---
mariadb_repo::version: '106'
mariadb_repo
: Configure the MariaDB repository and import the GPG keys.
mariadb_repo::rpm_gpg_key
: Import the RPM GPG key for the MariaDB.
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'.
This module has been tested on:
- RedHat Enterprise Linux 7, 8
- CentOS 7, 8
- Rocky 8
- Scientific Linux 7
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.
- Unit tests (old way):
$ bundle install
$ bundle exec rake lint
$ bundle exec rake validate
$ bundle exec rake spec
- Unit tests (with pdk):
$ pdk validate --parallel
$ pdk test unit
- Acceptance tests:
# Set your DOCKER_HOST variable
$ eval "$(docker-machine env default)"
# Run beaker acceptance tests
$ BEAKER_set=centos7 bundle exec rake beaker
This module is based on hfm/puppet-remi