Skip to content

Commit

Permalink
expand redhat 7 specific check to all OSes
Browse files Browse the repository at this point in the history
  • Loading branch information
zilchms committed Jun 9, 2024
1 parent eeaf2ee commit 01c0e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/consumer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class { 'kafka::consumer':
apply_manifest(pp, catch_failures: true)
end

describe file('/etc/systemd/system/kafka-consumer.service'), if: (fact('operatingsystemmajrelease') == '7' && fact('osfamily') == 'RedHat') do
describe file('/etc/systemd/system/kafka-consumer.service') do
it { is_expected.to be_file }
it { is_expected.to be_owned_by 'root' }
it { is_expected.to be_grouped_into 'root' }
Expand Down

0 comments on commit 01c0e09

Please sign in to comment.