Skip to content

Commit

Permalink
Initial support for RHEL10 (via CentOS Stream 10)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcpunk committed Jun 11, 2024
1 parent e602e3d commit 67ff82b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion data/RedHat-family-7.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
systemd::resolved_package: 'systemd-resolved'
systemd::nspawn_package: ~

systemd::accounting:
Expand Down
2 changes: 2 additions & 0 deletions data/RedHat-family-8.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
systemd::resolved_package: ~

systemd::accounting:
DefaultCPUAccounting: 'yes'
DefaultBlockIOAccounting: 'yes'
Expand Down
1 change: 0 additions & 1 deletion data/RedHat-family-9.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
systemd::resolved_package: 'systemd-resolved'
systemd::oomd_package: 'systemd-oomd'

systemd::accounting:
Expand Down
1 change: 1 addition & 0 deletions data/RedHat-family.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
systemd::networkd_package: systemd-networkd
systemd::nspawn_package: 'systemd-container'
systemd::resolved_package: 'systemd-resolved'
2 changes: 1 addition & 1 deletion spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
end

case [facts[:os]['family'], facts[:os]['release']['major']]
when %w[RedHat 7], %w[RedHat 9], %w[Debian 12]
when %w[RedHat 7], %w[RedHat 9], %w[Debian 12], %w[Fedora \d+]
it { is_expected.to contain_package('systemd-resolved') }
else
it { is_expected.not_to contain_package('systemd-resolved') }

Check failure on line 54 in spec/classes/init_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

systemd supported operating systems on fedora-37-x86_64 when enabling resolved and networkd is expected not to contain Package[systemd-resolved] Failure/Error: it { is_expected.not_to contain_package('systemd-resolved') } expected that the catalogue would not contain Package[systemd-resolved]

Check failure on line 54 in spec/classes/init_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

systemd supported operating systems on fedora-38-x86_64 when enabling resolved and networkd is expected not to contain Package[systemd-resolved] Failure/Error: it { is_expected.not_to contain_package('systemd-resolved') } expected that the catalogue would not contain Package[systemd-resolved]

Check failure on line 54 in spec/classes/init_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

systemd supported operating systems on fedora-37-x86_64 when enabling resolved and networkd is expected not to contain Package[systemd-resolved] Failure/Error: it { is_expected.not_to contain_package('systemd-resolved') } expected that the catalogue would not contain Package[systemd-resolved]

Check failure on line 54 in spec/classes/init_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

systemd supported operating systems on fedora-38-x86_64 when enabling resolved and networkd is expected not to contain Package[systemd-resolved] Failure/Error: it { is_expected.not_to contain_package('systemd-resolved') } expected that the catalogue would not contain Package[systemd-resolved]
Expand Down

0 comments on commit 67ff82b

Please sign in to comment.