Skip to content
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

Set-WebConfigurationProperty/Set-ItemProperty inconsistency under LCM context #348

Open
regedit32 opened this issue Apr 26, 2018 · 0 comments
Labels
bug The issue is a bug. external The issue cannot be resolved within the DSC Resource Kit. help wanted The issue is up for grabs for anyone in the community.

Comments

@regedit32
Copy link
Member

There seems to be an issue with the Set-WebConfigurationProperty and Set-ItemProperty cmdlet when using it to set certain IIS settings under certain conditions. This was discovered while addressing Issue #267 to manage log custom fields. It was a niche scenario, but running the same Set-WebConfigurationProperty twice consecutively always ensured the expected setting was applied. This also only happened under the context of the LCM and not while running the Set-TargetResource function under user context.

Using the added functionality in PR #342 , this issue can be reproduced using the xWebsite Integration test if Set-WebConfigurationProperty is only run once inside the Set-LogCustomField function in MSFT_xWebsite.psm1.

@johlju johlju added bug The issue is a bug. external The issue cannot be resolved within the DSC Resource Kit. labels Apr 27, 2018
@johlju johlju added the help wanted The issue is up for grabs for anyone in the community. label May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. external The issue cannot be resolved within the DSC Resource Kit. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

No branches or pull requests

2 participants