Closed eheydrick closed 6 years ago
Seeing an issue with ordering of ssh_known_hosts items changing between runs.
5.2.1
14.0.190. Also happens on Chef 12 and 13.
Linux
Order of entries written to /etc/ssh/ssh_known_hosts changes between runs.
Have a ssh_known_hosts_entry 'some.site' resource.
ssh_known_hosts_entry 'some.site'
Order should not change between runs.
Run chef-client several times and see that the same key gets rewritten to the file but in a different order sometimes.
I was running 2.0.0 before and this didn't happen.
This is no longer occurring since 6.1.0. It now only writes out an rsa key and avoids sort order issues with multiple key types.
Seeing an issue with ordering of ssh_known_hosts items changing between runs.
Cookbook version
5.2.1
Chef-client version
14.0.190. Also happens on Chef 12 and 13.
Platform Details
Linux
Scenario:
Order of entries written to /etc/ssh/ssh_known_hosts changes between runs.
Steps to Reproduce:
Have a
ssh_known_hosts_entry 'some.site'
resource.Expected Result:
Order should not change between runs.
Actual Result:
Run chef-client several times and see that the same key gets rewritten to the file but in a different order sometimes.
I was running 2.0.0 before and this didn't happen.