inspec/examples/profile/controls/gordon.rb

21 lines
439 B
Ruby
Raw Normal View History

2015-12-14 13:23:41 +00:00
# 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'
2015-12-14 13:23:41 +00:00
desc 'An optional description...'
describe gordon_config do
its('version') { should eq('1.0') }
end
end