mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Fix Packages Resource Docs (#3469)
Some instances of the packages resource in the examples were referencing package instead of packages. Signed-off-by: Paul Welch <pwelch@chef.io>
This commit is contained in:
parent
df3f909705
commit
5375393053
1 changed files with 3 additions and 3 deletions
|
@ -35,19 +35,19 @@ The following examples show how to use this InSpec audit resource.
|
|||
|
||||
### Verify that no `xserver` packages are installed
|
||||
|
||||
describe package(/xserver/) do
|
||||
describe packages(/xserver/) do
|
||||
its('statuses') { should_not cmp 'installed' }
|
||||
end
|
||||
|
||||
### Verify all `openssl` packages match a certain version
|
||||
|
||||
describe package(/openssl/) do
|
||||
describe packages(/openssl/) do
|
||||
its('versions') { should cmp '1.0.1e-42.el7' }
|
||||
end
|
||||
|
||||
### Verify that both the `i686` and `x86_64` versions of `libgcc` are installed
|
||||
|
||||
describe package(/libgcc/) do
|
||||
describe packages(/libgcc/) do
|
||||
its('architectures') { should include 'x86_64' }
|
||||
its('architectures') { should include 'i686' }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue