mirror of
https://github.com/inspec/inspec
synced 2024-12-23 03:23:27 +00:00
16 lines
275 B
Ruby
16 lines
275 B
Ruby
|
# copyright: 2015, The Authors
|
||
|
|
||
|
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
|