mirror of
https://github.com/inspec/inspec
synced 2024-12-30 06:53:22 +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
|