Bart-Jan Vrielink 9832dee0a0
Add for the possibility of an IPv6 address
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.
2019-04-29 16:15:14 +02:00
..
2016-11-03 11:54:56 -04:00