mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2025-04-16 17:50:24 +00:00
test(inspec): fix config_spec
tests on *BSD (wheel
not root
)
This commit is contained in:
parent
5d3f92c05a
commit
047b753a9e
1 changed files with 7 additions and 4 deletions
|
@ -1,8 +1,11 @@
|
|||
# Overide by Platform
|
||||
root_group = 'root'
|
||||
if platform[:family] == 'freebsd'
|
||||
root_group = 'wheel'
|
||||
end
|
||||
root_group =
|
||||
case platform[:family]
|
||||
when 'bsd'
|
||||
'wheel'
|
||||
else
|
||||
'root'
|
||||
end
|
||||
|
||||
control 'openssh configuration' do
|
||||
title 'should match desired lines'
|
||||
|
|
Loading…
Add table
Reference in a new issue