mirror of
https://github.com/inspec/inspec
synced 2025-02-16 22:18:38 +00:00
Fix the lint and failing test for windows_feature resource
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
43c9caa7e9
commit
0d83a44f44
2 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ module Inspec::Resources
|
|||
feature_info = {
|
||||
name: result.match(feature_name_regex).captures[0].chomp,
|
||||
description: result.match(description_regex).captures[0].chomp,
|
||||
installed: result.match(state_regex).captures[0].chomp == 'Enabled',
|
||||
installed: result.match(state_regex).captures[0].chomp == "Enabled",
|
||||
}
|
||||
end
|
||||
|
||||
|
|
2
test/fixtures/cmd/dism-iis-webserver
vendored
2
test/fixtures/cmd/dism-iis-webserver
vendored
|
@ -9,7 +9,7 @@ Feature Name : IIS-WebServer
|
|||
Display Name : World Wide Web Services
|
||||
Description : Installs the IIS 10.0 World Wide Web Services. Provides support for HTML web sites and optional support for ASP.NET, Classic ASP, and web server extensions.
|
||||
Restart Required : Possible
|
||||
State : Disabled
|
||||
State : Enabled
|
||||
|
||||
Custom Properties:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue