mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
aix support for file tests was added to train
This commit is contained in:
parent
6f6ff015f9
commit
ec8ee25028
2 changed files with 17 additions and 4 deletions
|
@ -6,8 +6,15 @@
|
|||
|
||||
if node['platform_family'] != 'windows'
|
||||
|
||||
gid = 'root'
|
||||
gid = 'wheel' if node['platform_family'] == 'freebsd'
|
||||
gid = case node['platform_family']
|
||||
when 'aix'
|
||||
'system'
|
||||
when 'freebsd'
|
||||
'wheel'
|
||||
else
|
||||
'root'
|
||||
end
|
||||
|
||||
|
||||
file '/tmp/file' do
|
||||
mode '0765'
|
||||
|
|
|
@ -4,8 +4,14 @@
|
|||
#
|
||||
# adds a yaml file
|
||||
|
||||
gid = 'root'
|
||||
gid = 'wheel' if node['platform_family'] == 'freebsd'
|
||||
gid = case node['platform_family']
|
||||
when 'aix'
|
||||
'system'
|
||||
when 'freebsd'
|
||||
'wheel'
|
||||
else
|
||||
'root'
|
||||
end
|
||||
|
||||
['yml', 'json', 'csv', 'ini'].each { |filetype|
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue