mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-05 15:17:23 +02:00
test(inspec): fix config_spec tests on *BSD (wheel not root)
This commit is contained in:
1 file changed
+7
-4
@@ -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'
|
||||||
|
|||||||
Reference in new issue
Block a user