Issue #20381 has been updated by Josh Cooper.

I'm pretty sure the current working directory was removed from the search path 
for security reason. I'll try to find the ticket.

----------------------------------------
Bug #20381: API Break in Facter 1.7.0
https://projects.puppetlabs.com/issues/20381#change-89923

* Author: Michael Stahnke
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Keywords: API
* Branch: 
* Affected Facter version: 1.7.0
----------------------------------------
When developing custom facts, I often do

    export FACTERLIB=.

That no longer works in Facter 1.7.0.

     [root@localhost foo]# facter --debug
     Relative directory ./facter removed from search path.
     Relative directory . removed from search path.

In Facter 1.6.18, it works as expected:

<pre>
[root@localhost ~]# facter --debug
value for lsbdistid is still nil
Not an EC2 host
value for lsbdistid is still nil
Found no suitable resolves of 2 for processor
value for processor is still nil
value for arp_lo is still nil
value for ipaddress6 is still nil
....
</pre>

I would consider this an API break, as the things I did to interface with 
Facter on 1.6.x no longer work on 1.7.x.






-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to