mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2024-11-27 23:07:53 +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,7 +1,10 @@
|
||||
# Overide by Platform
|
||||
root_group = 'root'
|
||||
if platform[:family] == 'freebsd'
|
||||
root_group = 'wheel'
|
||||
root_group =
|
||||
case platform[:family]
|
||||
when 'bsd'
|
||||
'wheel'
|
||||
else
|
||||
'root'
|
||||
end
|
||||
|
||||
control 'openssh configuration' do
|
||||
|
Loading…
Reference in New Issue
Block a user