Closed dayglojesus closed 7 years ago
+1 I'm receiving this error too.
+1 same here (Server 2016)
Weird, I'm also running on a Windows Server 2016 and don't encounter your issue. Could you tell me which DB you want to use? WID or SQL?
Could you also copy/paste the whole stacktrace, I want to check the line at which the PowerShell script has been defined
OK I think I understand... I'm still using windows 2.1.1
and the behavior of the all
attribute on the PowerShell install_method is completely different from the DISM one.
I'm logging an issue on the windows cookbook.
@dayglojesus @dschrander & @neilfrawley Let me know if this is better. I'll try to release a minor version quickly.
When using a simple
wsus-server::install
orwsus-server::default
, I receive the error:Basically, Windows cannot resolve the
-IncludeAllSubFeature
arg because both WSUS database choices (WID and SQL) fall under the categoryUpdateServices
.One simple fix for this conflict is to remove the
UpdateServices
, element from the Array (line 45) and simply pass:However, it may in fact be better to supply a default database choice (
WID
), supply an attribute to control which database option to use and adjust the conditional install logic accordingly.Happy to supply a patch for either.