mirror of
https://github.com/inspec/inspec
synced 2024-12-18 09:03:12 +00:00
db1195ddc8
The 'title' of the gordon-1.0 control had been copy/pasted from the tmp-1.0 resource.
20 lines
439 B
Ruby
20 lines
439 B
Ruby
# encoding: utf-8
|
|
# copyright: 2015, Chef Software, Inc.
|
|
# license: All rights reserved
|
|
|
|
title 'Gordon Config Checks'
|
|
|
|
# To pass the test, create the following file
|
|
# ```bash
|
|
# cat <<EOF > /etc/gordon/config.yaml
|
|
# version: '1.0'
|
|
# EOF
|
|
# ```
|
|
control 'gordon-1.0' do
|
|
impact 0.7
|
|
title 'Verify the version number of Gordon'
|
|
desc 'An optional description...'
|
|
describe gordon_config do
|
|
its('version') { should eq('1.0') }
|
|
end
|
|
end
|