GithubHelp home page GithubHelp logo

puppet-mariadb_repo's Introduction

puppet-mariadb_repo

Table of Contents

  1. Description
  2. Setup - The basics of getting started with mariadb_repo
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module
  7. 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  => '106',
}

Can support following versions:

10.2 => 102 (defaults)
10.3 => 103
10.4 => 104
10.5 => 105
10.6 => 106

Configuring modules from Hiera

---
mariadb_repo::version: '106'

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 7, 8
  • CentOS 7, 8
  • Rocky 8
  • Scientific Linux 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 (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

Thanks

This module is based on hfm/puppet-remi

puppet-mariadb_repo's People

Contributors

kapouik avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.