inspec/examples/profile/controls/gordon.rb
Dominik Richter 84882e851b rename example controls
consistency with RFC readme
2015-12-28 13:06:38 +01:00

20 lines
434 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 'Create separate /tmp partition'
desc 'An optional description...'
describe gordon_config do
its('version') { should eq('1.0') }
end
end