saz / puppet-ssh

Puppet module to manage ssh server and client
http://forge.puppetlabs.com/saz/ssh
Other
123 stars 237 forks source link

Purge /etc/ssh/ssh[d]_config.d as well #389

Open jay7x opened 3 months ago

jay7x commented 3 months ago

OpenSSH supports loading drop-ins from /etc/ssh/ssh[d]_config.d directory for server/client configs these days. While the module allows to manage the whole /etc/ssh/ssh[d]_config file, some packages may drop their configuration files to the *.d directories also. I guess it'd be good idea to support purging those directories as well.

nvergottini commented 3 months ago

I submitted pull request #390 to add support for include files for sshd_config since the lack of include files breaks openssh server crypto policies in EL9. I didn't really think about adding support for ssh_config include files since I've never used this module to manage ssh_config, but it would be easy enough to add that support.