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

Is it time to use PowerShell to configure IIS #451

Open
tas50 opened this issue Feb 15, 2020 · 6 comments
Open

Is it time to use PowerShell to configure IIS #451

tas50 opened this issue Feb 15, 2020 · 6 comments

Comments

@tas50
Copy link
Contributor

tas50 commented Feb 15, 2020

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.

@EasyAsABC123
Copy link
Contributor

EasyAsABC123 commented Feb 15, 2020 via email

@jakauppila
Copy link
Contributor

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.

@EasyAsABC123
Copy link
Contributor

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.

@jakauppila
Copy link
Contributor

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.

@xorima
Copy link
Contributor

xorima commented Feb 25, 2020

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.

@github-actions
Copy link

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.

@github-actions github-actions bot added the Stale This is marked as stale and will be closed shortly label Feb 25, 2021
@xorima xorima removed the Stale This is marked as stale and will be closed shortly label Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants