
Also cover the case that there is no IPv4 address on an IPv6 only host. Included are rspec tests for the sshkey resource Test for correct host_aliases for the host's own sshkey resource. 3 possible combinations of IPv4 and IPv6 address are tested. Not tested are: - Virtual sshkey resources from other hosts. - Other parameters for the sshkey resource (type, key) - Non-default values for ssh_key_ensure and ssh_key_import.