-
Notifications
You must be signed in to change notification settings - Fork 149
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
Converting PHP-FastCGI handler from a managed handler to a module mapping #308
base: main
Are you sure you want to change the base?
Conversation
Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion. DSCResources/MSFT_xIisModule/MSFT_xIisModule.psm1, line 161 at r1 (raw file):
Why hardcoding this to File? Comments from Reviewable |
I'm about to make bigger changes to IISModule (and other resources), so I have added a comment to Reviewable. I can resolve my comment myself too, as the author hasn't been active on this for a few months now. |
Just to make sure I'm following you want to basically incorporate this change into your PR? Personally I'm fine with whatever as I don't fully comprehend this change. |
Exactly. The changes the author meant to perform was changing "Module" to "Modules" (with an S), which fixes a bug. However, author also added a hardcoded ResourceType, which is kind of dirty and as part of my changes I'd add a Parameter for setting the ResourceType. The question if I could pass the "dirty" change as I'll be soon replacing that anyway. Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion. Comments from Reviewable |
I'm fine with you doing the change in yours and closing this one. Let's give another day or two for @andy1547 to respond before moving forward. If he doesn't respond I'll close this PR. |
@Devvox93 I agree that ResourceType should be a string parameter with a ValidationSet of Unspecified (don't think this is an option in the UI but is in handler documentation), File, Directory and Either. The IIS UI does not force the user to input this and defaults to File, so I'd suggest using that as the default. |
With the UI defaulting to File (I didn't think about that), I suggest this PR to be approved, as it does fix the bug mentioned in issue #305 . The extended functionality of using a Parameter (also in Get and Test) can be added later in my PR. Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion. Comments from Reviewable |
Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion. DSCResources/MSFT_xIisModule/MSFT_xIisModule.psm1, line 161 at r1 (raw file): Previously, Devvox93 wrote…
Default value that UI sets is File, so it's not that ugly. Future change will use a parameter. Comments from Reviewable |
Reviewed 1 of 1 files at r1. Comments from Reviewable |
Resolves: #305
This change is