rspec-puppet 2.7.8 has started to always set an ipaddress6 fact and deleting no longer works. Setting it to nil does work. The fact() function returns a fact or undef if it can't be found which means it's still a valid way to check if IPv6 is present.
More robust check for IPv6
rspec-puppet 2.7.8 has started to always set an ipaddress6 fact and
deleting no longer works. Setting it to nil does work. The fact()
function returns a fact or undef if it can't be found which means it's
still a valid way to check if IPv6 is present.