This local variable is defined when the file is loaded by Facter, which does not necessarily happen every time Fact values are flushed and then refreshed.  I mention this because I think it affect the behavior of the `setcode` blocks below...