mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
14 lines
283 B
Ruby
14 lines
283 B
Ruby
# set up test site for iis_site resource
|
|
|
|
return unless node['platform_family'] == 'windows'
|
|
|
|
# make sure the iis windows feature is installed
|
|
dsc_script 'Web-Server' do
|
|
code <<-EOH
|
|
WindowsFeature InstallWebServer
|
|
{
|
|
Name = "Web-Server"
|
|
Ensure = "Present"
|
|
}
|
|
EOH
|
|
end
|