Skip to content

Windows Compatibility #414

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

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

AnthyG-epias
Copy link

@AnthyG-epias AnthyG-epias commented Jun 26, 2025

Pull Request (PR) description

This Pull Request adds the required modifications to the module for it to be compatible with the Windows Capability ("Optional Feature") OpenSSH.Server.

It adds a section to the README.md with an example on how to set it up on Windows.

I decided to not add the additional installation and configuration steps to the module, because as I understand, the Windows Capability is not broadly available on every Windows Version. I believe it should be compatible with the chocolatey way of installation, but I have not tested this.

I had some problems with the windows specific permission / ownership system and I solved them by using the puppetlabs-acl puppet module, but looking at #225 it might not be necessary. But as it stands, it works, and I don't really want to invest more time unless I have more knowledge that can be easily applied. That is to say, I heartily welcome suggestions, tips, tricks, hints etc..

I actually did not see #225 up until today (when I was basically finished with my changes), and as some changes do seem to match 1to1, I consider them changes that should be merged regardless of the rest of my proposed changes. E.g. that file ownership is configurable, and that the already configurable sshd binary path is used for config file validation.

I have successfully tested my proposed changes on multiple freshly provisioned machines running Windows Server 2022.

This Pull Request (PR) fixes the following issues

Fixes #225

Things left to do

  • add descriptions for new parameters
  • update REFERENCE.md

@AnthyG-epias AnthyG-epias marked this pull request as ready for review June 30, 2025 11:57
@AnthyG-epias
Copy link
Author

how are these extra pipelines triggered, and can I run the necessary stuff locally instead of having to wait for the pipelines to run?

image

@saz
Copy link
Owner

saz commented Jul 2, 2025

@AnthyG-epias bundle exec rake spec should do it. See https://voxpupuli.org/docs/how_to_run_tests/ for helpful details.

@AnthyG-epias
Copy link
Author

anything left to do, e.g. additional tests that should exist before approve?

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

Successfully merging this pull request may close these issues.

2 participants