-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Is it time to use PowerShell to configure IIS #451
Comments
Yes 100% I’ve wanted to rewrite this using the DSC to solve most of these
problems but the decision sees to never be finalized on chefs side
…On Sat, Feb 15, 2020 at 12:01 AM Tim Smith ***@***.***> wrote:
Now that Windows 2008 R2 is EOL is it fair to say we can use PowerShell to
configure IIS? It seems a lot of complexity and issues in this cookbook
could be resolved by using PowerShell cmdlets.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#451>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOD5YF3AZITB2XD4GHHR7DRC5ZLBANCNFSM4KVVAMOQ>
.
|
Using DSC would require pulling in additional dependencies though, right? I had started looking at what a conversion would look like with #424 a few years ago, but hadn't had the time to commit to seeing it through. |
Yes you need to download the DSC powershell and then install it, that isn't a huge deal. It depends on pinning the version or not, in my mind you'd download the latest at the start of every run. it means it would break for everyone but you could enable pinning via a configuration setting you pass to iis. I looked into this a while back and had figured all that out, but they couldn't ever get their minds set...since then i've become more aware of the lack of support Chef can provide for legacy config items. I say just implement it. |
I would want to be mindful of air-gapped environments to ensure that the installation of the modules is easy to configure from alternative sources. That being said, I'm not sure how often the WebAdministration DSC module updates, but I'd personally be more in favor of a pure lower-level WebAdministration module configuration that does not rely on external dependencies since you would then have to manage that as well in case there are bugs and/or breaking changes in the DSC modules versions. |
When I used DSC resources for other chef community resources I have had negative feedback on that aspect, I think using raw powershell would be better also as someone who has an air gaped environment DSC comes with a lot of checking where the powershell modules are just there making life easier. |
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs. |
Now that Windows 2008 R2 is EOL is it fair to say we can use PowerShell to configure IIS? It seems a lot of complexity and issues in this cookbook could be resolved by using PowerShell cmdlets.
The text was updated successfully, but these errors were encountered: