Skip to content

Configure the remi repository and import the GPG keys.

Notifications You must be signed in to change notification settings

kapouik/puppet-remi

This branch is up to date with hfm/puppet-remi:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eee0bdf · Oct 17, 2018
Jun 7, 2018
Mar 23, 2016
Oct 17, 2018
Oct 17, 2018
Mar 23, 2016
Oct 2, 2018
Oct 2, 2018
Jun 7, 2018
Jun 7, 2018
Oct 2, 2018
Oct 17, 2018
Jun 7, 2018
Oct 17, 2018
Oct 2, 2018
Oct 17, 2018
Oct 2, 2018
Oct 17, 2018

Repository files navigation

puppet-remi

Build Status Puppet Forge

Table of Contents

  1. Description
  2. Setup - The basics of getting started with remi
  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

Description

This module configure Remi's RPM repository and import RPM-GPG-KEY-remi.

Setup

Beginning with remi

To configure the remi with default parameters, declare the remi class.

include remi

Usage

Configuring remi

class { 'remi':
  remi_safe_enabled  => 1,
  remi_php71_enabled => 1,
}

Configuring modules from Hiera

---
remi::remi_safe_enabled: 1
remi::remi_php71_enabled: 1

Reference

Classes

Public Classes

  • remi: Configure the remi repository and import the GPG keys.

Private Classes

  • remi::rpm_gpg_key: Import the RPM GPG key for the Remi.

Parameters

remi

  • ensure: Whether the RPM-GPG-KEY-remi file should exist. Default to present.
  • path: The path to the RPM-GPG-KEY-remi file to manage. Must be an absolute path. Default to '/etc/pki/rpm-gpg/RPM-GPG-KEY-remi'.

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

About

Configure the remi repository and import the GPG keys.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 65.6%
  • Ruby 34.4%