| 2.6.3 :005 > Facter.to_hash Could not retrieve fact='my_custom_fact', resolution='<anonymous>': undefined local variable or method `a' for #<LegacyFacter::Util::Resolution:0x00007fb2988dc938> Could not retrieve fact='my_custom_fact', resolution='<anonymous>': undefined local variable or method `a' for #<LegacyFacter::Util::Resolution:0x00007fb2988dc938> Could not retrieve fact='my_custom_fact', resolution='<anonymous>': undefined local variable or method `a' for #<LegacyFacter::Util::Resolution:0x00007fb2988dc938> Could not retrieve fact='my_custom_fact', resolution='<anonymous>': undefined local variable or method `a' for #<LegacyFacter::Util::Resolution:0x00007fb2988dc938> Could not retrieve fact='my_custom_fact', resolution='<anonymous>': undefined local variable or method `a' for #<LegacyFacter::Util::Resolution:0x00007fb2988dc938> Could not retrieve fact='my_custom_fact', resolution='<anonymous>': undefined local variable or method `a' for #<LegacyFacter::Util::Resolution:0x00007fb2988dc938> Could not retrieve fact='my_custom_fact', resolution='<anonymous>': undefined local variable or method `a' for #<LegacyFacter::Util::Resolution:0x00007fb2988dc938> Could not retrieve fact='my_custom_fact', resolution='<anonymous>': undefined local variable or method `a' for #<LegacyFacter::Util::Resolution:0x00007fb2988dc938> Could not retrieve fact='my_custom_fact', resolution='<anonymous>': undefined local variable or method `a' for #<LegacyFacter::Util::Resolution:0x00007fb2988dc938> Seems like resolve custom facts gets called multiple times on to_hash method |