Skip to content

Commit

Permalink
Blacklist test on Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Apr 21, 2020
1 parent c63e000 commit 2d4114b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/acceptance/class_spec.rb
Expand Up @@ -82,9 +82,7 @@ class { 'fail2ban':
it { is_expected.not_to be_running }
# The docker images of Debian do not use systemd, the following test
# cannot be performed on these images.
unless %w[stretch buster].include? fact('lsbdistcodename')
it { is_expected.not_to be_enabled }
end
it { is_expected.not_to be_enabled } if fact('osfamily') != 'Debian'
end
end

Expand Down

0 comments on commit 2d4114b

Please sign in to comment.