Jira (FACT-2511) Facter is trying to create a log file inside the gem installation path

18 views
Skip to first unread message

Bogdan Irimie (Jira)

unread,
Mar 27, 2020, 6:01:03 PM3/27/20
to puppe...@googlegroups.com
Bogdan Irimie created an issue
 
Facter / Bug FACT-2511
Facter is trying to create a log file inside the gem installation path
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Untitled
Created: 2020/03/27 3:00 PM
Priority: Normal Normal
Reporter: Bogdan Irimie

Jesse Scott has reported:

PDK nightly builds just started picking up Facter 4 and our acceptance tests are failing in the scenario where the PDK package has been installed on a system as root but then an unprivileged user is running commands. It appears Facter is trying to create a log file inside the gem installation path by default.

 

The problem seams to be provoked by 
https://github.com/puppetlabs/facter-ng/blob/master/lib/framework/logging/logger.rb#L9 is where that default log file path seems to be defined
 

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

Bogdan Irimie (Jira)

unread,
Mar 27, 2020, 6:03:02 PM3/27/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Apr 1, 2020, 3:13:04 AM4/1/20
to puppe...@googlegroups.com
Bogdan Irimie commented on Bug FACT-2511
 
Re: Facter is trying to create a log file inside the gem installation path

The log file was removed because it is not required anymore. Other projects that use Facter can pass in their logger via Facter.on_message(&block) API.

Reply all
Reply to author
Forward
0 new messages