Jira (FACT-2334) Custom facts are resolved multiple times in a single run

3 views
Skip to first unread message

Oana Tanasoiu (JIRA)

unread,
Jan 30, 2020, 7:30:04 AM1/30/20
to puppe...@googlegroups.com
Oana Tanasoiu created an issue
 
Facter / Bug FACT-2334
Custom facts are resolved multiple times in a single run
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/01/30 4:29 AM
Priority: Normal Normal
Reporter: Oana Tanasoiu

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

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Oana Tanasoiu (JIRA)

unread,
Feb 3, 2020, 9:36:03 AM2/3/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages