This repository has been archived by the owner on Jun 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(FACT-2570) Use Facter options to store custom and external facts (#467)
* (FACT-2562) Remove reset from to_hash. Save external and custom facts in options. * (FACT-2562) Read custom and external facts from options instead of LegacyFacter. * (FACT-2562) Fix tests. * (FACT-2562) Store custom and external directories in options in LegacyFacter * (FACT-2570) Fix tests. * (FACT-2570) Remove commented code. * (FACT-2570) Revert cli. * (FACT-2570) Remove unused methods. * (FACT-2570) Remove commented code. * (FACT-2570) When setting external facts to false, erase external_dir. * (FACT-2570) Expect variable number of arguments in search method. * (FACT-2570) Store default external dir separately. * (FACT-2570) Reset default dir if external facts is false. * (FACT-2570) Fix tests and rubocop. * (FACT-2570) Remove commented code. * (FACT-2570) Change the way default external facts are used. * (FACT-2570) Rubocop fixes. * (FACT-2570) If no custom dir is set, get the one from config file if it exists. * (FACT-2570) If external dir is empty return external dir specified in config file. * (FACT-2570) Rework condition for external dir. * (FACT-2570) Append to external facts. * (FACT-2570) Add nil checks and conversion to array. * (FACT-2570) Return empty array if no custom dir in config file. * (FACT-2570) Initialise config_file_custom_dir and config_file_external_dir with empty array if they have no value in config file. * (FACT-2570) Remove unnecessary condition. * (FACT-2570) Reformat condition for external dir. * (FACT-2570) Extract config file external dir and default external dir in a different method. * (FACT-2570) Remove unnecessary condition. * (FACT-2570) Add test for external dir. * (FACT-2570) Add test for custom_dir
- Loading branch information
Bogdan Irimie
authored
Apr 24, 2020
1 parent
f376a2a
commit 2470182
Showing
12 changed files
with
123 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.