ghoneycutt / puppet-module-ssh

Puppet module to manage SSH
Other
34 stars 184 forks source link

(GH-332) ignore extra lines for ssh_version / ssh_version_numeric #376

Closed Phil-Friderici closed 2 years ago

Phil-Friderici commented 2 years ago

This patch fixes the described behaviour in issue https://github.com/ghoneycutt/puppet-module-ssh/issues/332. To find the correct line, it searches for the string SSH. BUT it also changes the result of broken string to become undef instead of the first string. I think this is even better than any random string.