Skip to content

Commit

Permalink
fix acceptance tests on Rocky/RHEL 8
Browse files Browse the repository at this point in the history
  • Loading branch information
fraenki committed Aug 7, 2023
1 parent 3c8a520 commit 897a16e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed
* Fix acceptance tests on Rocky/RHEL 8

### Changed
* Add a resource relationship for yumrepo on RHEL

## [2.2.0] - 2023-07-11

### Added
Expand Down
4 changes: 4 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
class proftpd::install {
assert_private()

if $facts['os']['family'] == 'RedHat' {
Yumrepo <| |> -> Package <| |>
}

if $proftpd::package_manage {
package { $proftpd::packages:
ensure => $proftpd::package_ensure,
Expand Down

0 comments on commit 897a16e

Please sign in to comment.