[resource] iis_app_pool fails with error when pool is absent (馃悰) #3418
Labels
Aspect: Correctness
Is it actually right? Does it match a specification?
Component: Core Resources
Resources shipped with InSpec.
Type: Bug
Feature not working as expected
馃帥 Description
馃悰 Bug Report
When running a basic InSpec profile to check if an IIS app pool is absent, PowerShell fails out instead of passing back something that can be parsed as JSON.
馃實 InSpec and Platform Version
2.1.54 via ChefDK (MacOS 10.13.6)
馃 Replication Case
馃拋 Possible Solutions
Add a
Test-Path
line before runningGet-Item
in PowerShell to keep all output to STDOUT just stuff the ruby JSON parser can handle.馃捇 Stacktrace
N/a
The text was updated successfully, but these errors were encountered: