Jira (PUP-10136) premature loading of module-provided facts under `-p`

6 views
Skip to first unread message

Dorin Pleava (JIRA)

unread,
Nov 12, 2019, 7:49:04 AM11/12/19
to puppe...@googlegroups.com
Dorin Pleava moved an issue
 
Puppet / Bug PUP-10136
premature loading of module-provided facts under `-p`
Change By: Dorin Pleava
Affects Version/s: FACT 3.13.2
Affects Version/s: PUP 6.4.0
Affects Version/s: PUP 6.10.1
Key: FACT PUP - 2059 10136
Project: Facter Puppet
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Mihai Buzgau (JIRA)

unread,
Nov 14, 2019, 5:28:07 AM11/14/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2019-10-30, NW - 2019-11-13 , 2019-11-27

Dorin Pleava (JIRA)

unread,
Nov 15, 2019, 2:34:04 AM11/15/19
to puppe...@googlegroups.com
Dorin Pleava updated an issue
Change By: Dorin Pleava
Release Notes Summary: When running facter -p on windows, if there are custom facts or module
facts that require some additional files that that are not yet present
in $LOAD_PATH, it will cause an error.

This error is caused by the way base modules/vendor paths are generated.
When running facter -p, puppet needs to set $LOAD_PATH so that facter
will know where to check for module facts. When loading the module path,
puppet will call Facter.value of a non core fact, and this will start
the re-evaluation of all custom/plugin facts without setting the
$LOAD_PATH. This step fails if a fact requires some additional file not
yet in $LOAD_PATH.

Now the $LOAD_PATH will be set  without using Facter, getting it
directly from the system environment.
Release Notes: Bug Fix

Josh Cooper (JIRA)

unread,
Jan 7, 2020, 10:19:04 AM1/7/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 6.12.0

Josh Cooper (JIRA)

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

Josh Cooper (JIRA)

unread,
Jan 7, 2020, 10:20:04 AM1/7/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages