You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[UpdateServicesServer] Upstream Server triggers reconfigure when not specified #55
Details of the scenario you tried and the problem that is occurring
Configured WSUS using DSC. SCCM then used the configured instance, and set the Upstream Server. Expected that DSC would ignore this as the option is not specified in the declared configuration. Found that DSC performed a reconfigure of WSUS back to Microsoft Update. SCCM then reconfigured again, and we went round in a circle.
Verbose logs showing the problem
[[UpdateServicesServer]SccmCasHa-WsusConfig::[SccmCasHa]xSccmCasHa] Upstream Server Name test failed
Suggested solution to the issue
Only return $false from Test Resource if the Upstream Server Name does not match the current server name, and the UpstreamServerName option has been specified in the declared configuration.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
This solution may present a problem. I wonder if there needs to be an additional parameter, to choose the upstream server type of MicrosoftUpdate, Defined, Ignore? If not this solution would stop monitoring the upstream server for configurations where it is not defined - which would potentially be undesirable.
So a new parameter of:
UpstreamServerConfig
Options:
MicrosoftUpdate
Defined
Ignored
Activity
CraigTolley commentedon May 26, 2020
This solution may present a problem. I wonder if there needs to be an additional parameter, to choose the upstream server type of MicrosoftUpdate, Defined, Ignore? If not this solution would stop monitoring the upstream server for configurations where it is not defined - which would potentially be undesirable.
So a new parameter of:
UpstreamServerConfig
Options:
MicrosoftUpdate
Defined
Ignored
CraigTolley commentedon May 26, 2020
Proposed PR goes for allowing the UpstreamServerName option to be set to IGNORE, which is then checked against in the Test-TargetResource function.
This option required the least code change, did not add in other parameters and does not introduce a breaking change.
gaelcolas commentedon May 26, 2020
Sorry, I missed that. Will read this tomorrow, that will probably answer my questions on the PR