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

xWebsite: LogTruncateSize is not a property of (Get-Website).LogFile #380

Closed
nickgw opened this issue Jul 12, 2018 · 1 comment · Fixed by #607
Closed

xWebsite: LogTruncateSize is not a property of (Get-Website).LogFile #380

nickgw opened this issue Jul 12, 2018 · 1 comment · Fixed by #607
Labels
bug The issue is a bug. in progress The issue is being actively worked on by someone.

Comments

@nickgw
Copy link
Contributor

nickgw commented Jul 12, 2018

Setting LogTruncateSize in xWebsite always fails Test-TargetResource because it compares $LogTruncateSize to (Get-Website).logFile.LogTruncatesize.

The property is TruncateSize, not LogTruncateSize so Test-TargetResource always fails.

https://github.com/PowerShell/xWebAdministration/blob/dev/DSCResources/MSFT_xWebsite/MSFT_xWebsite.psm1#L1062

@nickgw
Copy link
Contributor Author

nickgw commented Jul 12, 2018

#381 fixes this.

@johlju johlju added bug The issue is a bug. in progress The issue is being actively worked on by someone. labels Jul 12, 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. in progress The issue is being actively worked on by someone.
Projects
None yet
2 participants