When trying to extend a fact that has a hash value with a custom fact, I get an error
E.g. If a try to extend the "disk" fact with {code}Facter.add("disks.my_custom_disk2") do setcode do "d" end end {code} and got {code}[2021-02-26 12:35:46.784434 ] ERROR Facter::FactCollection - Custom fact `disks.my_custom_disk` cannot be added to collection. The format of this fact is incompatible with other facts that belong to `disks` group {code}
When trying to extend a fact that has a hash value with a custom fact, I get an error
E.g. If a try to extend the "disk" fact with {code}Facter.add("disks.my_custom_disk2") do setcode do "d" end end {code} and got {code}[2021-02-26 12:35:46.784434 ] ERROR Facter::FactCollection - Custom fact `disks.my_custom_disk` cannot be added to collection. The format of this fact is incompatible with other facts that belong to `disks` group {code}
Some facts (e.g. disks, networking.interfaces) have a hash as a value. If we want to override a value in the hash with a custom facts, we are not able to.