puppet-nginx icon indicating copy to clipboard operation
puppet-nginx copied to clipboard

Add support for AppStream package installation

Open Henrik-Hansson opened this issue 4 years ago • 11 comments

Pull Request (PR) description

Add support to install nginx through AppStream on EL8.

This Pull Request (PR) fixes the following issues

Henrik-Hansson avatar Jul 20 '21 12:07 Henrik-Hansson

nginx is a class

Breaking changes to this file WILL impact these 15 modules (exact match):
Breaking changes to this file MAY impact these 34 modules (near match):

nginx::package::redhat is a class

that may have no external impact to Forge modules.

This module is declared in 9 of 577 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

It seems this pull request needs additional work. Currently it attempts to install the "package" every time Puppet is executed.

anders-larsson avatar Aug 19 '21 09:08 anders-larsson

I agree that os.family seems better. I will rebase and update with os.family.

Henrik-Hansson avatar Mar 14 '22 17:03 Henrik-Hansson

I think https://github.com/voxpupuli/puppet-nginx/pull/1501 should fix the acceptance tests, except for EL7. But that shouldn't hold up this PR. Unit tests should suffice for that (but those are still running).

ekohl avatar Mar 14 '22 17:03 ekohl

Hello, what can I do to get this merged? The CI validation fails on something not related to this PR. BR, Henrik

Henrik-Hansson avatar Nov 28 '22 11:11 Henrik-Hansson

I've opened https://github.com/voxpupuli/puppet-nginx/pull/1519 to fix that.

ekohl avatar Nov 28 '22 11:11 ekohl

Please rebase.

ekohl avatar Nov 28 '22 11:11 ekohl

Hi, sorry for delay. Most of the tests fails on passenger, don't think it's related to my change. I have fixed the Package error I introduced with "Package['nginx']", with "'Package[nginx]'".

Henrik-Hansson avatar Dec 19 '22 18:12 Henrik-Hansson

@kenyon is it possible for you to do a fresh review for this to get merged?

It appears the documentation has been added, and this is much needed improvement for RHEL servers.

ardrigh avatar Aug 26 '23 12:08 ardrigh

#1573 removes EOL Ubuntu 18.04.

kenyon avatar Aug 26 '23 15:08 kenyon

@Henrik-Hansson if you are still keen to update this pull request, the version check could use a tweak.

RHEL9 started with 1.20, a version check for this should fix the tests.

It might be easier to assume a test for nginx 1.22 that is available in both RHEL8.8 and RHEL9.2 appstreams?

ardrigh avatar Aug 27 '23 08:08 ardrigh