dsccommunity / FailoverClusterDsc

This module contains DSC resources for deployment and configuration of Windows Server Failover Cluster.
MIT License
60 stars 54 forks source link

xWaitForCluster: If domain name cannot be evaluated by Test-TargetResource it will return and array containing two $false #107

Closed johlju closed 7 years ago

johlju commented 7 years ago

Details of the scenario you tried and the problem that is occurring: If domain name cannot be evaluated by Test-TargetResource it will return and array containing two $false.

This is because Test-TargetResource does not honor the return value and does not chnage code path.

The DSC configuration that is using the resource (as detailed as possible): n/a

Version of the Operating System and PowerShell the DSC Target Node is running: n/a

Version of the DSC module you're using, or 'dev' if you're using current dev branch: Dev

johlju commented 7 years ago

I will fix this when I creating Test for this resource.