- Description
- Setup - The basics of getting started with remi
- 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
This module configure Remi's RPM repository and import RPM-GPG-KEY-remi.
To configure the remi with default parameters, declare the remi
class.
include remi
class { 'remi':
remi_safe_enabled => 1,
remi_php71_enabled => 1,
}
---
remi::remi_safe_enabled: 1
remi::remi_php71_enabled: 1
remi
: Configure the remi repository and import the GPG keys.
remi::rpm_gpg_key
: Import the RPM GPG key for the 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'.
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:
$ 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