mirror of
https://github.com/inspec/inspec
synced 2024-12-27 13:33:20 +00:00
18 lines
324 B
Ruby
18 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
|