mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
Updating docs to show the interface name is required
Signed-off-by: Adam Leff <adam@leff.co>
This commit is contained in:
parent
9182ba8574
commit
333c7f15aa
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ Use the `interface` InSpec audit resource to test basic network adapter properti
|
|||
|
||||
An `interface` resource block declares network interface properties to be tested:
|
||||
|
||||
describe interface do
|
||||
describe interface('eth0') do
|
||||
it { should be_up }
|
||||
its('speed') { should eq 1000 }
|
||||
its('name') { should eq eth0 }
|
||||
|
|
Loading…
Add table
Reference in a new issue