Jira (FACT-2641) Facter.add unknown parameter has different errors on Facter 3 and 4

2 views
Skip to first unread message

Andrei Filipovici (Jira)

unread,
May 28, 2020, 6:05:04 AM5/28/20
to puppe...@googlegroups.com
Andrei Filipovici created an issue
 
Facter / Bug FACT-2641
Facter.add unknown parameter has different errors on Facter 3 and 4
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/05/28 3:04 AM
Priority: Low Low
Reporter: Andrei Filipovici

Facter.add(:foo, :setcode => nil) on facter 3 fails with:

2020-05-28 09:53:17.828663 ERROR puppetlabs.facter - error while resolving custom facts in /root/custom_facts/fact.rb: unexpected option setcode

On facter 4 fails with:

unable to add resolve nil for fact oss: Invalid resolution options [:setcode]

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages