mirror of
https://github.com/inspec/inspec
synced 2024-12-24 20:13:16 +00:00
f2e587f6d5
Any controls included from profiles that don't support our current platform are now marked as skipped. Fixes #1049
17 lines
324 B
Ruby
17 lines
324 B
Ruby
# encoding: utf-8
|
|
# copyright: 2015, The Authors
|
|
# license: All rights reserved
|
|
|
|
control 'dhcp-disabled' do
|
|
title 'DHCP is disabled'
|
|
describe windows_feature('dhcp') do
|
|
it { should be_installed }
|
|
end
|
|
end
|
|
|
|
control 'cdrive' do
|
|
title 'Has a C://'
|
|
describe file("C://") do
|
|
it { should be_directory }
|
|
end
|
|
end
|