Skip to content

Commit 36c2cb7

Browse files
committed
remove check for unsupported osfamily fact and puppet error
1 parent 99cacca commit 36c2cb7

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

spec/classes/init_spec.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -366,19 +366,6 @@
366366
end
367367
end
368368

369-
context 'when osfamily is unsupported' do
370-
let :facts do
371-
{ osfamily: 'Unsupported',
372-
operatingsystemmajrelease: '9',
373-
monit_version: '5' }
374-
end
375-
376-
it 'fails' do
377-
expect do
378-
is_expected.to contain_class('monit')
379-
end.to raise_error(Puppet::Error, %r{monit supports osfamilies Debian and RedHat\. Detected osfamily is <Unsupported>\.})
380-
end
381-
end
382369
end
383370

384371
describe 'variable type and content validations' do

0 commit comments

Comments
 (0)