mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Remove incorrect example from documentation (#2851)
Owner and mode are provided by the file resource, not ssh_config. Fixes #2471 Co-authored-by: Trevor Bramble tbramble@chef.io Co-authored-by: Paul Welch pwelch@chef.io Signed-off-by: Paul Welch <pwelch@chef.io>
This commit is contained in:
parent
87a28b56bb
commit
a32a85eae5
1 changed files with 0 additions and 7 deletions
|
@ -47,13 +47,6 @@ The following examples show how to use this InSpec audit resource.
|
|||
its('SendEnv') { should include('GORDON_CLIENT') }
|
||||
end
|
||||
|
||||
### Test owner and group permissions
|
||||
|
||||
describe ssh_config do
|
||||
its('owner') { should eq 'root' }
|
||||
its('mode') { should cmp '0644' }
|
||||
end
|
||||
|
||||
### Test SSH configuration
|
||||
|
||||
describe ssh_config do
|
||||
|
|
Loading…
Reference in a new issue