The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Feature #4551

Command line add/remove search paths

Added by Paul Nasrat over 5 years ago. Updated about 4 years ago.

Status:AcceptedStart date:08/17/2010
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:binary
Target version:-
Keywords: Affected Facter version:
Branch:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com


Description

Facter automatically adds facterlib and $: entries that contain facter/ to facter search path.

At certain times – particularly when developing facter with older versions installed facts may break due to modules being refactored and a more specific fact being in the rubylib facter dir.

Add -I and -x to allow tuning of this from command line plus appropriate library calls to blacklist paths from search path generation.


Related issues

Duplicated by Facter - Bug #5279: Facter util loader loads files from everywhere in $LOAD_P... Duplicate 11/12/2010

History

#1 Updated by Paul Nasrat over 5 years ago

An initial first step might be stat'ing facter.rb and searching it for previous versions and emitting a warning.

#2 Updated by Michael Stahnke almost 5 years ago

  • Target version changed from 1.6.0 to 144

#3 Updated by Ken Barber over 4 years ago

  • Category set to binary
  • Assignee deleted (Paul Nasrat)
  • Target version changed from 144 to 186

#4 Updated by Anonymous about 4 years ago

  • Target version deleted (186)

Also available in: Atom PDF