-
Notifications
You must be signed in to change notification settings - Fork 27
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
WebSites: Binding infos not supported #159
Comments
Assuming you're using the Website composite resource, and given its simple code here: https://github.com/dsccommunity/CommonTasks/blob/main/source/DSCResources/WebSites/Websites.schema.psm1#L23 I think the problem comes with Get-DscSplattedResource because it does not support MOF subtypes: https://github.com/dsccommunity/xWebAdministration/blob/main/source/DSCResources/MSFT_xWebSite/MSFT_xWebSite.schema.mof#L30 I think this problem does not happen with Class-based resources when the constructor of the nested type supports hashtable as parameter (which is and should be the default). I appreciate that does not help solving the issue, but helps pin-pointing it. |
Thank you Gael! I got to manage it working in this way:
Would you accept such modifications as PR for
|
Problem description
Specifying the binding infos for a website, the MOF compilation fails.
Verbose logs
DSC configuration
Operating system the target node is running
PowerShell version and build the target node is running
CommonTasks version
The text was updated successfully, but these errors were encountered: