Jira (FACT-2267) Implement NilFact to solve the no fact found issue

7 views
Skip to first unread message

Bogdan Irimie (JIRA)

unread,
Jan 10, 2020, 2:55:04 AM1/10/20
to puppe...@googlegroups.com
Bogdan Irimie created an issue
 
Facter / Task FACT-2267
Implement NilFact to solve the no fact found issue
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/01/09 11:54 PM
Priority: Normal Normal
Reporter: Bogdan Irimie
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Bogdan Irimie (JIRA)

unread,
Jan 10, 2020, 2:57:04 AM1/10/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Right now cfacter outputs 

```
cfacter abc cde
abc =>
cde =>
``` 

and facter NG 

```
./bin/facter-ng abc cde
```

Bogdan Irimie (JIRA)

unread,
Jan 10, 2020, 2:59:04 AM1/10/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Right now cfacter outputs 
{code:java}
```
cfacter abc cde
abc =>
cde => {code}
``` 

and facter NG   does not output anything
{code:java}
```
./bin/facter-ng abc cde
```
{code}
If we create a NillFact that will return nil for any fact that is not found, we can implement the same behaviour as cfacter with minimum changes (probably only in QueryParser)

Bogdan Irimie (JIRA)

unread,
Jan 10, 2020, 3:00:04 AM1/10/20
to puppe...@googlegroups.com

Bogdan Irimie (JIRA)

unread,
Jan 10, 2020, 5:05:03 AM1/10/20
to puppe...@googlegroups.com
Bogdan Irimie assigned an issue to Unassigned
Change By: Bogdan Irimie
Assignee: Bogdan Irimie

Bogdan Irimie (JIRA)

unread,
Jan 10, 2020, 5:05:04 AM1/10/20
to puppe...@googlegroups.com
Bogdan Irimie assigned an issue to Bogdan Irimie
Reply all
Reply to author
Forward
0 new messages