Version information
This version is compatible with:
- Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 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, 2017.3.x
- Puppet >= 5.0.0 < 8.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'silug-run1', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
run1
Overview
This module installs run1 from Copr.
Setup
What run1 affects
- The
run1
package - A repo file in
/etc/yum.repos.d
Setup Requirements
This module requires puppetlabs-stdlib and puppetlabs-yumrepo_core.
Usage
include run1
OS Compatibility
This module has been tested on recent Fedora and CentOS, and it should work on RHEL.
Running tests
This project contains tests for both rspec-puppet and beaker-rspec to verify functionality.
To run the default tests, execute the following:
gem install bundler
bundle install
bundle exec rake spec
bundle exec rake beaker
By default, beaker tests will execute against CentOS 7. To run beaker tests against Fedora 36, execute the following:
bundle exec rake beaker:fedora-36
Run bundle exec rake beaker:sets
to see all available beaker nodesets.
Run bundle exec rake --tasks
to see all available test options.
Beaker tests require functional docker.
Reference
Table of Contents
Classes
run1
: This module installs run1 from copr
Classes
run1
This module installs run1 from copr
Parameters
The following parameters are available in the run1
class:
baseurl
yumrepo_ensure
yumrepo_description
yumrepo_enabled
yumrepo_skip_if_unavailable
yumrepo_gpgcheck
yumrepo_repo_gpgcheck
yumrepo_gpgkey
yumrepo_target
yumrepo_options
package_name
package_ensure
baseurl
Data type: String[1]
Location of the run1 repo
yumrepo_ensure
Data type: Enum[ 'present', 'absent' ]
ensure
value for the yum repo
yumrepo_description
Data type: String
Yum repo description
configuration option
yumrepo_enabled
Data type: Variant[ String, Integer, Boolean ]
Yum repo enabled
configuration option
yumrepo_skip_if_unavailable
Data type: Variant[ String, Integer, Boolean ]
Yum repo skip_if_unavailable
configuration option
yumrepo_gpgcheck
Data type: Variant[ String, Integer, Boolean ]
Yum repo gpgcheck
configuration option
yumrepo_repo_gpgcheck
Data type: Variant[ String, Integer, Boolean ]
Yum repo repo_gpgcheck
configuration option Yum repo repo_gpgcheck
configuration option
yumrepo_gpgkey
Data type: String
GPG key to use for this repo Yum repo gpgkey
configuration option
yumrepo_target
Data type: Stdlib::Unixpath
Target file for the yum repo configuration
yumrepo_options
Data type: Hash
Additional yum repo configuration options
package_name
Data type: Variant[ String[1], Array[String[1]] ]
The name of the run1
package
package_ensure
Data type: String[1]
Package ensure
attribute
Dependencies
- puppetlabs-stdlib (>= 5.0.0 < 9.0.0)
- puppetlabs-yumrepo_core (>= 1.0.0 < 2.0.0)