-
Notifications
You must be signed in to change notification settings - Fork 186
Add support for new OS flavours (ready to merge) #398
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
Conversation
Comment from @anders-larsson:
|
Will do so.
I have started with adding just basic support for the new OS flavours. This should enable users to fully configure SSH in the old style (all configuration inside ssh_config/sshd_config).
For the default configuration I try to touch as less as possible and change nothing from the OS vendor indented settings. |
Comment from @anders-larsson:
|
Well, staying as close as possible to the vendor settings is my approach for modules ;) |
@anders-larsson: support for RedHat 9 just added |
9ad9d9e
to
f36bb04
Compare
f36bb04
to
62bb0ae
Compare
Modern versions of SSH allow to include configuration files via include directive. Several OS vendors already use this feature. This change allows the module to manage configuration files in .d directories as well.
Allow host directive to be unset in ssh_config. This is needed for OS flavours that do not set this directive in ssh_config but in .d directories.
62bb0ae
to
0898e47
Compare
0898e47
to
99c5633
Compare
@ghoneycutt could you please review and hopefully merge. |
@Phil-Friderici Would it be possible to also add support for CentOS 9 please? Should be straight forward. |
@canihavethisone: et voilà, added support for CentOS 9. Tests do fail due to problems with PDK gems. Guess it needs an update by Puppetlabs. |
@Phil-Friderici wow, thanks for the fast work! Perhaps centOS9 should also be added to supported os in metadata? |
8d32494
to
bdbddbc
Compare
@canihavethisone added CentOS 9 to metadata as @canihavethisone (thanks!) mentioned |
bdbddbc
to
f09af1f
Compare
f09af1f
to
d8d1acb
Compare
great Puppetlabs fixed the PDK and now all checks are good :) |
@Phil-Friderici Why |
@ghoneycutt We need one for the server directives and the other for the client directives. |
Acceptance tests seem to be broken again :( |
@ghoneycutt Anything missing before it could get merged ? |
I ran into those same acceptance errors on some of my modules, switching to Voxpupli testing gems (ie newer testing gems) solved the issue: https://github.com/treydock/puppet-module-keycloak/pull/276/files#diff-d09ea66f8227784ff4393d88a19836f321c915ae10031d16c93d67e6283ab55f |
7a3331c
to
a060cea
Compare
@treydock Thank you for pointing to the Voxpupli gems. Too bad I have never understood the way Voxpupli is testing. |
https://github.com/treydock/puppet-module-keycloak/blob/master/.github/workflows/ci.yaml#L48 . I think you need to update |
a060cea
to
8ce7fc9
Compare
To speak frankly, I think that my PR is complete and working well. It is the testing harness that doesn't work as intended. I had managed to get it working for either the unit tests or the acceptance tests but not both. |
1958c09
to
e8441d0
Compare
@ghoneycutt @Phil-Friderici is there an ETA for getting this committed and a new version released? |
@baron1405 I will be taking this and trying to get it across the finish line. I hope to have things ready to merge in next week or two. |
@treydock Thanks for the update and your efforts are truly appreciated! |
Thank you for your contributions and help! This is merged in #402 and released in |
This change add support for these new OSes:
To be able to support new OS flavours these changes have been made too:
Migrate from os.family to os.name
Make sure that we can have specific configurations for each RedHat based OS.
Add possibility to manage configuration files in .d directories
Modern versions of SSH allow to use configuration files via include directive. Several OS vendors already use this feature.
Move default value for $host into hiera data
Allow host directive to be unset in ssh_config. This is needed for OS flavours that do not set this directive in ssh_config but in .d directories.
Add OracleLinux and Scientific Linux to metadata
Fixes: