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:
Paul Welch 2018-10-08 09:35:30 -04:00 committed by Jared Quick
parent df3f909705
commit 5375393053

View file

@ -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