Skip to content

Commit 23067d3

Browse files
committed
remove spectests for service targets due to hieradata defaults
1 parent f0890fd commit 23067d3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spec/classes/broker_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@
6262
context 'defaults' do
6363
if os_facts[:service_provider] == 'systemd'
6464
it { is_expected.to contain_file('/etc/init.d/kafka').with_ensure('absent') }
65-
it { is_expected.to contain_file('/etc/systemd/system/kafka.service').with_content %r{^After=network\.target syslog\.target$} }
66-
it { is_expected.to contain_file('/etc/systemd/system/kafka.service').with_content %r{^Wants=network\.target syslog\.target$} }
6765
it { is_expected.not_to contain_file('/etc/systemd/system/kafka.service').with_content %r{^LimitNOFILE=} }
6866
it { is_expected.not_to contain_file('/etc/systemd/system/kafka.service').with_content %r{^LimitCORE=} }
6967
else

0 commit comments

Comments
 (0)