Facter can now support structured facts, so this can be turned into a normal fact that returns an array instead of creating dynamic facts.