Feature #4551

Command line add/remove search paths

Added by Paul Nasrat almost 3 years ago. Updated over 1 year ago.

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

0%

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

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 2 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 2 years ago

  • Target version changed from 1.6.0 to 144

#3 Updated by Ken Barber over 1 year ago

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

#4 Updated by Daniel Pittman over 1 year ago

  • Target version deleted (186)

Also available in: Atom PDF