beezwax / filemaker-facter

Facter custom facts for reporting FileMaker Server statistics & status
MIT License
6 stars 0 forks source link

Modify readme to use --external-dir #18

Closed sibrcode closed 6 years ago

sibrcode commented 6 years ago

Current directions have user add in facts to the core facts. But now that we are recommending users use gem to install facter, that is even less desirable than it was previously.

Instead, copying the facts to a different folder and invoking facter with --external-dir option may be a better option.

sibrcode commented 6 years ago

For Facter 2.4.x and 2.5.x, which is the version gem will install, the --custom-dir option doesn't exist.

So instead I've changed the README to use the FACTERLIB environment variable. Additionally, some require statements where swapped out to use require_relative instead.