Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x
- Puppet >= 5.5.8 < 7.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'attestra-pgbackrest', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
pgbackrest
This module provides configuration management of pgBackRest - Reliable PostgreSQL Backup & Restore.
Table of Contents
- Description
- Setup - The basics of getting started with pgbackrest
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Description
This module allows all pgBackRest configuration options to be set in Hiera data.
Setup
PostgresQL Repositories
If you are not managing the repos another way, this module can install the postgresql.org release RPM and enable the repo for the version you choose.
Do not enable repo management when using
puppetlabs/postgresql's $manage_package_repo
option.
The two repo management classes are redundant and will conflict with each other.
pgbackrest::manage_package_repo: true # Boolean
pgbackrest::yumrepos::enable_version: 12 # Integer
If you leave the enable_version
parameter undeclared, only the common repo will be enabled.
This is the correct choice if you are using a different upstream, such as the PostgresQL AppStream,
and only want the addon packages (like pgBackRest). This is the default behavior.
If you wish to prevent updates or to remove the release RPM, you can change:
pgbackrest::yumrepos::release_rpm_ensure: 'absent'
This will naturally prevent installation or updates of pgBackRest.
Usage
Simply adding the module to a profile is sufficient to install pgBackRest.
include pgbackrest
Only include the main class. Do not directly include the subclasses, as they are contained by the top-level class. Subclasses may be refactored without notice.
Limitations
Do not enable manage_package_repo
when using
puppetlabs/postgresql's $manage_package_repo
option.
The two repo management classes are redundant.
Development
Issues and Pull Requests happily accepted here.
Dependencies
- puppetlabs/inifile (>= 4.0.0 < 5.0.0)
- puppetlabs/stdlib (>= 4.25.1 < 7.0.0)