Jira (FACT-2514) External fact script cannot be resolved on posix

15 views
Skip to first unread message

Florin Dragos (Jira)

unread,
Mar 31, 2020, 6:43:03 AM3/31/20
to puppe...@googlegroups.com
Florin Dragos created an issue
 
Facter / Bug FACT-2514
External fact script cannot be resolved on posix
Issue Type: Bug Bug
Assignee: Unassigned
Components: Facter 4
Created: 2020/03/31 3:42 AM
Environment:

MacOs X

Priority: Normal Normal
Reporter: Florin Dragos

Fact file ./external_facts/my_external_fact.sh was parsed but returned an empty data set

 

Looks like expand_command returns nil, resulting in the script not being executed

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Mihai Buzgau (Jira)

unread,
Aug 11, 2020, 8:24:04 AM8/11/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: ready for triage

Bogdan Irimie (Jira)

unread,
Aug 19, 2020, 10:23:02 AM8/19/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ready for triage ghost-26.08

Bogdan Irimie (Jira)

unread,
Aug 19, 2020, 10:28:03 AM8/19/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Fact file ./external_facts/my_external_fact.sh was parsed but returned an empty data set

 

Looks like expand_command returns nil, resulting in the script not being executed


 

Investigate what happens on Facter 3 when the files does not have execution rights.

Bogdan Irimie (Jira)

unread,
Aug 19, 2020, 10:30:04 AM8/19/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Aug 19, 2020, 10:31:03 AM8/19/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Fact file ./external_facts/my_external_fact.sh was parsed but returned an empty data set

 

Looks like expand_command returns nil, resulting in the script not being executed

 

Investigate what happens on Facter 3 when the files does not have execution rights.

 


Test what happens when we load the same directory for both external and custom facts. 

Bogdan Irimie (Jira)

unread,
Aug 19, 2020, 10:31:04 AM8/19/20
to puppe...@googlegroups.com

Sebastian Miclea (Jira)

unread,
Aug 26, 2020, 6:09:04 AM8/26/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Aug 26, 2020, 9:04:04 AM8/26/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-26.08 , ready for triage 2
Reply all
Reply to author
Forward
0 new messages