-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using xiismodule, test does not recognize that the module is already present. #323
Comments
Example of the output: |
I'm facing the very same error with this configuration:
|
I tried to debug the resource. Even though the module configuration is fine, the function Test-TargetResourceImpl will return $false. Eventually line 393 is causing this issue:
|
Thanks for reporting this! A test should be added to test this scenario. I label this as help wanted so that someone in the community can run with it. There are an open PR #350 that has been abandoned that someone is more than welcome to take over an run with. |
…ommunity#305). * Updated **xIISModule** to parse verbs correctly (issue dsccommunity#323).
- Add handler to specified site (dsccommunity#305). - Parse verbs correctly (dsccommunity#323).
The following config works the first time, but subsequent times, always returns an error because it doesn't recognize that the setting is already there. It's a non-terminating error, but does cause the overall config to report a failure.
xIisModule phpHandler
{
Name = "phpFastCgi"
Path = "c:\tools\php72\php-cgi.exe"
RequestPath = ".php"
Verb = ""
Ensure = "Present"
ModuleType = 'FastCgiModule'
DependsOn = @("[Package]vcRedist","[File]PhpIni")
}
The text was updated successfully, but these errors were encountered: