Previously, facter did not fully provide facts for IPv6 addresses. As a result, the netmask6 and netmaks6_<interface> facts were missing.
With this update, the 'netmask6' family of facts are added to Facter 2.x. This updates lib/facter/util/ip.rb, lib/facter/util/netmask.rb, and lib/facter/interfaces.rb files. As a result, facter returns netmask for default IPv6 address and IPv6 interfaces with an IPv6 address.
Created attachment 1103797[details]
Patch
This clone of BZ#128338 is to track the patch on OSP8 where the clonee is targeting OSP7.
Using the same patch, it adds netmask6 and netmask6_<interface> facts for Facter 2 as a drop-in solution.
This bug must be closed because:
1. Patching Facter 2.x is not always possible for channels like RDO (unless Facter package is added to it)
2. Avoiding patching downstream is preferable since the process is heavy.
Therefore another solution has been found, as part of the related BZ#1280523,
which provides the needed Facter facts as custom facts included into the involved module puppet-tripleo.
The downstream patch created so far for OSP8 is not needed and can be removed if already created.