Skip to content

Commit

Permalink
Merge pull request #217 from Dan33l/drop_OSes
Browse files Browse the repository at this point in the history
Drop CentOS 8 support
  • Loading branch information
Dan33l authored Sep 16, 2024
2 parents d630c1b + 0dc51a8 commit 722d31e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
10 changes: 0 additions & 10 deletions .sync.yml

This file was deleted.

3 changes: 0 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,13 @@
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"7",
"8",
"9"
]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7",
"8",
"9"
]
},
Expand Down
4 changes: 1 addition & 3 deletions spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@
case [facts[:os]['name'], facts[:os]['release']['major']]
when %w[OpenSuSE 15]
it { is_expected.to contain_class('fail2ban').with_config_file_template('fail2ban/OpenSuSE/15/etc/fail2ban/jail.conf.epp') }
when %w[CentOS 7]
it { is_expected.to contain_class('fail2ban').with_config_file_template('fail2ban/CentOS/7/etc/fail2ban/jail.conf.epp') }
when %w[RedHat 7]
it { is_expected.to contain_class('fail2ban').with_config_file_template('fail2ban/RedHat/7/etc/fail2ban/jail.conf.epp') }
when %w[AlmaLinux 8], %w[RedHat 8], %w[Rocky 8], %w[CentOS 8]
when %w[AlmaLinux 8], %w[RedHat 8], %w[Rocky 8]
it { is_expected.to contain_class('fail2ban').with_config_file_template('fail2ban/RedHat/8/etc/fail2ban/jail.conf.epp') }
when %w[AlmaLinux 9], %w[RedHat 9], %w[Rocky 9], %w[CentOS 9]
it { is_expected.to contain_class('fail2ban').with_config_file_template('fail2ban/RedHat/9/etc/fail2ban/jail.conf.epp') }
Expand Down

0 comments on commit 722d31e

Please sign in to comment.