mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2025-02-17 16:14:24 +01:00
Merge pull request #171 from myii/test/fix-tests-on-BSD
test(inspec): fix `config_spec` tests on *BSD (`wheel` not `root`)
This commit is contained in:
commit
b6aaea6bfa
@ -1,8 +1,11 @@
|
|||||||
# Overide by Platform
|
# Overide by Platform
|
||||||
root_group = 'root'
|
root_group =
|
||||||
if platform[:family] == 'freebsd'
|
case platform[:family]
|
||||||
root_group = 'wheel'
|
when 'bsd'
|
||||||
end
|
'wheel'
|
||||||
|
else
|
||||||
|
'root'
|
||||||
|
end
|
||||||
|
|
||||||
control 'openssh configuration' do
|
control 'openssh configuration' do
|
||||||
title 'should match desired lines'
|
title 'should match desired lines'
|
||||||
|
Loading…
Reference in New Issue
Block a user