Open johlju opened 7 years ago
This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 10 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.
Details of the scenario you tried and the problem that is occurring: Opening up this issue to discuss the behavior of parameter Ensure in xClusterPreferredOwner
Today: When parameter Ensure is set to 'Present' the nodes assigned to parameter Nodes is set (replaced) as the preferred owners. The user says these owners should always be preferred owners. If someone adds another preferred owner outside of the desired configuration. The configuration will set the preferred owners back to the preferred owners in the configuration.
When parameter Ensure is set to 'Absent' the user says that those owners should never ever be preferred owners to be in desired state. So the resource will get all the currently present preferred owners and then remove only those the user said should be absent, leaving the rest to still be preferred owners. There are currently not a way to say that there should be no preferred owners at all.
Comment from @bgelens in PR #98.
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