Skip to content

(CAT-7110) Add CentOS 9 support #2581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -30,7 +30,8 @@
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7",
"8"
"8",
"9"
]
},
{

Unchanged files with check annotations Beta

when 'RedHat'
case facts[:os]['release']['major']
when '9'
it { is_expected.to compile.and_raise_error(%r{RedHat 9 does not support mod_php}) }

Check failure on line 115 in spec/classes/mod/php_spec.rb

GitHub Actions / Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)

apache::mod::php on centos-9-x86_64 is expected to fail to compile and raise an error matching /RedHat 9 does not support mod_php/ Failure/Error: it { is_expected.to compile.and_raise_error(%r{RedHat 9 does not support mod_php}) } error during compilation: Evaluation Error: Error while evaluating a Function Call, CentOS 9 does not support mod_php (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/mod/php.pp, line: 42, column: 5) on node fv-az880-681.0oiu2s0ixinexprtii2k4w5yae.ex.internal.cloudapp.net

Check failure on line 115 in spec/classes/mod/php_spec.rb

GitHub Actions / Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)

apache::mod::php on centos-9-x86_64 is expected to fail to compile and raise an error matching /RedHat 9 does not support mod_php/ Failure/Error: it { is_expected.to compile.and_raise_error(%r{RedHat 9 does not support mod_php}) } error during compilation: Evaluation Error: Error while evaluating a Function Call, CentOS 9 does not support mod_php (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/mod/php.pp, line: 42, column: 5) on node fv-az1533-903.sp5dxyzdokpennkiwy2arhawpf.ex.internal.cloudapp.net
else
describe 'on a RedHat OS' do
context 'with default params' do