cfacter 3.11.0.rc.20180314
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ext/facter/Makefile.erb +31 -0
- data/ext/facter/cpp-hocon/CMakeLists.txt +67 -0
- data/ext/facter/cpp-hocon/CONTRIBUTING.md +9 -0
- data/ext/facter/cpp-hocon/LICENSE +17 -0
- data/ext/facter/cpp-hocon/MAINTAINERS +33 -0
- data/ext/facter/cpp-hocon/README.md +74 -0
- data/ext/facter/cpp-hocon/acceptance/Gemfile +18 -0
- data/ext/facter/cpp-hocon/acceptance/Rakefile +7 -0
- data/ext/facter/cpp-hocon/acceptance/tests/fake.rb +0 -0
- data/ext/facter/cpp-hocon/appveyor.yml +41 -0
- data/ext/facter/cpp-hocon/lib/CMakeLists.txt +94 -0
- data/ext/facter/cpp-hocon/lib/Doxyfile.in +2312 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config.hpp +734 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_exception.hpp +184 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_include_context.hpp +51 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_includer.hpp +53 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_includer_file.hpp +30 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_list.hpp +51 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_mergeable.hpp +72 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_object.hpp +81 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_origin.hpp +98 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_parse_options.hpp +139 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_parseable.hpp +47 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_render_options.hpp +128 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_resolve_options.hpp +83 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_syntax.hpp +24 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_value.hpp +267 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/config_value_factory.hpp +48 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/functional_list.hpp +318 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/parser/config_document.hpp +95 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/parser/config_document_factory.hpp +39 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/parser/config_node.hpp +32 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/path.hpp +60 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/program_options.hpp +84 -0
- data/ext/facter/cpp-hocon/lib/inc/hocon/types.hpp +57 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/config_document_parser.hpp +83 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/config_parser.hpp +55 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/config_util.hpp +17 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/container.hpp +28 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/default_transformer.hpp +12 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/full_includer.hpp +13 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/abstract_config_node.hpp +16 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/abstract_config_node_value.hpp +12 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_array.hpp +17 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_comment.hpp +14 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_complex_value.hpp +25 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_concatenation.hpp +16 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_field.hpp +29 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_include.hpp +26 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_object.hpp +45 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_path.hpp +25 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_root.hpp +24 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_simple_value.hpp +21 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_single_token.hpp +20 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/parseable.hpp +128 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/path_builder.hpp +20 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/path_parser.hpp +55 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/replaceable_merge_stack.hpp +14 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/resolve_context.hpp +53 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/resolve_result.hpp +21 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/resolve_source.hpp +55 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/simple_config_document.hpp +28 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/simple_config_origin.hpp +67 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/simple_include_context.hpp +22 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/simple_includer.hpp +79 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/substitution_expression.hpp +28 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/token.hpp +45 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/tokenizer.hpp +143 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/tokens.hpp +135 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/unmergeable.hpp +20 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/config_boolean.hpp +26 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/config_concatenation.hpp +59 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/config_delayed_merge.hpp +53 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/config_delayed_merge_object.hpp +57 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/config_double.hpp +28 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/config_int.hpp +25 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/config_long.hpp +28 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/config_null.hpp +33 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/config_number.hpp +38 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/config_reference.hpp +38 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/config_string.hpp +32 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/simple_config_list.hpp +75 -0
- data/ext/facter/cpp-hocon/lib/inc/internal/values/simple_config_object.hpp +107 -0
- data/ext/facter/cpp-hocon/lib/namespaces.dox.in +6 -0
- data/ext/facter/cpp-hocon/lib/src/config.cc +573 -0
- data/ext/facter/cpp-hocon/lib/src/config_document_factory.cc +24 -0
- data/ext/facter/cpp-hocon/lib/src/config_document_parser.cc +620 -0
- data/ext/facter/cpp-hocon/lib/src/config_parse_options.cc +101 -0
- data/ext/facter/cpp-hocon/lib/src/config_parser.cc +399 -0
- data/ext/facter/cpp-hocon/lib/src/config_render_options.cc +44 -0
- data/ext/facter/cpp-hocon/lib/src/config_resolve_options.cc +24 -0
- data/ext/facter/cpp-hocon/lib/src/config_util.cc +95 -0
- data/ext/facter/cpp-hocon/lib/src/config_value_factory.cc +68 -0
- data/ext/facter/cpp-hocon/lib/src/default_transformer.cc +94 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/abstract_config_node.cc +19 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/config_node_array.cc +13 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/config_node_comment.cc +15 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/config_node_complex_value.cc +50 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/config_node_concatenation.cc +14 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/config_node_field.cc +80 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/config_node_include.cc +38 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/config_node_object.cc +318 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/config_node_path.cc +47 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/config_node_root.cc +70 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/config_node_simple_value.cc +50 -0
- data/ext/facter/cpp-hocon/lib/src/nodes/config_node_single_token.cc +18 -0
- data/ext/facter/cpp-hocon/lib/src/parseable.cc +325 -0
- data/ext/facter/cpp-hocon/lib/src/path.cc +219 -0
- data/ext/facter/cpp-hocon/lib/src/path_builder.cc +38 -0
- data/ext/facter/cpp-hocon/lib/src/path_parser.cc +253 -0
- data/ext/facter/cpp-hocon/lib/src/resolve_context.cc +139 -0
- data/ext/facter/cpp-hocon/lib/src/resolve_source.cc +216 -0
- data/ext/facter/cpp-hocon/lib/src/simple_config_document.cc +69 -0
- data/ext/facter/cpp-hocon/lib/src/simple_config_origin.cc +246 -0
- data/ext/facter/cpp-hocon/lib/src/simple_include_context.cc +18 -0
- data/ext/facter/cpp-hocon/lib/src/simple_includer.cc +186 -0
- data/ext/facter/cpp-hocon/lib/src/substitution_expression.cc +35 -0
- data/ext/facter/cpp-hocon/lib/src/token.cc +52 -0
- data/ext/facter/cpp-hocon/lib/src/tokenizer.cc +568 -0
- data/ext/facter/cpp-hocon/lib/src/tokens.cc +257 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_boolean.cc +34 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_concatenation.cc +260 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_delayed_merge.cc +223 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_delayed_merge_object.cc +180 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_double.cc +35 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_int.cc +35 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_long.cc +35 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_null.cc +35 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_number.cc +78 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_object.cc +97 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_reference.cc +85 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_string.cc +47 -0
- data/ext/facter/cpp-hocon/lib/src/values/config_value.cc +289 -0
- data/ext/facter/cpp-hocon/lib/src/values/simple_config_list.cc +219 -0
- data/ext/facter/cpp-hocon/lib/src/values/simple_config_object.cc +515 -0
- data/ext/facter/cpp-hocon/lib/tests/CMakeLists.txt +42 -0
- data/ext/facter/cpp-hocon/lib/tests/concatenation_test.cc +401 -0
- data/ext/facter/cpp-hocon/lib/tests/conf_parser_test.cc +715 -0
- data/ext/facter/cpp-hocon/lib/tests/config_document_parser_test.cc +208 -0
- data/ext/facter/cpp-hocon/lib/tests/config_document_tests.cc +110 -0
- data/ext/facter/cpp-hocon/lib/tests/config_node_test.cc +338 -0
- data/ext/facter/cpp-hocon/lib/tests/config_substitution_test.cc +897 -0
- data/ext/facter/cpp-hocon/lib/tests/config_test.cc +151 -0
- data/ext/facter/cpp-hocon/lib/tests/config_value_factory_test.cc +60 -0
- data/ext/facter/cpp-hocon/lib/tests/config_value_test.cc +111 -0
- data/ext/facter/cpp-hocon/lib/tests/fixtures.hpp.in +3 -0
- data/ext/facter/cpp-hocon/lib/tests/fixtures/test01.conf +91 -0
- data/ext/facter/cpp-hocon/lib/tests/fixtures/test01.json +4 -0
- data/ext/facter/cpp-hocon/lib/tests/main.cc +8 -0
- data/ext/facter/cpp-hocon/lib/tests/path_test.cc +129 -0
- data/ext/facter/cpp-hocon/lib/tests/program_options.cc +63 -0
- data/ext/facter/cpp-hocon/lib/tests/test.conf +1 -0
- data/ext/facter/cpp-hocon/lib/tests/test_utils.cc +452 -0
- data/ext/facter/cpp-hocon/lib/tests/test_utils.hpp +139 -0
- data/ext/facter/cpp-hocon/lib/tests/token_test.cc +108 -0
- data/ext/facter/cpp-hocon/lib/tests/tokenizer_test.cc +694 -0
- data/ext/facter/cpp-hocon/lib/version.h.in +28 -0
- data/ext/facter/cpp-hocon/locales/CMakeLists.txt +4 -0
- data/ext/facter/cpp-hocon/locales/cpp-hocon.pot +767 -0
- data/ext/facter/extconf.rb +22 -0
- data/ext/facter/facter/CMakeLists.txt +183 -0
- data/ext/facter/facter/CONTRIBUTING.md +99 -0
- data/ext/facter/facter/Extensibility.md +133 -0
- data/ext/facter/facter/LICENSE +17 -0
- data/ext/facter/facter/MAINTAINERS +28 -0
- data/ext/facter/facter/README.md +295 -0
- data/ext/facter/facter/Rakefile +42 -0
- data/ext/facter/facter/acceptance/Gemfile +21 -0
- data/ext/facter/facter/acceptance/Rakefile +342 -0
- data/ext/facter/facter/acceptance/bin/ci-bootstrap-from-artifacts.sh +55 -0
- data/ext/facter/facter/acceptance/config/aio/options.rb +9 -0
- data/ext/facter/facter/acceptance/config/git/options.rb +7 -0
- data/ext/facter/facter/acceptance/config/nodes/aix-53-power.yaml +7 -0
- data/ext/facter/facter/acceptance/config/nodes/aix-61-power.yaml +7 -0
- data/ext/facter/facter/acceptance/config/nodes/aix-71-power.yaml +7 -0
- data/ext/facter/facter/acceptance/config/nodes/huaweios-6-powerpc.yaml +7 -0
- data/ext/facter/facter/acceptance/config/nodes/solaris-10-sparc.yaml +9 -0
- data/ext/facter/facter/acceptance/config/nodes/solaris-11-sparc.yaml +9 -0
- data/ext/facter/facter/acceptance/lib/facter/acceptance/base_fact_utils.rb +563 -0
- data/ext/facter/facter/acceptance/lib/facter/acceptance/user_fact_utils.rb +132 -0
- data/ext/facter/facter/acceptance/lib/helper.rb +1 -0
- data/ext/facter/facter/acceptance/lib/puppet/acceptance/common_utils.rb +10 -0
- data/ext/facter/facter/acceptance/lib/puppet/acceptance/git_utils.rb +19 -0
- data/ext/facter/facter/acceptance/lib/puppet/acceptance/install_utils.rb +58 -0
- data/ext/facter/facter/acceptance/setup/aio/pre-suite/010_Install.rb +22 -0
- data/ext/facter/facter/acceptance/setup/aio/pre-suite/021_InstallAristaModule.rb +12 -0
- data/ext/facter/facter/acceptance/setup/aio/pre-suite/022_Remove_LD_PRELOAD.rb +11 -0
- data/ext/facter/facter/acceptance/setup/common/00_EnvSetup.rb +64 -0
- data/ext/facter/facter/acceptance/setup/common/pre-suite/000-delete-puppet-when-none.rb +11 -0
- data/ext/facter/facter/acceptance/setup/git/pre-suite/01_TestSetup.rb +31 -0
- data/ext/facter/facter/acceptance/tests/custom_facts/custom_fact_with_10001_weight_overrides_external_fact.rb +30 -0
- data/ext/facter/facter/acceptance/tests/custom_facts/having_multiple_facts_in_one_file.rb +40 -0
- data/ext/facter/facter/acceptance/tests/custom_facts/using_win32ole_should_not_hang.rb +33 -0
- data/ext/facter/facter/acceptance/tests/external_facts/env_var_overrides_external_fact.rb +46 -0
- data/ext/facter/facter/acceptance/tests/external_facts/external_dir_overrides_default_external_fact.rb +34 -0
- data/ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact.rb +29 -0
- data/ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact_with_10000_weight_or_less.rb +30 -0
- data/ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact_with_confine.rb +35 -0
- data/ext/facter/facter/acceptance/tests/external_facts/external_fact_stderr_messages_output_to_stderr.rb +49 -0
- data/ext/facter/facter/acceptance/tests/external_facts/external_facts_only_run_once.rb +43 -0
- data/ext/facter/facter/acceptance/tests/external_facts/fact_directory_precedence.rb +109 -0
- data/ext/facter/facter/acceptance/tests/external_facts/non_root_users_default_external_fact_directory.rb +142 -0
- data/ext/facter/facter/acceptance/tests/external_facts/root_uses_default_external_fact_dir.rb +34 -0
- data/ext/facter/facter/acceptance/tests/external_facts/structured_executable_facts.rb +139 -0
- data/ext/facter/facter/acceptance/tests/facter_returns_success_on_non_existent_fact.rb +9 -0
- data/ext/facter/facter/acceptance/tests/facts/dmi.rb +51 -0
- data/ext/facter/facter/acceptance/tests/facts/facterversion.rb +11 -0
- data/ext/facter/facter/acceptance/tests/facts/identity.rb +52 -0
- data/ext/facter/facter/acceptance/tests/facts/networking_facts.rb +76 -0
- data/ext/facter/facter/acceptance/tests/facts/non_root_users_without_errors.rb +32 -0
- data/ext/facter/facter/acceptance/tests/facts/operatingsystem_detection_after_clear_on_ubuntu.rb +26 -0
- data/ext/facter/facter/acceptance/tests/facts/os_processors_and_kernel.rb +20 -0
- data/ext/facter/facter/acceptance/tests/facts/partitions.rb +37 -0
- data/ext/facter/facter/acceptance/tests/facts/productname.rb +15 -0
- data/ext/facter/facter/acceptance/tests/facts/ruby.rb +59 -0
- data/ext/facter/facter/acceptance/tests/facts/validate_file_system_size_bytes.rb +37 -0
- data/ext/facter/facter/acceptance/tests/facts/verify_tmpfs_file_system.rb +54 -0
- data/ext/facter/facter/acceptance/tests/load_libfacter.rb +66 -0
- data/ext/facter/facter/acceptance/tests/no_errors_on_stderr.rb +10 -0
- data/ext/facter/facter/acceptance/tests/options/color.rb +16 -0
- data/ext/facter/facter/acceptance/tests/options/config.rb +27 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/blocklist.rb +35 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/blocklist_from_puppet_facts.rb +40 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/custom_dir_overridden_by_cli_custom_dir.rb +56 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/custom_facts.rb +42 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/custom_facts_list.rb +56 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/debug.rb +34 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/debug_override_config_file.rb +34 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/default_file_location.rb +37 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/external_dir_conflicts_with_cli_no_external_facts.rb +37 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/external_dir_overridden_by_cli_external_dir.rb +40 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/external_facts.rb +37 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/external_facts_list.rb +43 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/load_from_ruby.rb +73 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/log_level.rb +35 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_custom_dir.rb +43 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_facterlib.rb +43 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_load_path.rb +49 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/no_external_facts.rb +38 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/no_external_facts_and_external_dir.rb +34 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/no_ruby_disables_custom_facts.rb +52 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/no_ruby_disables_ruby_facts.rb +34 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/trace.rb +48 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_clear_by_empty_ttls_cache_list.rb +71 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_creates_json_cache_file.rb +48 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_expire_facts_do_not_read_the_old_cached_value.rb +58 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_expire_facts_refresh_the_cached_value.rb +61 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_read_from_the_cached_value.rb +57 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_that_are_corrupt_are_refreshed.rb +53 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_that_are_empty_return_an_empty_value.rb +53 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/ttls_puppet_facts_creates_json_for_cached_facts.rb +45 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/ttls_puppet_facts_honors_cached_facts.rb +54 -0
- data/ext/facter/facter/acceptance/tests/options/config_file/verbose.rb +34 -0
- data/ext/facter/facter/acceptance/tests/options/custom_facts.rb +34 -0
- data/ext/facter/facter/acceptance/tests/options/custom_facts_facterlib.rb +33 -0
- data/ext/facter/facter/acceptance/tests/options/custom_facts_list.rb +48 -0
- data/ext/facter/facter/acceptance/tests/options/custom_facts_load_path.rb +42 -0
- data/ext/facter/facter/acceptance/tests/options/debug.rb +12 -0
- data/ext/facter/facter/acceptance/tests/options/external_facts.rb +28 -0
- data/ext/facter/facter/acceptance/tests/options/external_facts_list.rb +35 -0
- data/ext/facter/facter/acceptance/tests/options/help.rb +13 -0
- data/ext/facter/facter/acceptance/tests/options/json.rb +43 -0
- data/ext/facter/facter/acceptance/tests/options/list_block_groups.rb +16 -0
- data/ext/facter/facter/acceptance/tests/options/list_cache_groups.rb +16 -0
- data/ext/facter/facter/acceptance/tests/options/log_level.rb +13 -0
- data/ext/facter/facter/acceptance/tests/options/no_block.rb +34 -0
- data/ext/facter/facter/acceptance/tests/options/no_cache_should_not_cache_facts.rb +43 -0
- data/ext/facter/facter/acceptance/tests/options/no_cache_should_not_load_cached_facts.rb +58 -0
- data/ext/facter/facter/acceptance/tests/options/no_cache_should_not_refresh_cached_facts.rb +63 -0
- data/ext/facter/facter/acceptance/tests/options/no_color.rb +16 -0
- data/ext/facter/facter/acceptance/tests/options/no_custom_facts.rb +34 -0
- data/ext/facter/facter/acceptance/tests/options/no_custom_facts_and_custom_dir.rb +19 -0
- data/ext/facter/facter/acceptance/tests/options/no_custom_facts_and_facterlib.rb +34 -0
- data/ext/facter/facter/acceptance/tests/options/no_custom_facts_and_load_path.rb +43 -0
- data/ext/facter/facter/acceptance/tests/options/no_external_facts.rb +28 -0
- data/ext/facter/facter/acceptance/tests/options/no_external_facts_and_external_dir.rb +19 -0
- data/ext/facter/facter/acceptance/tests/options/no_ruby.rb +44 -0
- data/ext/facter/facter/acceptance/tests/options/puppet_facts.rb +35 -0
- data/ext/facter/facter/acceptance/tests/options/show_legacy.rb +18 -0
- data/ext/facter/facter/acceptance/tests/options/strict.rb +11 -0
- data/ext/facter/facter/acceptance/tests/options/trace.rb +36 -0
- data/ext/facter/facter/acceptance/tests/options/verbose.rb +12 -0
- data/ext/facter/facter/acceptance/tests/options/version.rb +12 -0
- data/ext/facter/facter/acceptance/tests/options/yaml.rb +43 -0
- data/ext/facter/facter/acceptance/tests/ticket_1123_facter_with_invalid_locale.rb +22 -0
- data/ext/facter/facter/acceptance/tests/ticket_1238_hostname_fqdn.rb +57 -0
- data/ext/facter/facter/appveyor.yml +43 -0
- data/ext/facter/facter/cmake/FindBLKID.cmake +6 -0
- data/ext/facter/facter/cmake/FindCPPHOCON.cmake +6 -0
- data/ext/facter/facter/cmake/FindDependency.cmake +54 -0
- data/ext/facter/facter/cmake/FindOPENSSL.cmake +10 -0
- data/ext/facter/facter/cmake/FindRuby.cmake +286 -0
- data/ext/facter/facter/cmake/FindWHEREAMI.cmake +6 -0
- data/ext/facter/facter/cmake/FindYAMLCPP.cmake +17 -0
- data/ext/facter/facter/contrib/dockerfiles/travis-cpp-builder/Dockerfile +56 -0
- data/ext/facter/facter/contrib/dockerfiles/travis-facter-builder/Dockerfile +23 -0
- data/ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/Dockerfile +40 -0
- data/ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/_coverity-submit.erb +12 -0
- data/ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/fix_curl_command.patch +32 -0
- data/ext/facter/facter/exe/CMakeLists.txt +39 -0
- data/ext/facter/facter/exe/facter.cc +377 -0
- data/ext/facter/facter/ext/build_defaults.yaml +16 -0
- data/ext/facter/facter/ext/debian/changelog.erb +11 -0
- data/ext/facter/facter/ext/debian/compat +1 -0
- data/ext/facter/facter/ext/debian/control +14 -0
- data/ext/facter/facter/ext/debian/copyright +19 -0
- data/ext/facter/facter/ext/debian/docs +2 -0
- data/ext/facter/facter/ext/debian/facter.install +4 -0
- data/ext/facter/facter/ext/debian/lintian-overrides +0 -0
- data/ext/facter/facter/ext/debian/rules +39 -0
- data/ext/facter/facter/ext/debian/source/format +1 -0
- data/ext/facter/facter/ext/project_data.yaml +30 -0
- data/ext/facter/facter/ext/redhat/facter.spec.erb +113 -0
- data/ext/facter/facter/ext/windows/facter.bat +8 -0
- data/ext/facter/facter/ext/windows/facter_interactive.bat +6 -0
- data/ext/facter/facter/ext/windows/run_facter_interactive.bat +9 -0
- data/ext/facter/facter/factergo/example/main.go +17 -0
- data/ext/facter/facter/factergo/facter.go +42 -0
- data/ext/facter/facter/factergo/facter_test.go +25 -0
- data/ext/facter/facter/lib/CMakeLists.txt +409 -0
- data/ext/facter/facter/lib/Doxyfile +2313 -0
- data/ext/facter/facter/lib/Facter.java.in +110 -0
- data/ext/facter/facter/lib/Gemfile +11 -0
- data/ext/facter/facter/lib/Rakefile +8 -0
- data/ext/facter/facter/lib/docs/generate.rb +25 -0
- data/ext/facter/facter/lib/docs/namespaces.dox +129 -0
- data/ext/facter/facter/lib/docs/template.erb +43 -0
- data/ext/facter/facter/lib/facter.rb.in +45 -0
- data/ext/facter/facter/lib/gemspec.in +21 -0
- data/ext/facter/facter/lib/inc/facter/cwrapper.hpp +18 -0
- data/ext/facter/facter/lib/inc/facter/facts/array_value.hpp +125 -0
- data/ext/facter/facter/lib/inc/facter/facts/collection.hpp +339 -0
- data/ext/facter/facter/lib/inc/facter/facts/external/resolver.hpp +49 -0
- data/ext/facter/facter/lib/inc/facter/facts/fact.hpp +669 -0
- data/ext/facter/facter/lib/inc/facter/facts/map_value.hpp +127 -0
- data/ext/facter/facter/lib/inc/facter/facts/os.hpp +202 -0
- data/ext/facter/facter/lib/inc/facter/facts/os_family.hpp +58 -0
- data/ext/facter/facter/lib/inc/facter/facts/resolver.hpp +126 -0
- data/ext/facter/facter/lib/inc/facter/facts/scalar_value.hpp +152 -0
- data/ext/facter/facter/lib/inc/facter/facts/value.hpp +164 -0
- data/ext/facter/facter/lib/inc/facter/facts/vm.hpp +157 -0
- data/ext/facter/facter/lib/inc/facter/logging/logging.hpp +192 -0
- data/ext/facter/facter/lib/inc/facter/ruby/ruby.hpp +62 -0
- data/ext/facter/facter/lib/inc/facter/util/config.hpp +84 -0
- data/ext/facter/facter/lib/inc/facter/util/string.hpp +72 -0
- data/ext/facter/facter/lib/inc/internal/facts/aix/disk_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/aix/filesystem_resolver.hpp +41 -0
- data/ext/facter/facter/lib/inc/internal/facts/aix/kernel_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/aix/memory_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/aix/networking_resolver.hpp +49 -0
- data/ext/facter/facter/lib/inc/internal/facts/aix/operating_system_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/aix/processor_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/aix/serial_number_resolver.hpp +27 -0
- data/ext/facter/facter/lib/inc/internal/facts/bsd/filesystem_resolver.hpp +30 -0
- data/ext/facter/facter/lib/inc/internal/facts/bsd/networking_resolver.hpp +59 -0
- data/ext/facter/facter/lib/inc/internal/facts/bsd/uptime_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/cache.hpp +71 -0
- data/ext/facter/facter/lib/inc/internal/facts/external/execution_resolver.hpp +31 -0
- data/ext/facter/facter/lib/inc/internal/facts/external/json_resolver.hpp +31 -0
- data/ext/facter/facter/lib/inc/internal/facts/external/text_resolver.hpp +31 -0
- data/ext/facter/facter/lib/inc/internal/facts/external/windows/powershell_resolver.hpp +34 -0
- data/ext/facter/facter/lib/inc/internal/facts/external/yaml_resolver.hpp +31 -0
- data/ext/facter/facter/lib/inc/internal/facts/freebsd/dmi_resolver.hpp +28 -0
- data/ext/facter/facter/lib/inc/internal/facts/freebsd/memory_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/freebsd/networking_resolver.hpp +42 -0
- data/ext/facter/facter/lib/inc/internal/facts/freebsd/operating_system_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/freebsd/processor_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/freebsd/virtualization_resolver.hpp +27 -0
- data/ext/facter/facter/lib/inc/internal/facts/freebsd/zfs_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/freebsd/zpool_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/glib/load_average_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/disk_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/dmi_resolver.hpp +37 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/filesystem_resolver.hpp +40 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/fips_resolver.hpp +31 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/memory_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/networking_resolver.hpp +78 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/operating_system_resolver.hpp +28 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/os_cisco.hpp +114 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/os_coreos.hpp +56 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/os_cumulus.hpp +56 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/os_linux.hpp +72 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/processor_resolver.hpp +60 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/release_file.hpp +124 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/uptime_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/linux/virtualization_resolver.hpp +50 -0
- data/ext/facter/facter/lib/inc/internal/facts/openbsd/dmi_resolver.hpp +28 -0
- data/ext/facter/facter/lib/inc/internal/facts/openbsd/memory_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/openbsd/networking_resolver.hpp +42 -0
- data/ext/facter/facter/lib/inc/internal/facts/openbsd/processor_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/openbsd/virtualization_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/osx/dmi_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/osx/memory_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/osx/networking_resolver.hpp +60 -0
- data/ext/facter/facter/lib/inc/internal/facts/osx/operating_system_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/osx/processor_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/osx/system_profiler_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/osx/virtualization_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/posix/identity_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/posix/kernel_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/posix/networking_resolver.hpp +48 -0
- data/ext/facter/facter/lib/inc/internal/facts/posix/operating_system_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/posix/processor_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/posix/ssh_resolver.hpp +28 -0
- data/ext/facter/facter/lib/inc/internal/facts/posix/timezone_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/posix/uptime_resolver.hpp +32 -0
- data/ext/facter/facter/lib/inc/internal/facts/posix/xen_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/augeas_resolver.hpp +35 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/disk_resolver.hpp +81 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/dmi_resolver.hpp +115 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/ec2_resolver.hpp +30 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/filesystem_resolver.hpp +166 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/fips_resolver.hpp +46 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/gce_resolver.hpp +28 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/hypervisors_resolver.hpp +69 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/identity_resolver.hpp +73 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/kernel_resolver.hpp +66 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/ldom_resolver.hpp +64 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/load_average_resolver.hpp +37 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/memory_resolver.hpp +99 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/networking_resolver.hpp +155 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/operating_system_resolver.hpp +235 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/path_resolver.hpp +28 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/processor_resolver.hpp +80 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/ruby_resolver.hpp +56 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/ssh_resolver.hpp +105 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/system_profiler_resolver.hpp +127 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/timezone_resolver.hpp +36 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/uptime_resolver.hpp +36 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/virtualization_resolver.hpp +95 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/xen_resolver.hpp +55 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/zfs_resolver.hpp +59 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/zone_resolver.hpp +95 -0
- data/ext/facter/facter/lib/inc/internal/facts/resolvers/zpool_resolver.hpp +63 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/disk_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/dmi_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/filesystem_resolver.hpp +29 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/kernel_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/ldom_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/memory_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/networking_resolver.hpp +48 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/operating_system_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/processor_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/virtualization_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/zfs_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/zone_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/solaris/zpool_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/windows/dmi_resolver.hpp +38 -0
- data/ext/facter/facter/lib/inc/internal/facts/windows/identity_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/windows/kernel_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/windows/memory_resolver.hpp +25 -0
- data/ext/facter/facter/lib/inc/internal/facts/windows/networking_resolver.hpp +74 -0
- data/ext/facter/facter/lib/inc/internal/facts/windows/operating_system_resolver.hpp +36 -0
- data/ext/facter/facter/lib/inc/internal/facts/windows/processor_resolver.hpp +36 -0
- data/ext/facter/facter/lib/inc/internal/facts/windows/timezone_resolver.hpp +24 -0
- data/ext/facter/facter/lib/inc/internal/facts/windows/uptime_resolver.hpp +32 -0
- data/ext/facter/facter/lib/inc/internal/facts/windows/virtualization_resolver.hpp +37 -0
- data/ext/facter/facter/lib/inc/internal/ruby/aggregate_resolution.hpp +77 -0
- data/ext/facter/facter/lib/inc/internal/ruby/chunk.hpp +83 -0
- data/ext/facter/facter/lib/inc/internal/ruby/confine.hpp +60 -0
- data/ext/facter/facter/lib/inc/internal/ruby/fact.hpp +108 -0
- data/ext/facter/facter/lib/inc/internal/ruby/module.hpp +165 -0
- data/ext/facter/facter/lib/inc/internal/ruby/resolution.hpp +126 -0
- data/ext/facter/facter/lib/inc/internal/ruby/ruby_value.hpp +119 -0
- data/ext/facter/facter/lib/inc/internal/ruby/simple_resolution.hpp +56 -0
- data/ext/facter/facter/lib/inc/internal/util/agent.hpp +29 -0
- data/ext/facter/facter/lib/inc/internal/util/aix/odm.hpp +373 -0
- data/ext/facter/facter/lib/inc/internal/util/aix/vmount.hpp +139 -0
- data/ext/facter/facter/lib/inc/internal/util/bsd/scoped_ifaddrs.hpp +33 -0
- data/ext/facter/facter/lib/inc/internal/util/posix/scoped_addrinfo.hpp +45 -0
- data/ext/facter/facter/lib/inc/internal/util/posix/scoped_bio.hpp +34 -0
- data/ext/facter/facter/lib/inc/internal/util/posix/scoped_descriptor.hpp +27 -0
- data/ext/facter/facter/lib/inc/internal/util/scoped_file.hpp +36 -0
- data/ext/facter/facter/lib/inc/internal/util/solaris/k_stat.hpp +176 -0
- data/ext/facter/facter/lib/inc/internal/util/solaris/scoped_kstat.hpp +45 -0
- data/ext/facter/facter/lib/inc/internal/util/versions.hpp +34 -0
- data/ext/facter/facter/lib/inc/internal/util/windows/wsa.hpp +92 -0
- data/ext/facter/facter/lib/inc/internal/util/yaml.hpp +25 -0
- data/ext/facter/facter/lib/schema/core_facts.pot +2017 -0
- data/ext/facter/facter/lib/schema/facter.yaml +1947 -0
- data/ext/facter/facter/lib/schema/translation_tooling.rb +67 -0
- data/ext/facter/facter/lib/spec/unit/facter_spec.rb +136 -0
- data/ext/facter/facter/lib/spec_helper.rb.in +27 -0
- data/ext/facter/facter/lib/src/cwrapper.cc +45 -0
- data/ext/facter/facter/lib/src/facts/aix/collection.cc +32 -0
- data/ext/facter/facter/lib/src/facts/aix/disk_resolver.cc +66 -0
- data/ext/facter/facter/lib/src/facts/aix/filesystem_resolver.cc +132 -0
- data/ext/facter/facter/lib/src/facts/aix/kernel_resolver.cc +27 -0
- data/ext/facter/facter/lib/src/facts/aix/memory_resolver.cc +48 -0
- data/ext/facter/facter/lib/src/facts/aix/networking_resolver.cc +245 -0
- data/ext/facter/facter/lib/src/facts/aix/operating_system_resolver.cc +61 -0
- data/ext/facter/facter/lib/src/facts/aix/processor_resolver.cc +106 -0
- data/ext/facter/facter/lib/src/facts/aix/serial_number_resolver.cc +43 -0
- data/ext/facter/facter/lib/src/facts/array_value.cc +111 -0
- data/ext/facter/facter/lib/src/facts/bsd/collection.cc +27 -0
- data/ext/facter/facter/lib/src/facts/bsd/filesystem_resolver.cc +92 -0
- data/ext/facter/facter/lib/src/facts/bsd/networking_resolver.cc +175 -0
- data/ext/facter/facter/lib/src/facts/bsd/uptime_resolver.cc +23 -0
- data/ext/facter/facter/lib/src/facts/cache.cc +117 -0
- data/ext/facter/facter/lib/src/facts/collection.cc +661 -0
- data/ext/facter/facter/lib/src/facts/external/execution_resolver.cc +89 -0
- data/ext/facter/facter/lib/src/facts/external/json_resolver.cc +219 -0
- data/ext/facter/facter/lib/src/facts/external/resolver.cc +12 -0
- data/ext/facter/facter/lib/src/facts/external/text_resolver.cc +45 -0
- data/ext/facter/facter/lib/src/facts/external/windows/powershell_resolver.cc +117 -0
- data/ext/facter/facter/lib/src/facts/external/yaml_resolver.cc +45 -0
- data/ext/facter/facter/lib/src/facts/freebsd/collection.cc +41 -0
- data/ext/facter/facter/lib/src/facts/freebsd/dmi_resolver.cc +43 -0
- data/ext/facter/facter/lib/src/facts/freebsd/memory_resolver.cc +76 -0
- data/ext/facter/facter/lib/src/facts/freebsd/networking_resolver.cc +55 -0
- data/ext/facter/facter/lib/src/facts/freebsd/operating_system_resolver.cc +17 -0
- data/ext/facter/facter/lib/src/facts/freebsd/processor_resolver.cc +63 -0
- data/ext/facter/facter/lib/src/facts/freebsd/virtualization_resolver.cc +41 -0
- data/ext/facter/facter/lib/src/facts/freebsd/zfs_resolver.cc +12 -0
- data/ext/facter/facter/lib/src/facts/freebsd/zpool_resolver.cc +12 -0
- data/ext/facter/facter/lib/src/facts/glib/load_average_resolver.cc +22 -0
- data/ext/facter/facter/lib/src/facts/linux/collection.cc +44 -0
- data/ext/facter/facter/lib/src/facts/linux/disk_resolver.cc +80 -0
- data/ext/facter/facter/lib/src/facts/linux/dmi_resolver.cc +208 -0
- data/ext/facter/facter/lib/src/facts/linux/filesystem_resolver.cc +282 -0
- data/ext/facter/facter/lib/src/facts/linux/fips_resolver.cc +31 -0
- data/ext/facter/facter/lib/src/facts/linux/kernel_resolver.cc +20 -0
- data/ext/facter/facter/lib/src/facts/linux/memory_resolver.cc +50 -0
- data/ext/facter/facter/lib/src/facts/linux/networking_resolver.cc +275 -0
- data/ext/facter/facter/lib/src/facts/linux/operating_system_resolver.cc +175 -0
- data/ext/facter/facter/lib/src/facts/linux/os_linux.cc +393 -0
- data/ext/facter/facter/lib/src/facts/linux/processor_resolver.cc +200 -0
- data/ext/facter/facter/lib/src/facts/linux/uptime_resolver.cc +15 -0
- data/ext/facter/facter/lib/src/facts/linux/virtualization_resolver.cc +282 -0
- data/ext/facter/facter/lib/src/facts/map_value.cc +119 -0
- data/ext/facter/facter/lib/src/facts/openbsd/collection.cc +37 -0
- data/ext/facter/facter/lib/src/facts/openbsd/dmi_resolver.cc +47 -0
- data/ext/facter/facter/lib/src/facts/openbsd/memory_resolver.cc +76 -0
- data/ext/facter/facter/lib/src/facts/openbsd/networking_resolver.cc +55 -0
- data/ext/facter/facter/lib/src/facts/openbsd/processor_resolver.cc +59 -0
- data/ext/facter/facter/lib/src/facts/openbsd/virtualization_resolver.cc +20 -0
- data/ext/facter/facter/lib/src/facts/osx/collection.cc +39 -0
- data/ext/facter/facter/lib/src/facts/osx/dmi_resolver.cc +32 -0
- data/ext/facter/facter/lib/src/facts/osx/memory_resolver.cc +60 -0
- data/ext/facter/facter/lib/src/facts/osx/networking_resolver.cc +71 -0
- data/ext/facter/facter/lib/src/facts/osx/operating_system_resolver.cc +49 -0
- data/ext/facter/facter/lib/src/facts/osx/processor_resolver.cc +55 -0
- data/ext/facter/facter/lib/src/facts/osx/system_profiler_resolver.cc +66 -0
- data/ext/facter/facter/lib/src/facts/osx/virtualization_resolver.cc +46 -0
- data/ext/facter/facter/lib/src/facts/posix/cache.cc +9 -0
- data/ext/facter/facter/lib/src/facts/posix/collection.cc +48 -0
- data/ext/facter/facter/lib/src/facts/posix/identity_resolver.cc +79 -0
- data/ext/facter/facter/lib/src/facts/posix/kernel_resolver.cc +25 -0
- data/ext/facter/facter/lib/src/facts/posix/networking_resolver.cc +136 -0
- data/ext/facter/facter/lib/src/facts/posix/operatingsystem_resolver.cc +29 -0
- data/ext/facter/facter/lib/src/facts/posix/processor_resolver.cc +22 -0
- data/ext/facter/facter/lib/src/facts/posix/ssh_resolver.cc +116 -0
- data/ext/facter/facter/lib/src/facts/posix/timezone_resolver.cc +26 -0
- data/ext/facter/facter/lib/src/facts/posix/uptime_resolver.cc +53 -0
- data/ext/facter/facter/lib/src/facts/posix/xen_resolver.cc +43 -0
- data/ext/facter/facter/lib/src/facts/resolver.cc +105 -0
- data/ext/facter/facter/lib/src/facts/resolvers/augeas_resolver.cc +56 -0
- data/ext/facter/facter/lib/src/facts/resolvers/disk_resolver.cc +69 -0
- data/ext/facter/facter/lib/src/facts/resolvers/dmi_resolver.cc +160 -0
- data/ext/facter/facter/lib/src/facts/resolvers/ec2_resolver.cc +174 -0
- data/ext/facter/facter/lib/src/facts/resolvers/filesystem_resolver.cc +118 -0
- data/ext/facter/facter/lib/src/facts/resolvers/fips_resolver.cc +23 -0
- data/ext/facter/facter/lib/src/facts/resolvers/gce_resolver.cc +276 -0
- data/ext/facter/facter/lib/src/facts/resolvers/hypervisors_resolver.cc +76 -0
- data/ext/facter/facter/lib/src/facts/resolvers/identity_resolver.cc +50 -0
- data/ext/facter/facter/lib/src/facts/resolvers/kernel_resolver.cc +62 -0
- data/ext/facter/facter/lib/src/facts/resolvers/ldom_resolver.cc +60 -0
- data/ext/facter/facter/lib/src/facts/resolvers/load_average_resolver.cc +36 -0
- data/ext/facter/facter/lib/src/facts/resolvers/memory_resolver.cc +88 -0
- data/ext/facter/facter/lib/src/facts/resolvers/networking_resolver.cc +280 -0
- data/ext/facter/facter/lib/src/facts/resolvers/operating_system_resolver.cc +276 -0
- data/ext/facter/facter/lib/src/facts/resolvers/path_resolver.cc +25 -0
- data/ext/facter/facter/lib/src/facts/resolvers/processor_resolver.cc +70 -0
- data/ext/facter/facter/lib/src/facts/resolvers/ruby_resolver.cc +109 -0
- data/ext/facter/facter/lib/src/facts/resolvers/ssh_resolver.cc +77 -0
- data/ext/facter/facter/lib/src/facts/resolvers/system_profiler_resolver.cc +137 -0
- data/ext/facter/facter/lib/src/facts/resolvers/timezone_resolver.cc +27 -0
- data/ext/facter/facter/lib/src/facts/resolvers/uptime_resolver.cc +63 -0
- data/ext/facter/facter/lib/src/facts/resolvers/virtualization_resolver.cc +119 -0
- data/ext/facter/facter/lib/src/facts/resolvers/xen_resolver.cc +80 -0
- data/ext/facter/facter/lib/src/facts/resolvers/zfs_resolver.cc +63 -0
- data/ext/facter/facter/lib/src/facts/resolvers/zone_resolver.cc +91 -0
- data/ext/facter/facter/lib/src/facts/resolvers/zpool_resolver.cc +93 -0
- data/ext/facter/facter/lib/src/facts/scalar_value.cc +73 -0
- data/ext/facter/facter/lib/src/facts/solaris/collection.cc +51 -0
- data/ext/facter/facter/lib/src/facts/solaris/disk_resolver.cc +35 -0
- data/ext/facter/facter/lib/src/facts/solaris/dmi_resolver.cc +86 -0
- data/ext/facter/facter/lib/src/facts/solaris/filesystem_resolver.cc +92 -0
- data/ext/facter/facter/lib/src/facts/solaris/kernel_resolver.cc +24 -0
- data/ext/facter/facter/lib/src/facts/solaris/ldom_resolver.cc +87 -0
- data/ext/facter/facter/lib/src/facts/solaris/memory_resolver.cc +91 -0
- data/ext/facter/facter/lib/src/facts/solaris/networking_resolver.cc +183 -0
- data/ext/facter/facter/lib/src/facts/solaris/operating_system_resolver.cc +83 -0
- data/ext/facter/facter/lib/src/facts/solaris/processor_resolver.cc +105 -0
- data/ext/facter/facter/lib/src/facts/solaris/virtualization_resolver.cc +38 -0
- data/ext/facter/facter/lib/src/facts/solaris/zfs_resolver.cc +12 -0
- data/ext/facter/facter/lib/src/facts/solaris/zone_resolver.cc +33 -0
- data/ext/facter/facter/lib/src/facts/solaris/zpool_resolver.cc +12 -0
- data/ext/facter/facter/lib/src/facts/windows/cache.cc +11 -0
- data/ext/facter/facter/lib/src/facts/windows/collection.cc +91 -0
- data/ext/facter/facter/lib/src/facts/windows/dmi_resolver.cc +38 -0
- data/ext/facter/facter/lib/src/facts/windows/identity_resolver.cc +46 -0
- data/ext/facter/facter/lib/src/facts/windows/kernel_resolver.cc +78 -0
- data/ext/facter/facter/lib/src/facts/windows/memory_resolver.cc +25 -0
- data/ext/facter/facter/lib/src/facts/windows/networking_resolver.cc +227 -0
- data/ext/facter/facter/lib/src/facts/windows/operating_system_resolver.cc +125 -0
- data/ext/facter/facter/lib/src/facts/windows/processor_resolver.cc +99 -0
- data/ext/facter/facter/lib/src/facts/windows/timezone_resolver.cc +28 -0
- data/ext/facter/facter/lib/src/facts/windows/uptime_resolver.cc +26 -0
- data/ext/facter/facter/lib/src/facts/windows/virtualization_resolver.cc +63 -0
- data/ext/facter/facter/lib/src/java/facter.cc +185 -0
- data/ext/facter/facter/lib/src/logging/logging.cc +151 -0
- data/ext/facter/facter/lib/src/ruby/aggregate_resolution.cc +249 -0
- data/ext/facter/facter/lib/src/ruby/chunk.cc +136 -0
- data/ext/facter/facter/lib/src/ruby/confine.cc +84 -0
- data/ext/facter/facter/lib/src/ruby/fact.cc +382 -0
- data/ext/facter/facter/lib/src/ruby/module.cc +1130 -0
- data/ext/facter/facter/lib/src/ruby/resolution.cc +230 -0
- data/ext/facter/facter/lib/src/ruby/ruby.cc +150 -0
- data/ext/facter/facter/lib/src/ruby/ruby_value.cc +288 -0
- data/ext/facter/facter/lib/src/ruby/simple_resolution.cc +156 -0
- data/ext/facter/facter/lib/src/util/bsd/scoped_ifaddrs.cc +29 -0
- data/ext/facter/facter/lib/src/util/config/config.cc +83 -0
- data/ext/facter/facter/lib/src/util/config/posix/config.cc +12 -0
- data/ext/facter/facter/lib/src/util/config/windows/config.cc +14 -0
- data/ext/facter/facter/lib/src/util/posix/scoped_addrinfo.cc +41 -0
- data/ext/facter/facter/lib/src/util/posix/scoped_bio.cc +29 -0
- data/ext/facter/facter/lib/src/util/posix/scoped_descriptor.cc +20 -0
- data/ext/facter/facter/lib/src/util/scoped_file.cc +26 -0
- data/ext/facter/facter/lib/src/util/solaris/k_stat.cc +165 -0
- data/ext/facter/facter/lib/src/util/solaris/scoped_kstat.cc +31 -0
- data/ext/facter/facter/lib/src/util/string.cc +170 -0
- data/ext/facter/facter/lib/src/util/windows/wsa.cc +69 -0
- data/ext/facter/facter/lib/src/util/yaml.cc +72 -0
- data/ext/facter/facter/lib/tasks/spec.rake +26 -0
- data/ext/facter/facter/lib/tests/CMakeLists.txt +172 -0
- data/ext/facter/facter/lib/tests/collection_fixture.cc +15 -0
- data/ext/facter/facter/lib/tests/collection_fixture.hpp +19 -0
- data/ext/facter/facter/lib/tests/cwrapper.cc +22 -0
- data/ext/facter/facter/lib/tests/facts/array_value.cc +140 -0
- data/ext/facter/facter/lib/tests/facts/boolean_value.cc +67 -0
- data/ext/facter/facter/lib/tests/facts/cache.cc +100 -0
- data/ext/facter/facter/lib/tests/facts/collection.cc +576 -0
- data/ext/facter/facter/lib/tests/facts/double_value.cc +40 -0
- data/ext/facter/facter/lib/tests/facts/external/json_resolver.cc +62 -0
- data/ext/facter/facter/lib/tests/facts/external/posix/execution_resolver.cc +69 -0
- data/ext/facter/facter/lib/tests/facts/external/text_resolver.cc +46 -0
- data/ext/facter/facter/lib/tests/facts/external/windows/execution_resolver.cc +69 -0
- data/ext/facter/facter/lib/tests/facts/external/windows/powershell_resolver.cc +122 -0
- data/ext/facter/facter/lib/tests/facts/external/yaml_resolver.cc +70 -0
- data/ext/facter/facter/lib/tests/facts/integer_value.cc +69 -0
- data/ext/facter/facter/lib/tests/facts/linux/dmi_resolver.cc +116 -0
- data/ext/facter/facter/lib/tests/facts/linux/filesystem_resolver.cc +13 -0
- data/ext/facter/facter/lib/tests/facts/linux/processor_fixture.cc +259 -0
- data/ext/facter/facter/lib/tests/facts/linux/processor_fixture.hpp +77 -0
- data/ext/facter/facter/lib/tests/facts/linux/processor_resolver.cc +312 -0
- data/ext/facter/facter/lib/tests/facts/linux/virtualization_resolver.cc +48 -0
- data/ext/facter/facter/lib/tests/facts/map_value.cc +116 -0
- data/ext/facter/facter/lib/tests/facts/posix/collection.cc +39 -0
- data/ext/facter/facter/lib/tests/facts/posix/uptime_resolver.cc +52 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/augeas_resolver.cc +58 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/disk_resolver.cc +114 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/dmi_resolver.cc +152 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/filesystem_resolver.cc +206 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/identity_resolver.cc +83 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/kernel_resolver.cc +61 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/ldom_resolver.cc +86 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/memory_resolver.cc +135 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/networking_resolver.cc +507 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/operating_system_resolver.cc +247 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/processor_resolver.cc +157 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/ruby_resolver.cc +74 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/ssh_resolver.cc +103 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/system_profiler_resolver.cc +135 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/timezone_resolver.cc +49 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/uptime_resolver.cc +151 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/virtualization_resolver.cc +175 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/xen_resolver.cc +100 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/zfs_resolver.cc +65 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/zone_resolver.cc +122 -0
- data/ext/facter/facter/lib/tests/facts/resolvers/zpool_resolver.cc +69 -0
- data/ext/facter/facter/lib/tests/facts/schema.cc +796 -0
- data/ext/facter/facter/lib/tests/facts/string_value.cc +270 -0
- data/ext/facter/facter/lib/tests/facts/windows/collection.cc +60 -0
- data/ext/facter/facter/lib/tests/facts/windows/networking_resolver.cc +217 -0
- data/ext/facter/facter/lib/tests/fixtures.cc +62 -0
- data/ext/facter/facter/lib/tests/fixtures.hpp.in +27 -0
- data/ext/facter/facter/lib/tests/fixtures/execution/with space/command_with_space.bat +2 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/json/facts.json +12 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/json/invalid.json +1 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/ordering/bar/foo.yaml +1 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/ordering/foo/foo.yaml +1 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/error_message +4 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/facts +5 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/failed +3 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/not_executable +1 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/text/facts.txt +4 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/error_message.bat +4 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/facts.bat +4 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/failed.cmd +2 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/not_executable +1 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/ruby_script.rb +1 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/error_message.ps1 +3 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/facts.ps1 +4 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/failed.ps1 +2 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/json.ps1 +21 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/not_executable +1 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/yaml.ps1 +18 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/yaml/facts.yaml +15 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/yaml/invalid.yaml +1 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/z/303/266/facts.rb +3 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/external/z/303/266/facts.txt +1 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/azure +3 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/azure-unknown +3 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/not-azure +0 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/full.txt +83 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/full_alternative.txt +83 -0
- data/ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/none.txt +2 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/100_resolutions.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/101_resolutions.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_invalid_require.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_block.rb +30 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_cycle.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_invalid_merge.rb +13 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_merge.rb +23 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_require.rb +16 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/array_confine.rb +6 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/array_fact.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/bad_command.rb +19 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/bad_syntax.rb +2 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/bignum_fact_value.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/block_confine.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/block_false_confine.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/block_nil_confine.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/block_true_confine.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_false_confine.rb +6 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_false_fact.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_true_confine.rb +6 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_true_fact.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/command_with_space.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/confine_missing_fact.rb +22 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/confine_weight.rb +20 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/custom_dir/expect_network_init.rb +15 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/cycle.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/debug.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/debugging.rb +14 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/debugonce.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/define_aggregate_fact.rb +13 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/define_fact.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/double_fact.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/empty_command.rb +3 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/empty_fact.rb +1 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/empty_fact_with_value.rb +1 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/empty_setcode_command.rb +3 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/exec.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/execute_on_fail_raise.rb +17 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/execute_on_fail_value.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/execute_timeout.rb +1 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/execution_failure.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/existing_aggregate_resolution.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/existing_simple_resolution.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/fact.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/facter.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/facterversion.rb +17 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/hash_fact.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/hash_with_non_string_key.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/integer_fact.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/log_exception.rb +21 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/lookup.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/multi_confine.rb +6 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/named_resolution.rb +13 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/negative_number.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/nil_fact.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/nonexistent_command.rb +21 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/on_message.rb +16 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/range_confine.rb +6 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/regexp_confine.rb +6 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/ruby.rb +6 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/simple.rb +11 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/simple_command.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/simple_confine.rb +6 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/simple_resolution.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/single_allocation.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/stderr_output.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/string_fact.rb +5 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb +10 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/trace.rb +22 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/uni/341/220/201dir/customfacts/342/204/242.rb +6 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/uses_exit_code.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/value.rb +6 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/version.rb +2 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/warn.rb +7 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/warnonce.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/weight.rb +20 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/weight_option.rb +17 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/which.rb +9 -0
- data/ext/facter/facter/lib/tests/fixtures/ruby/windows/ole.rb +7 -0
- data/ext/facter/facter/lib/tests/java/facter.cc +69 -0
- data/ext/facter/facter/lib/tests/log_capture.cc +29 -0
- data/ext/facter/facter/lib/tests/log_capture.hpp +35 -0
- data/ext/facter/facter/lib/tests/logging/logging.cc +69 -0
- data/ext/facter/facter/lib/tests/main.cc +20 -0
- data/ext/facter/facter/lib/tests/mock_server.cc +44 -0
- data/ext/facter/facter/lib/tests/mock_server.hpp +25 -0
- data/ext/facter/facter/lib/tests/ruby/ruby.cc +634 -0
- data/ext/facter/facter/lib/tests/ruby/ruby_dirfacts.cc +35 -0
- data/ext/facter/facter/lib/tests/ruby/ruby_helper.cc +41 -0
- data/ext/facter/facter/lib/tests/ruby/ruby_helper.hpp +8 -0
- data/ext/facter/facter/lib/tests/ruby/windows/ruby.cc +53 -0
- data/ext/facter/facter/lib/tests/util/bsd/scoped_ifaddrs.cc +10 -0
- data/ext/facter/facter/lib/tests/util/posix/scoped_addrinfo.cc +11 -0
- data/ext/facter/facter/lib/tests/util/posix/scoped_bio.cc +12 -0
- data/ext/facter/facter/lib/tests/util/posix/scoped_descriptor.cc +22 -0
- data/ext/facter/facter/lib/tests/util/string.cc +291 -0
- data/ext/facter/facter/lib/version.h.in +28 -0
- data/ext/facter/facter/locales/CMakeLists.txt +7 -0
- data/ext/facter/facter/locales/FACTER.pot +1508 -0
- data/ext/facter/facter/man/man8/facter.8 +205 -0
- data/ext/facter/facter/scripts/cpplint.py +4754 -0
- data/ext/facter/facter/scripts/travis_target.sh +83 -0
- data/ext/facter/facter/tasks/ci.rake +22 -0
- data/ext/facter/leatherman/CHANGELOG.md +430 -0
- data/ext/facter/leatherman/CMakeLists.txt +143 -0
- data/ext/facter/leatherman/CONTRIBUTING.md +98 -0
- data/ext/facter/leatherman/LICENSE +17 -0
- data/ext/facter/leatherman/LeathermanConfig.cmake.in +57 -0
- data/ext/facter/leatherman/LeathermanConfigVersion.cmake.in +11 -0
- data/ext/facter/leatherman/MAINTAINERS +28 -0
- data/ext/facter/leatherman/README.md +416 -0
- data/ext/facter/leatherman/appveyor.yml +47 -0
- data/ext/facter/leatherman/catch/CMakeLists.txt +1 -0
- data/ext/facter/leatherman/cmake/FindICU.cmake +690 -0
- data/ext/facter/leatherman/cmake/GetGitRevisionDescription.cmake +130 -0
- data/ext/facter/leatherman/cmake/GetGitRevisionDescription.cmake.in +38 -0
- data/ext/facter/leatherman/cmake/cflags.cmake +110 -0
- data/ext/facter/leatherman/cmake/generate_translations.cmake +17 -0
- data/ext/facter/leatherman/cmake/internal.cmake +241 -0
- data/ext/facter/leatherman/cmake/leatherman.cmake.in +369 -0
- data/ext/facter/leatherman/cmake/leatherman_config.cmake +80 -0
- data/ext/facter/leatherman/cmake/normalize_pot.cmake +17 -0
- data/ext/facter/leatherman/cmake/options.cmake +21 -0
- data/ext/facter/leatherman/cmake/pod2man.cmake +36 -0
- data/ext/facter/leatherman/curl/CMakeLists.txt +42 -0
- data/ext/facter/leatherman/curl/inc/leatherman/curl/client.hpp +441 -0
- data/ext/facter/leatherman/curl/inc/leatherman/curl/request.hpp +130 -0
- data/ext/facter/leatherman/curl/inc/leatherman/curl/response.hpp +80 -0
- data/ext/facter/leatherman/curl/src/client.cc +575 -0
- data/ext/facter/leatherman/curl/src/request.cc +112 -0
- data/ext/facter/leatherman/curl/src/response.cc +62 -0
- data/ext/facter/leatherman/curl/tests/CMakeLists.txt +22 -0
- data/ext/facter/leatherman/curl/tests/client_test.cc +613 -0
- data/ext/facter/leatherman/curl/tests/fixtures.cc +27 -0
- data/ext/facter/leatherman/curl/tests/fixtures.hpp +31 -0
- data/ext/facter/leatherman/curl/tests/mock_curl.cc +423 -0
- data/ext/facter/leatherman/curl/tests/mock_curl.hpp +85 -0
- data/ext/facter/leatherman/curl/tests/request_test.cc +85 -0
- data/ext/facter/leatherman/curl/tests/response_test.cc +58 -0
- data/ext/facter/leatherman/dynamic_library/CMakeLists.txt +43 -0
- data/ext/facter/leatherman/dynamic_library/inc/leatherman/dynamic_library/dynamic_library.hpp +122 -0
- data/ext/facter/leatherman/dynamic_library/src/dynamic_library.cc +57 -0
- data/ext/facter/leatherman/dynamic_library/src/posix/dynamic_library.cc +91 -0
- data/ext/facter/leatherman/dynamic_library/src/windows/dynamic_library.cc +128 -0
- data/ext/facter/leatherman/dynamic_library/tests/dynamic_library_tests.cc +94 -0
- data/ext/facter/leatherman/dynamic_library/tests/fixtures.hpp.in +3 -0
- data/ext/facter/leatherman/dynamic_library/tests/test-lib/goodbye.cc +5 -0
- data/ext/facter/leatherman/dynamic_library/tests/test-lib/hello.cc +7 -0
- data/ext/facter/leatherman/execution/CMakeLists.txt +65 -0
- data/ext/facter/leatherman/execution/inc/leatherman/execution/execution.hpp +488 -0
- data/ext/facter/leatherman/execution/src/execution.cc +510 -0
- data/ext/facter/leatherman/execution/src/posix/execution.cc +574 -0
- data/ext/facter/leatherman/execution/src/posix/generic/platform.cc +30 -0
- data/ext/facter/leatherman/execution/src/posix/platform.hpp +15 -0
- data/ext/facter/leatherman/execution/src/posix/solaris/platform.cc +197 -0
- data/ext/facter/leatherman/execution/src/windows/execution.cc +698 -0
- data/ext/facter/leatherman/execution/tests/fixtures.hpp.in +2 -0
- data/ext/facter/leatherman/execution/tests/fixtures/echo_pid +2 -0
- data/ext/facter/leatherman/execution/tests/fixtures/error_message +5 -0
- data/ext/facter/leatherman/execution/tests/fixtures/execution/selfkill.sh +3 -0
- data/ext/facter/leatherman/execution/tests/fixtures/execution/sleep.sh +3 -0
- data/ext/facter/leatherman/execution/tests/fixtures/facts +5 -0
- data/ext/facter/leatherman/execution/tests/fixtures/failed +3 -0
- data/ext/facter/leatherman/execution/tests/fixtures/ls/crlf.txt +3 -0
- data/ext/facter/leatherman/execution/tests/fixtures/ls/file1.txt +1 -0
- data/ext/facter/leatherman/execution/tests/fixtures/ls/file2.txt +1 -0
- data/ext/facter/leatherman/execution/tests/fixtures/ls/file3.txt +1 -0
- data/ext/facter/leatherman/execution/tests/fixtures/ls/file4.txt +7 -0
- data/ext/facter/leatherman/execution/tests/fixtures/not_executable +1 -0
- data/ext/facter/leatherman/execution/tests/fixtures/windows/error_message.bat +6 -0
- data/ext/facter/leatherman/execution/tests/fixtures/windows/facts.bat +4 -0
- data/ext/facter/leatherman/execution/tests/fixtures/windows/failed.cmd +2 -0
- data/ext/facter/leatherman/execution/tests/fixtures/windows/not_executable +1 -0
- data/ext/facter/leatherman/execution/tests/fixtures/windows/ruby_script.rb +1 -0
- data/ext/facter/leatherman/execution/tests/log_capture.cc +29 -0
- data/ext/facter/leatherman/execution/tests/log_capture.hpp +35 -0
- data/ext/facter/leatherman/execution/tests/lth_cat.cc +38 -0
- data/ext/facter/leatherman/execution/tests/lth_cat.hpp +9 -0
- data/ext/facter/leatherman/execution/tests/posix/execution.cc +728 -0
- data/ext/facter/leatherman/execution/tests/posix/solaris/execution.cc +54 -0
- data/ext/facter/leatherman/execution/tests/windows/execution.cc +789 -0
- data/ext/facter/leatherman/file_util/CMakeLists.txt +18 -0
- data/ext/facter/leatherman/file_util/inc/leatherman/file_util/directory.hpp +28 -0
- data/ext/facter/leatherman/file_util/inc/leatherman/file_util/file.hpp +95 -0
- data/ext/facter/leatherman/file_util/src/directory.cc +51 -0
- data/ext/facter/leatherman/file_util/src/file.cc +131 -0
- data/ext/facter/leatherman/file_util/tests/directory_utils_test.cc +87 -0
- data/ext/facter/leatherman/file_util/tests/file_utils_test.cc +195 -0
- data/ext/facter/leatherman/file_util/tests/fixtures.cc +37 -0
- data/ext/facter/leatherman/file_util/tests/fixtures.hpp +39 -0
- data/ext/facter/leatherman/json_container/CMakeLists.txt +11 -0
- data/ext/facter/leatherman/json_container/README.md +108 -0
- data/ext/facter/leatherman/json_container/inc/leatherman/json_container/json_container.hpp +443 -0
- data/ext/facter/leatherman/json_container/src/json_container.cc +655 -0
- data/ext/facter/leatherman/json_container/tests/json_container_test.cc +1129 -0
- data/ext/facter/leatherman/locale/CMakeLists.txt +46 -0
- data/ext/facter/leatherman/locale/disabled/locale.cc +38 -0
- data/ext/facter/leatherman/locale/inc/leatherman/locale/locale.hpp +263 -0
- data/ext/facter/leatherman/locale/locales/CMakeLists.txt +6 -0
- data/ext/facter/leatherman/locale/locales/fr.po +40 -0
- data/ext/facter/leatherman/locale/locales/leatherman_locale.pot +41 -0
- data/ext/facter/leatherman/locale/src/locale.cc +95 -0
- data/ext/facter/leatherman/locale/tests/format.cc +117 -0
- data/ext/facter/leatherman/locale/tests/locale.cc +190 -0
- data/ext/facter/leatherman/locales/CMakeLists.txt +7 -0
- data/ext/facter/leatherman/locales/leatherman.pot +717 -0
- data/ext/facter/leatherman/logging/CMakeLists.txt +43 -0
- data/ext/facter/leatherman/logging/inc/leatherman/logging/logging.hpp +264 -0
- data/ext/facter/leatherman/logging/locales/CMakeLists.txt +6 -0
- data/ext/facter/leatherman/logging/locales/fr.po +72 -0
- data/ext/facter/leatherman/logging/locales/leatherman_logging.pot +72 -0
- data/ext/facter/leatherman/logging/src/logging.cc +229 -0
- data/ext/facter/leatherman/logging/src/posix/logging.cc +39 -0
- data/ext/facter/leatherman/logging/src/windows/logging.cc +52 -0
- data/ext/facter/leatherman/logging/tests/logging.cc +118 -0
- data/ext/facter/leatherman/logging/tests/logging.hpp +88 -0
- data/ext/facter/leatherman/logging/tests/logging_i18n.cc +103 -0
- data/ext/facter/leatherman/logging/tests/logging_on_message.cc +61 -0
- data/ext/facter/leatherman/logging/tests/logging_stream.cc +159 -0
- data/ext/facter/leatherman/logging/tests/logging_stream_lines.cc +172 -0
- data/ext/facter/leatherman/logging/tests/posix/logging.cc +23 -0
- data/ext/facter/leatherman/logging/tests/windows/logging.cc +13 -0
- data/ext/facter/leatherman/nowide/CMakeLists.txt +7 -0
- data/ext/facter/leatherman/rapidjson/CMakeLists.txt +1 -0
- data/ext/facter/leatherman/ruby/CMakeLists.txt +26 -0
- data/ext/facter/leatherman/ruby/inc/leatherman/ruby/api.hpp +744 -0
- data/ext/facter/leatherman/ruby/src/api.cc +527 -0
- data/ext/facter/leatherman/ruby/src/posix/api.cc +14 -0
- data/ext/facter/leatherman/ruby/src/windows/api.cc +20 -0
- data/ext/facter/leatherman/ruby/tests/api-test.cc +206 -0
- data/ext/facter/leatherman/scripts/cpplint.py +6323 -0
- data/ext/facter/leatherman/tests/CMakeLists.txt +22 -0
- data/ext/facter/leatherman/tests/main.cc +17 -0
- data/ext/facter/leatherman/util/CMakeLists.txt +36 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/environment.hpp +69 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/option_set.hpp +228 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/posix/scoped_descriptor.hpp +32 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/regex.hpp +80 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/scope_exit.hpp +62 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/scoped_env.hpp +35 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/scoped_resource.hpp +130 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/strings.hpp +54 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/time.hpp +36 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/timer.hpp +43 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/uri.hpp +23 -0
- data/ext/facter/leatherman/util/inc/leatherman/util/windows/scoped_handle.hpp +32 -0
- data/ext/facter/leatherman/util/src/environment.cc +29 -0
- data/ext/facter/leatherman/util/src/posix/environment.cc +75 -0
- data/ext/facter/leatherman/util/src/posix/scoped_descriptor.cc +23 -0
- data/ext/facter/leatherman/util/src/posix/time.cc +9 -0
- data/ext/facter/leatherman/util/src/scope_exit.cc +43 -0
- data/ext/facter/leatherman/util/src/scoped_env.cc +37 -0
- data/ext/facter/leatherman/util/src/strings.cc +41 -0
- data/ext/facter/leatherman/util/src/time.cc +49 -0
- data/ext/facter/leatherman/util/src/uri.cc +75 -0
- data/ext/facter/leatherman/util/src/windows/environment.cc +75 -0
- data/ext/facter/leatherman/util/src/windows/scoped_handle.cc +24 -0
- data/ext/facter/leatherman/util/src/windows/time.cc +10 -0
- data/ext/facter/leatherman/util/tests/environment.cc +90 -0
- data/ext/facter/leatherman/util/tests/option_set.cc +234 -0
- data/ext/facter/leatherman/util/tests/posix/environment.cc +36 -0
- data/ext/facter/leatherman/util/tests/scoped_env.cc +52 -0
- data/ext/facter/leatherman/util/tests/strings_test.cc +71 -0
- data/ext/facter/leatherman/util/tests/timer.cc +39 -0
- data/ext/facter/leatherman/util/tests/uri.cc +104 -0
- data/ext/facter/leatherman/util/tests/windows/environment.cc +30 -0
- data/ext/facter/leatherman/vendor/Catch-1.10.0.zip +0 -0
- data/ext/facter/leatherman/vendor/nowide/build/Jamfile.v2 +26 -0
- data/ext/facter/leatherman/vendor/nowide/doc/Doxyfile +1632 -0
- data/ext/facter/leatherman/vendor/nowide/doc/LICENSE_1_0.txt +23 -0
- data/ext/facter/leatherman/vendor/nowide/doc/gendoc.sh +11 -0
- data/ext/facter/leatherman/vendor/nowide/doc/main.txt +354 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/args.hpp +167 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/cenv.hpp +126 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/config.hpp +54 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/convert.hpp +154 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/cstdio.hpp +101 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/cstdlib.hpp +16 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/filebuf.hpp +415 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/fstream.hpp +283 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/integration/filesystem.hpp +28 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/iostream.hpp +99 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/stackstring.hpp +154 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/system.hpp +46 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/utf8_codecvt.hpp +499 -0
- data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/windows.hpp +39 -0
- data/ext/facter/leatherman/vendor/nowide/index.html +16 -0
- data/ext/facter/leatherman/vendor/nowide/src/iostream.cpp +263 -0
- data/ext/facter/leatherman/vendor/nowide/standalone/CMakeLists.txt +104 -0
- data/ext/facter/leatherman/vendor/nowide/standalone/MinGW.cmake +9 -0
- data/ext/facter/leatherman/vendor/nowide/standalone/config.hpp +37 -0
- data/ext/facter/leatherman/vendor/nowide/standalone/convert +34 -0
- data/ext/facter/leatherman/vendor/nowide/standalone/encoding_errors.hpp +58 -0
- data/ext/facter/leatherman/vendor/nowide/standalone/encoding_utf.hpp +84 -0
- data/ext/facter/leatherman/vendor/nowide/standalone/run_convert_and_build.sh +17 -0
- data/ext/facter/leatherman/vendor/nowide/standalone/scoped_ptr.hpp +93 -0
- data/ext/facter/leatherman/vendor/nowide/standalone/utf.hpp +469 -0
- data/ext/facter/leatherman/vendor/nowide/template.hpp +19 -0
- data/ext/facter/leatherman/vendor/nowide/test/Jamfile.v2 +43 -0
- data/ext/facter/leatherman/vendor/nowide/test/test.hpp +25 -0
- data/ext/facter/leatherman/vendor/nowide/test/test_codecvt.cpp +254 -0
- data/ext/facter/leatherman/vendor/nowide/test/test_convert.cpp +101 -0
- data/ext/facter/leatherman/vendor/nowide/test/test_env.cpp +49 -0
- data/ext/facter/leatherman/vendor/nowide/test/test_fs.cpp +48 -0
- data/ext/facter/leatherman/vendor/nowide/test/test_fstream.cpp +184 -0
- data/ext/facter/leatherman/vendor/nowide/test/test_iostream.cpp +52 -0
- data/ext/facter/leatherman/vendor/nowide/test/test_stdio.cpp +60 -0
- data/ext/facter/leatherman/vendor/nowide/test/test_system.cpp +91 -0
- data/ext/facter/leatherman/vendor/rapidjson-1.0.2.zip +0 -0
- data/ext/facter/leatherman/windows/CMakeLists.txt +27 -0
- data/ext/facter/leatherman/windows/inc/leatherman/windows/file_util.hpp +23 -0
- data/ext/facter/leatherman/windows/inc/leatherman/windows/process.hpp +22 -0
- data/ext/facter/leatherman/windows/inc/leatherman/windows/registry.hpp +56 -0
- data/ext/facter/leatherman/windows/inc/leatherman/windows/system_error.hpp +23 -0
- data/ext/facter/leatherman/windows/inc/leatherman/windows/user.hpp +30 -0
- data/ext/facter/leatherman/windows/inc/leatherman/windows/windows.hpp +10 -0
- data/ext/facter/leatherman/windows/inc/leatherman/windows/wmi.hpp +188 -0
- data/ext/facter/leatherman/windows/src/file_util.cc +28 -0
- data/ext/facter/leatherman/windows/src/process.cc +42 -0
- data/ext/facter/leatherman/windows/src/registry.cc +96 -0
- data/ext/facter/leatherman/windows/src/system_error.cc +33 -0
- data/ext/facter/leatherman/windows/src/user.cc +76 -0
- data/ext/facter/leatherman/windows/src/wmi.cc +208 -0
- data/ext/facter/leatherman/windows/tests/file_utils_test.cc +13 -0
- metadata +1089 -0
@@ -0,0 +1,33 @@
|
|
1
|
+
#include <leatherman/util/scoped_resource.hpp>
|
2
|
+
#include <leatherman/windows/system_error.hpp>
|
3
|
+
#include <leatherman/windows/windows.hpp>
|
4
|
+
#include <leatherman/locale/locale.hpp>
|
5
|
+
#include <boost/nowide/convert.hpp>
|
6
|
+
|
7
|
+
// Mark string for translation (alias for leatherman::locale::format)
|
8
|
+
using leatherman::locale::_;
|
9
|
+
|
10
|
+
using namespace std;
|
11
|
+
|
12
|
+
namespace leatherman { namespace windows {
|
13
|
+
|
14
|
+
string system_error(DWORD err)
|
15
|
+
{
|
16
|
+
LPWSTR buffer = nullptr;
|
17
|
+
if (FormatMessageW(
|
18
|
+
FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_IGNORE_INSERTS,
|
19
|
+
nullptr, err, 0, reinterpret_cast<LPWSTR>(&buffer), 0, nullptr) == 0 || !buffer) {
|
20
|
+
return _("unknown error ({1})", err);
|
21
|
+
}
|
22
|
+
|
23
|
+
// boost format could throw, so ensure the buffer is freed.
|
24
|
+
util::scoped_resource<LPWSTR> guard(buffer, [](LPWSTR ptr) { if (ptr) LocalFree(ptr); });
|
25
|
+
return _("{1} ({2})", boost::nowide::narrow(buffer), err);
|
26
|
+
}
|
27
|
+
|
28
|
+
string system_error()
|
29
|
+
{
|
30
|
+
return system_error(GetLastError());
|
31
|
+
}
|
32
|
+
|
33
|
+
}} // namespace leatherman::windows
|
@@ -0,0 +1,76 @@
|
|
1
|
+
#include <leatherman/windows/user.hpp>
|
2
|
+
#include <leatherman/windows/process.hpp>
|
3
|
+
#include <leatherman/windows/system_error.hpp>
|
4
|
+
#include <leatherman/windows/windows.hpp>
|
5
|
+
#include <leatherman/util/scoped_resource.hpp>
|
6
|
+
#include <leatherman/logging/logging.hpp>
|
7
|
+
#include <boost/nowide/convert.hpp>
|
8
|
+
#include <userenv.h>
|
9
|
+
|
10
|
+
using namespace std;
|
11
|
+
|
12
|
+
namespace leatherman { namespace windows { namespace user {
|
13
|
+
|
14
|
+
bool is_admin()
|
15
|
+
{
|
16
|
+
if (process::supports_elevated_security()) {
|
17
|
+
return process::has_elevated_security();
|
18
|
+
}
|
19
|
+
|
20
|
+
return check_token_membership();
|
21
|
+
}
|
22
|
+
|
23
|
+
bool check_token_membership()
|
24
|
+
{
|
25
|
+
DWORD sid_size = SECURITY_MAX_SID_SIZE;
|
26
|
+
unsigned char sid_buffer[SECURITY_MAX_SID_SIZE];
|
27
|
+
auto sid = static_cast<PSID>(&sid_buffer);
|
28
|
+
if (!CreateWellKnownSid(WinBuiltinAdministratorsSid, nullptr, sid, &sid_size)) {
|
29
|
+
LOG_DEBUG("Failed to create administrators SID: {1}", system_error());
|
30
|
+
return false;
|
31
|
+
}
|
32
|
+
|
33
|
+
if (!IsValidSid(sid)) {
|
34
|
+
LOG_DEBUG("Invalid SID");
|
35
|
+
return false;
|
36
|
+
}
|
37
|
+
|
38
|
+
BOOL is_member;
|
39
|
+
if (!CheckTokenMembership(nullptr, sid, &is_member)) {
|
40
|
+
LOG_DEBUG("Failed to check membership: {1}", system_error());
|
41
|
+
return false;
|
42
|
+
}
|
43
|
+
|
44
|
+
return is_member;
|
45
|
+
}
|
46
|
+
|
47
|
+
string home_dir() {
|
48
|
+
HANDLE temp_token = INVALID_HANDLE_VALUE;
|
49
|
+
if (!OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &temp_token)) {
|
50
|
+
LOG_DEBUG("OpenProcessToken call failed: {1}", system_error());
|
51
|
+
return {};
|
52
|
+
}
|
53
|
+
util::scoped_resource <HANDLE> token(temp_token, CloseHandle);
|
54
|
+
|
55
|
+
DWORD pathLen = 0u;
|
56
|
+
if (GetUserProfileDirectoryW(token, nullptr, &pathLen)) {
|
57
|
+
LOG_DEBUG("GetUserProfileDirectoryW call returned unexpectedly");
|
58
|
+
return {};
|
59
|
+
} else if (GetLastError() != ERROR_INSUFFICIENT_BUFFER) {
|
60
|
+
LOG_DEBUG("GetUserProfileDirectoryW call failed: {1}", system_error());
|
61
|
+
return {};
|
62
|
+
}
|
63
|
+
|
64
|
+
wstring buffer(pathLen, '\0');
|
65
|
+
if (!GetUserProfileDirectoryW(token, &buffer[0], &pathLen)) {
|
66
|
+
LOG_DEBUG("GetUserProfileDirectoryW call failed: {1}", system_error());
|
67
|
+
return {};
|
68
|
+
}
|
69
|
+
|
70
|
+
// Strip the trailing null character.
|
71
|
+
buffer.resize(pathLen > 0u ? pathLen - 1u : 0u);
|
72
|
+
return boost::nowide::narrow(buffer);
|
73
|
+
}
|
74
|
+
|
75
|
+
}}} // namespace leatherman::windows::user
|
76
|
+
|
@@ -0,0 +1,208 @@
|
|
1
|
+
#include <leatherman/util/strings.hpp>
|
2
|
+
#include <leatherman/windows/wmi.hpp>
|
3
|
+
#include <leatherman/logging/logging.hpp>
|
4
|
+
#include <leatherman/locale/locale.hpp>
|
5
|
+
#include <boost/algorithm/string/join.hpp>
|
6
|
+
#include <boost/algorithm/string/trim.hpp>
|
7
|
+
#include <boost/range/iterator_range.hpp>
|
8
|
+
#include <boost/nowide/convert.hpp>
|
9
|
+
|
10
|
+
// Mark string for translation (alias for leatherman::locale::format)
|
11
|
+
using leatherman::locale::_;
|
12
|
+
|
13
|
+
#define _WIN32_DCOM
|
14
|
+
#include <comdef.h>
|
15
|
+
#include <wbemidl.h>
|
16
|
+
|
17
|
+
using namespace std;
|
18
|
+
|
19
|
+
namespace leatherman { namespace windows {
|
20
|
+
|
21
|
+
wmi_exception::wmi_exception(string const& message) :
|
22
|
+
runtime_error(message)
|
23
|
+
{
|
24
|
+
}
|
25
|
+
|
26
|
+
static string format_hresult(std::string s, HRESULT hres)
|
27
|
+
{
|
28
|
+
#ifdef LEATHERMAN_I18N
|
29
|
+
// LOCALE: format a pointer as hex for printing an error message.
|
30
|
+
return _("{1} (0x{2,num=hex})", s, hres);
|
31
|
+
#else
|
32
|
+
return _("%1% (0x%2$#x)", s, hres);
|
33
|
+
#endif
|
34
|
+
}
|
35
|
+
|
36
|
+
// GUID taken from a Windows installation and unaccepted change to MinGW-w64. The MinGW-w64 library
|
37
|
+
// doesn't define it, but obscures the Windows Platform SDK version of wbemuuid.lib.
|
38
|
+
constexpr static CLSID MyCLSID_WbemLocator = {0x4590f811, 0x1d3a, 0x11d0, 0x89, 0x1f, 0x00, 0xaa, 0x00, 0x4b, 0x2e, 0x24};
|
39
|
+
|
40
|
+
wmi::wmi()
|
41
|
+
{
|
42
|
+
LOG_DEBUG("initializing WMI");
|
43
|
+
auto hres = CoInitializeEx(0, COINIT_APARTMENTTHREADED);
|
44
|
+
if (FAILED(hres)) {
|
45
|
+
if (hres == RPC_E_CHANGED_MODE) {
|
46
|
+
LOG_DEBUG("using prior COM concurrency model");
|
47
|
+
} else {
|
48
|
+
// Retry with multi-threaded, in case we're on Nano Server
|
49
|
+
hres = CoInitializeEx(0, COINIT_MULTITHREADED);
|
50
|
+
if (FAILED(hres)) {
|
51
|
+
throw wmi_exception(format_hresult(_("failed to initialize COM library"), hres));
|
52
|
+
} else {
|
53
|
+
LOG_DEBUG("COM single-threaded apartment not supported, using multi-threaded");
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
if (SUCCEEDED(hres)) {
|
59
|
+
_coInit = util::scoped_resource<bool>(true, [](bool b) { CoUninitialize(); });
|
60
|
+
}
|
61
|
+
|
62
|
+
IWbemLocator *pLoc;
|
63
|
+
hres = CoCreateInstance(MyCLSID_WbemLocator, 0, CLSCTX_INPROC_SERVER, IID_IWbemLocator,
|
64
|
+
reinterpret_cast<LPVOID *>(&pLoc));
|
65
|
+
if (FAILED(hres)) {
|
66
|
+
throw wmi_exception(format_hresult(_("failed to create IWbemLocator object"), hres));
|
67
|
+
}
|
68
|
+
_pLoc = util::scoped_resource<IWbemLocator *>(pLoc,
|
69
|
+
[](IWbemLocator *loc) { if (loc) loc->Release(); });
|
70
|
+
|
71
|
+
IWbemServices *pSvc;
|
72
|
+
hres = (*_pLoc).ConnectServer(_bstr_t(L"ROOT\\CIMV2"), nullptr, nullptr, nullptr, 0, nullptr, nullptr, &pSvc);
|
73
|
+
if (FAILED(hres)) {
|
74
|
+
throw wmi_exception(format_hresult(_("could not connect to WMI server"), hres));
|
75
|
+
}
|
76
|
+
_pSvc = util::scoped_resource<IWbemServices *>(pSvc,
|
77
|
+
[](IWbemServices *svc) { if (svc) svc->Release(); });
|
78
|
+
|
79
|
+
hres = CoSetProxyBlanket(_pSvc, RPC_C_AUTHN_WINNT, RPC_C_AUTHZ_NONE, NULL,
|
80
|
+
RPC_C_AUTHN_LEVEL_CALL, RPC_C_IMP_LEVEL_IMPERSONATE, NULL, EOAC_NONE);
|
81
|
+
if (FAILED(hres)) {
|
82
|
+
throw wmi_exception(format_hresult(_("could not set proxy blanket"), hres));
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
static void wmi_add_result(wmi::imap &vals, string const& group, string const& s, VARIANT *vtProp)
|
87
|
+
{
|
88
|
+
if (V_VT(vtProp) == (VT_ARRAY | VT_BSTR)) {
|
89
|
+
// It's an array of elements; serialize the array as elements with the same key in the imap.
|
90
|
+
// To keep this simple, ignore multi-dimensional arrays.
|
91
|
+
SAFEARRAY *arr = V_ARRAY(vtProp);
|
92
|
+
if (arr->cDims != 1) {
|
93
|
+
LOG_DEBUG("ignoring {1}-dimensional array in query {2}.{3}", arr->cDims, group, s);
|
94
|
+
return;
|
95
|
+
}
|
96
|
+
|
97
|
+
BSTR *pbstr;
|
98
|
+
if (FAILED(SafeArrayAccessData(arr, reinterpret_cast<void **>(&pbstr)))) {
|
99
|
+
return;
|
100
|
+
}
|
101
|
+
|
102
|
+
for (auto i = 0u; i < arr->rgsabound[0].cElements; ++i) {
|
103
|
+
vals.emplace(s, boost::trim_copy(boost::nowide::narrow(pbstr[i])));
|
104
|
+
}
|
105
|
+
SafeArrayUnaccessData(arr);
|
106
|
+
} else if (FAILED(VariantChangeType(vtProp, vtProp, 0, VT_BSTR)) || V_VT(vtProp) != VT_BSTR) {
|
107
|
+
// Uninitialized (null) values can just be ignored. Any others get reported.
|
108
|
+
if (V_VT(vtProp) != VT_NULL) {
|
109
|
+
LOG_DEBUG("WMI query {1}.{2} result could not be converted from type {3} to a string", group, s, V_VT(vtProp));
|
110
|
+
}
|
111
|
+
} else {
|
112
|
+
vals.emplace(s, boost::trim_copy(boost::nowide::narrow(V_BSTR(vtProp))));
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
wmi::imaps wmi::query(string const& group, vector<string> const& keys, string const& extended) const
|
117
|
+
{
|
118
|
+
IEnumWbemClassObject *_pEnum = NULL;
|
119
|
+
string qry = "SELECT " + boost::join(keys, ",") + " FROM " + group;
|
120
|
+
if (!extended.empty()) {
|
121
|
+
qry += " " + extended;
|
122
|
+
}
|
123
|
+
|
124
|
+
auto hres = (*_pSvc).ExecQuery(_bstr_t(L"WQL"), _bstr_t(boost::nowide::widen(qry).c_str()),
|
125
|
+
WBEM_FLAG_FORWARD_ONLY | WBEM_FLAG_RETURN_IMMEDIATELY, NULL, &_pEnum);
|
126
|
+
if (FAILED(hres)) {
|
127
|
+
LOG_DEBUG("query {1} failed", qry);
|
128
|
+
return {};
|
129
|
+
}
|
130
|
+
util::scoped_resource<IEnumWbemClassObject *> pEnum(_pEnum,
|
131
|
+
[](IEnumWbemClassObject *rsc) { if (rsc) rsc->Release(); });
|
132
|
+
|
133
|
+
imaps array_of_vals;
|
134
|
+
|
135
|
+
IWbemClassObject *pclsObjs[256];
|
136
|
+
ULONG uReturn = 0;
|
137
|
+
while (pEnum) {
|
138
|
+
auto hr = (*pEnum).Next(WBEM_INFINITE, 256, pclsObjs, &uReturn);
|
139
|
+
if (FAILED(hr) || 0 == uReturn) {
|
140
|
+
break;
|
141
|
+
}
|
142
|
+
|
143
|
+
for (auto pclsObj : boost::make_iterator_range(pclsObjs, pclsObjs+uReturn)) {
|
144
|
+
imap vals;
|
145
|
+
for (auto &s : keys) {
|
146
|
+
VARIANT vtProp;
|
147
|
+
CIMTYPE vtType;
|
148
|
+
hr = pclsObj->Get(_bstr_t(boost::nowide::widen(s).c_str()), 0, &vtProp, &vtType, 0);
|
149
|
+
if (FAILED(hr)) {
|
150
|
+
LOG_DEBUG("query {1}.{2} could not be found", group, s);
|
151
|
+
break;
|
152
|
+
}
|
153
|
+
|
154
|
+
wmi_add_result(vals, group, s, &vtProp);
|
155
|
+
VariantClear(&vtProp);
|
156
|
+
}
|
157
|
+
pclsObj->Release();
|
158
|
+
array_of_vals.emplace_back(move(vals));
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
return array_of_vals;
|
163
|
+
}
|
164
|
+
|
165
|
+
string const& wmi::get(wmi::imap const& kvmap, string const& key)
|
166
|
+
{
|
167
|
+
static const string empty = {};
|
168
|
+
auto valIt = kvmap.find(key);
|
169
|
+
if (valIt == kvmap.end()) {
|
170
|
+
return empty;
|
171
|
+
} else {
|
172
|
+
if (kvmap.count(key) > 1) {
|
173
|
+
LOG_DEBUG("only single value requested from array for key {1}", key);
|
174
|
+
}
|
175
|
+
return valIt->second;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
wmi::kv_range wmi::get_range(wmi::imap const& kvmap, string const& key)
|
180
|
+
{
|
181
|
+
return kv_range(kvmap.equal_range(key));
|
182
|
+
}
|
183
|
+
|
184
|
+
string const& wmi::get(wmi::imaps const& kvmaps, string const& key)
|
185
|
+
{
|
186
|
+
if (kvmaps.size() > 0) {
|
187
|
+
if (kvmaps.size() > 1) {
|
188
|
+
LOG_DEBUG("only single entry requested from array of entries for key {1}", key);
|
189
|
+
}
|
190
|
+
return get(kvmaps[0], key);
|
191
|
+
} else {
|
192
|
+
throw wmi_exception(_("unable to get from empty array of objects"));
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
wmi::kv_range wmi::get_range(wmi::imaps const& kvmaps, string const& key)
|
197
|
+
{
|
198
|
+
if (kvmaps.size() > 0) {
|
199
|
+
if (kvmaps.size() > 1) {
|
200
|
+
LOG_DEBUG("only single entry requested from array of entries for key {1}", key);
|
201
|
+
}
|
202
|
+
return get_range(kvmaps[0], key);
|
203
|
+
} else {
|
204
|
+
throw wmi_exception(_("unable to get_range from empty array of objects"));
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
}} // namespace leatherman::windows
|
@@ -0,0 +1,13 @@
|
|
1
|
+
#include <catch.hpp>
|
2
|
+
#include <leatherman/windows/file_util.hpp>
|
3
|
+
|
4
|
+
namespace leatherman { namespace windows { namespace file_util {
|
5
|
+
|
6
|
+
TEST_CASE("windows::file_util::get_programdata_dir", "[windows]") {
|
7
|
+
|
8
|
+
SECTION("should return the expected value of C:\\ProgramData") {
|
9
|
+
REQUIRE(get_programdata_dir() == "C:\\ProgramData");
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
}}} // namespace leatherman::windows::file_util
|
metadata
ADDED
@@ -0,0 +1,1089 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cfacter
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.11.0.rc.20180314
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Puppet
|
8
|
+
- Inc.
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2018-03-14 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description:
|
15
|
+
email: info@puppet.com
|
16
|
+
executables: []
|
17
|
+
extensions:
|
18
|
+
- ext/facter/extconf.rb
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- ext/facter/Makefile.erb
|
22
|
+
- ext/facter/cpp-hocon/CMakeLists.txt
|
23
|
+
- ext/facter/cpp-hocon/CONTRIBUTING.md
|
24
|
+
- ext/facter/cpp-hocon/LICENSE
|
25
|
+
- ext/facter/cpp-hocon/MAINTAINERS
|
26
|
+
- ext/facter/cpp-hocon/README.md
|
27
|
+
- ext/facter/cpp-hocon/acceptance/Gemfile
|
28
|
+
- ext/facter/cpp-hocon/acceptance/Rakefile
|
29
|
+
- ext/facter/cpp-hocon/acceptance/tests/fake.rb
|
30
|
+
- ext/facter/cpp-hocon/appveyor.yml
|
31
|
+
- ext/facter/cpp-hocon/lib/CMakeLists.txt
|
32
|
+
- ext/facter/cpp-hocon/lib/Doxyfile.in
|
33
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config.hpp
|
34
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_exception.hpp
|
35
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_include_context.hpp
|
36
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_includer.hpp
|
37
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_includer_file.hpp
|
38
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_list.hpp
|
39
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_mergeable.hpp
|
40
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_object.hpp
|
41
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_origin.hpp
|
42
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_parse_options.hpp
|
43
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_parseable.hpp
|
44
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_render_options.hpp
|
45
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_resolve_options.hpp
|
46
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_syntax.hpp
|
47
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_value.hpp
|
48
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/config_value_factory.hpp
|
49
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/functional_list.hpp
|
50
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/parser/config_document.hpp
|
51
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/parser/config_document_factory.hpp
|
52
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/parser/config_node.hpp
|
53
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/path.hpp
|
54
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/program_options.hpp
|
55
|
+
- ext/facter/cpp-hocon/lib/inc/hocon/types.hpp
|
56
|
+
- ext/facter/cpp-hocon/lib/inc/internal/config_document_parser.hpp
|
57
|
+
- ext/facter/cpp-hocon/lib/inc/internal/config_parser.hpp
|
58
|
+
- ext/facter/cpp-hocon/lib/inc/internal/config_util.hpp
|
59
|
+
- ext/facter/cpp-hocon/lib/inc/internal/container.hpp
|
60
|
+
- ext/facter/cpp-hocon/lib/inc/internal/default_transformer.hpp
|
61
|
+
- ext/facter/cpp-hocon/lib/inc/internal/full_includer.hpp
|
62
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/abstract_config_node.hpp
|
63
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/abstract_config_node_value.hpp
|
64
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_array.hpp
|
65
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_comment.hpp
|
66
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_complex_value.hpp
|
67
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_concatenation.hpp
|
68
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_field.hpp
|
69
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_include.hpp
|
70
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_object.hpp
|
71
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_path.hpp
|
72
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_root.hpp
|
73
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_simple_value.hpp
|
74
|
+
- ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_single_token.hpp
|
75
|
+
- ext/facter/cpp-hocon/lib/inc/internal/parseable.hpp
|
76
|
+
- ext/facter/cpp-hocon/lib/inc/internal/path_builder.hpp
|
77
|
+
- ext/facter/cpp-hocon/lib/inc/internal/path_parser.hpp
|
78
|
+
- ext/facter/cpp-hocon/lib/inc/internal/replaceable_merge_stack.hpp
|
79
|
+
- ext/facter/cpp-hocon/lib/inc/internal/resolve_context.hpp
|
80
|
+
- ext/facter/cpp-hocon/lib/inc/internal/resolve_result.hpp
|
81
|
+
- ext/facter/cpp-hocon/lib/inc/internal/resolve_source.hpp
|
82
|
+
- ext/facter/cpp-hocon/lib/inc/internal/simple_config_document.hpp
|
83
|
+
- ext/facter/cpp-hocon/lib/inc/internal/simple_config_origin.hpp
|
84
|
+
- ext/facter/cpp-hocon/lib/inc/internal/simple_include_context.hpp
|
85
|
+
- ext/facter/cpp-hocon/lib/inc/internal/simple_includer.hpp
|
86
|
+
- ext/facter/cpp-hocon/lib/inc/internal/substitution_expression.hpp
|
87
|
+
- ext/facter/cpp-hocon/lib/inc/internal/token.hpp
|
88
|
+
- ext/facter/cpp-hocon/lib/inc/internal/tokenizer.hpp
|
89
|
+
- ext/facter/cpp-hocon/lib/inc/internal/tokens.hpp
|
90
|
+
- ext/facter/cpp-hocon/lib/inc/internal/unmergeable.hpp
|
91
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/config_boolean.hpp
|
92
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/config_concatenation.hpp
|
93
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/config_delayed_merge.hpp
|
94
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/config_delayed_merge_object.hpp
|
95
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/config_double.hpp
|
96
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/config_int.hpp
|
97
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/config_long.hpp
|
98
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/config_null.hpp
|
99
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/config_number.hpp
|
100
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/config_reference.hpp
|
101
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/config_string.hpp
|
102
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/simple_config_list.hpp
|
103
|
+
- ext/facter/cpp-hocon/lib/inc/internal/values/simple_config_object.hpp
|
104
|
+
- ext/facter/cpp-hocon/lib/namespaces.dox.in
|
105
|
+
- ext/facter/cpp-hocon/lib/src/config.cc
|
106
|
+
- ext/facter/cpp-hocon/lib/src/config_document_factory.cc
|
107
|
+
- ext/facter/cpp-hocon/lib/src/config_document_parser.cc
|
108
|
+
- ext/facter/cpp-hocon/lib/src/config_parse_options.cc
|
109
|
+
- ext/facter/cpp-hocon/lib/src/config_parser.cc
|
110
|
+
- ext/facter/cpp-hocon/lib/src/config_render_options.cc
|
111
|
+
- ext/facter/cpp-hocon/lib/src/config_resolve_options.cc
|
112
|
+
- ext/facter/cpp-hocon/lib/src/config_util.cc
|
113
|
+
- ext/facter/cpp-hocon/lib/src/config_value_factory.cc
|
114
|
+
- ext/facter/cpp-hocon/lib/src/default_transformer.cc
|
115
|
+
- ext/facter/cpp-hocon/lib/src/nodes/abstract_config_node.cc
|
116
|
+
- ext/facter/cpp-hocon/lib/src/nodes/config_node_array.cc
|
117
|
+
- ext/facter/cpp-hocon/lib/src/nodes/config_node_comment.cc
|
118
|
+
- ext/facter/cpp-hocon/lib/src/nodes/config_node_complex_value.cc
|
119
|
+
- ext/facter/cpp-hocon/lib/src/nodes/config_node_concatenation.cc
|
120
|
+
- ext/facter/cpp-hocon/lib/src/nodes/config_node_field.cc
|
121
|
+
- ext/facter/cpp-hocon/lib/src/nodes/config_node_include.cc
|
122
|
+
- ext/facter/cpp-hocon/lib/src/nodes/config_node_object.cc
|
123
|
+
- ext/facter/cpp-hocon/lib/src/nodes/config_node_path.cc
|
124
|
+
- ext/facter/cpp-hocon/lib/src/nodes/config_node_root.cc
|
125
|
+
- ext/facter/cpp-hocon/lib/src/nodes/config_node_simple_value.cc
|
126
|
+
- ext/facter/cpp-hocon/lib/src/nodes/config_node_single_token.cc
|
127
|
+
- ext/facter/cpp-hocon/lib/src/parseable.cc
|
128
|
+
- ext/facter/cpp-hocon/lib/src/path.cc
|
129
|
+
- ext/facter/cpp-hocon/lib/src/path_builder.cc
|
130
|
+
- ext/facter/cpp-hocon/lib/src/path_parser.cc
|
131
|
+
- ext/facter/cpp-hocon/lib/src/resolve_context.cc
|
132
|
+
- ext/facter/cpp-hocon/lib/src/resolve_source.cc
|
133
|
+
- ext/facter/cpp-hocon/lib/src/simple_config_document.cc
|
134
|
+
- ext/facter/cpp-hocon/lib/src/simple_config_origin.cc
|
135
|
+
- ext/facter/cpp-hocon/lib/src/simple_include_context.cc
|
136
|
+
- ext/facter/cpp-hocon/lib/src/simple_includer.cc
|
137
|
+
- ext/facter/cpp-hocon/lib/src/substitution_expression.cc
|
138
|
+
- ext/facter/cpp-hocon/lib/src/token.cc
|
139
|
+
- ext/facter/cpp-hocon/lib/src/tokenizer.cc
|
140
|
+
- ext/facter/cpp-hocon/lib/src/tokens.cc
|
141
|
+
- ext/facter/cpp-hocon/lib/src/values/config_boolean.cc
|
142
|
+
- ext/facter/cpp-hocon/lib/src/values/config_concatenation.cc
|
143
|
+
- ext/facter/cpp-hocon/lib/src/values/config_delayed_merge.cc
|
144
|
+
- ext/facter/cpp-hocon/lib/src/values/config_delayed_merge_object.cc
|
145
|
+
- ext/facter/cpp-hocon/lib/src/values/config_double.cc
|
146
|
+
- ext/facter/cpp-hocon/lib/src/values/config_int.cc
|
147
|
+
- ext/facter/cpp-hocon/lib/src/values/config_long.cc
|
148
|
+
- ext/facter/cpp-hocon/lib/src/values/config_null.cc
|
149
|
+
- ext/facter/cpp-hocon/lib/src/values/config_number.cc
|
150
|
+
- ext/facter/cpp-hocon/lib/src/values/config_object.cc
|
151
|
+
- ext/facter/cpp-hocon/lib/src/values/config_reference.cc
|
152
|
+
- ext/facter/cpp-hocon/lib/src/values/config_string.cc
|
153
|
+
- ext/facter/cpp-hocon/lib/src/values/config_value.cc
|
154
|
+
- ext/facter/cpp-hocon/lib/src/values/simple_config_list.cc
|
155
|
+
- ext/facter/cpp-hocon/lib/src/values/simple_config_object.cc
|
156
|
+
- ext/facter/cpp-hocon/lib/tests/CMakeLists.txt
|
157
|
+
- ext/facter/cpp-hocon/lib/tests/concatenation_test.cc
|
158
|
+
- ext/facter/cpp-hocon/lib/tests/conf_parser_test.cc
|
159
|
+
- ext/facter/cpp-hocon/lib/tests/config_document_parser_test.cc
|
160
|
+
- ext/facter/cpp-hocon/lib/tests/config_document_tests.cc
|
161
|
+
- ext/facter/cpp-hocon/lib/tests/config_node_test.cc
|
162
|
+
- ext/facter/cpp-hocon/lib/tests/config_substitution_test.cc
|
163
|
+
- ext/facter/cpp-hocon/lib/tests/config_test.cc
|
164
|
+
- ext/facter/cpp-hocon/lib/tests/config_value_factory_test.cc
|
165
|
+
- ext/facter/cpp-hocon/lib/tests/config_value_test.cc
|
166
|
+
- ext/facter/cpp-hocon/lib/tests/fixtures.hpp.in
|
167
|
+
- ext/facter/cpp-hocon/lib/tests/fixtures/test01.conf
|
168
|
+
- ext/facter/cpp-hocon/lib/tests/fixtures/test01.json
|
169
|
+
- ext/facter/cpp-hocon/lib/tests/main.cc
|
170
|
+
- ext/facter/cpp-hocon/lib/tests/path_test.cc
|
171
|
+
- ext/facter/cpp-hocon/lib/tests/program_options.cc
|
172
|
+
- ext/facter/cpp-hocon/lib/tests/test.conf
|
173
|
+
- ext/facter/cpp-hocon/lib/tests/test_utils.cc
|
174
|
+
- ext/facter/cpp-hocon/lib/tests/test_utils.hpp
|
175
|
+
- ext/facter/cpp-hocon/lib/tests/token_test.cc
|
176
|
+
- ext/facter/cpp-hocon/lib/tests/tokenizer_test.cc
|
177
|
+
- ext/facter/cpp-hocon/lib/version.h.in
|
178
|
+
- ext/facter/cpp-hocon/locales/CMakeLists.txt
|
179
|
+
- ext/facter/cpp-hocon/locales/cpp-hocon.pot
|
180
|
+
- ext/facter/extconf.rb
|
181
|
+
- ext/facter/facter/CMakeLists.txt
|
182
|
+
- ext/facter/facter/CONTRIBUTING.md
|
183
|
+
- ext/facter/facter/Extensibility.md
|
184
|
+
- ext/facter/facter/LICENSE
|
185
|
+
- ext/facter/facter/MAINTAINERS
|
186
|
+
- ext/facter/facter/README.md
|
187
|
+
- ext/facter/facter/Rakefile
|
188
|
+
- ext/facter/facter/acceptance/Gemfile
|
189
|
+
- ext/facter/facter/acceptance/Rakefile
|
190
|
+
- ext/facter/facter/acceptance/bin/ci-bootstrap-from-artifacts.sh
|
191
|
+
- ext/facter/facter/acceptance/config/aio/options.rb
|
192
|
+
- ext/facter/facter/acceptance/config/git/options.rb
|
193
|
+
- ext/facter/facter/acceptance/config/nodes/aix-53-power.yaml
|
194
|
+
- ext/facter/facter/acceptance/config/nodes/aix-61-power.yaml
|
195
|
+
- ext/facter/facter/acceptance/config/nodes/aix-71-power.yaml
|
196
|
+
- ext/facter/facter/acceptance/config/nodes/huaweios-6-powerpc.yaml
|
197
|
+
- ext/facter/facter/acceptance/config/nodes/solaris-10-sparc.yaml
|
198
|
+
- ext/facter/facter/acceptance/config/nodes/solaris-11-sparc.yaml
|
199
|
+
- ext/facter/facter/acceptance/lib/facter/acceptance/base_fact_utils.rb
|
200
|
+
- ext/facter/facter/acceptance/lib/facter/acceptance/user_fact_utils.rb
|
201
|
+
- ext/facter/facter/acceptance/lib/helper.rb
|
202
|
+
- ext/facter/facter/acceptance/lib/puppet/acceptance/common_utils.rb
|
203
|
+
- ext/facter/facter/acceptance/lib/puppet/acceptance/git_utils.rb
|
204
|
+
- ext/facter/facter/acceptance/lib/puppet/acceptance/install_utils.rb
|
205
|
+
- ext/facter/facter/acceptance/setup/aio/pre-suite/010_Install.rb
|
206
|
+
- ext/facter/facter/acceptance/setup/aio/pre-suite/021_InstallAristaModule.rb
|
207
|
+
- ext/facter/facter/acceptance/setup/aio/pre-suite/022_Remove_LD_PRELOAD.rb
|
208
|
+
- ext/facter/facter/acceptance/setup/common/00_EnvSetup.rb
|
209
|
+
- ext/facter/facter/acceptance/setup/common/pre-suite/000-delete-puppet-when-none.rb
|
210
|
+
- ext/facter/facter/acceptance/setup/git/pre-suite/01_TestSetup.rb
|
211
|
+
- ext/facter/facter/acceptance/tests/custom_facts/custom_fact_with_10001_weight_overrides_external_fact.rb
|
212
|
+
- ext/facter/facter/acceptance/tests/custom_facts/having_multiple_facts_in_one_file.rb
|
213
|
+
- ext/facter/facter/acceptance/tests/custom_facts/using_win32ole_should_not_hang.rb
|
214
|
+
- ext/facter/facter/acceptance/tests/external_facts/env_var_overrides_external_fact.rb
|
215
|
+
- ext/facter/facter/acceptance/tests/external_facts/external_dir_overrides_default_external_fact.rb
|
216
|
+
- ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact.rb
|
217
|
+
- ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact_with_10000_weight_or_less.rb
|
218
|
+
- ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact_with_confine.rb
|
219
|
+
- ext/facter/facter/acceptance/tests/external_facts/external_fact_stderr_messages_output_to_stderr.rb
|
220
|
+
- ext/facter/facter/acceptance/tests/external_facts/external_facts_only_run_once.rb
|
221
|
+
- ext/facter/facter/acceptance/tests/external_facts/fact_directory_precedence.rb
|
222
|
+
- ext/facter/facter/acceptance/tests/external_facts/non_root_users_default_external_fact_directory.rb
|
223
|
+
- ext/facter/facter/acceptance/tests/external_facts/root_uses_default_external_fact_dir.rb
|
224
|
+
- ext/facter/facter/acceptance/tests/external_facts/structured_executable_facts.rb
|
225
|
+
- ext/facter/facter/acceptance/tests/facter_returns_success_on_non_existent_fact.rb
|
226
|
+
- ext/facter/facter/acceptance/tests/facts/dmi.rb
|
227
|
+
- ext/facter/facter/acceptance/tests/facts/facterversion.rb
|
228
|
+
- ext/facter/facter/acceptance/tests/facts/identity.rb
|
229
|
+
- ext/facter/facter/acceptance/tests/facts/networking_facts.rb
|
230
|
+
- ext/facter/facter/acceptance/tests/facts/non_root_users_without_errors.rb
|
231
|
+
- ext/facter/facter/acceptance/tests/facts/operatingsystem_detection_after_clear_on_ubuntu.rb
|
232
|
+
- ext/facter/facter/acceptance/tests/facts/os_processors_and_kernel.rb
|
233
|
+
- ext/facter/facter/acceptance/tests/facts/partitions.rb
|
234
|
+
- ext/facter/facter/acceptance/tests/facts/productname.rb
|
235
|
+
- ext/facter/facter/acceptance/tests/facts/ruby.rb
|
236
|
+
- ext/facter/facter/acceptance/tests/facts/validate_file_system_size_bytes.rb
|
237
|
+
- ext/facter/facter/acceptance/tests/facts/verify_tmpfs_file_system.rb
|
238
|
+
- ext/facter/facter/acceptance/tests/load_libfacter.rb
|
239
|
+
- ext/facter/facter/acceptance/tests/no_errors_on_stderr.rb
|
240
|
+
- ext/facter/facter/acceptance/tests/options/color.rb
|
241
|
+
- ext/facter/facter/acceptance/tests/options/config.rb
|
242
|
+
- ext/facter/facter/acceptance/tests/options/config_file/blocklist.rb
|
243
|
+
- ext/facter/facter/acceptance/tests/options/config_file/blocklist_from_puppet_facts.rb
|
244
|
+
- ext/facter/facter/acceptance/tests/options/config_file/custom_dir_overridden_by_cli_custom_dir.rb
|
245
|
+
- ext/facter/facter/acceptance/tests/options/config_file/custom_facts.rb
|
246
|
+
- ext/facter/facter/acceptance/tests/options/config_file/custom_facts_list.rb
|
247
|
+
- ext/facter/facter/acceptance/tests/options/config_file/debug.rb
|
248
|
+
- ext/facter/facter/acceptance/tests/options/config_file/debug_override_config_file.rb
|
249
|
+
- ext/facter/facter/acceptance/tests/options/config_file/default_file_location.rb
|
250
|
+
- ext/facter/facter/acceptance/tests/options/config_file/external_dir_conflicts_with_cli_no_external_facts.rb
|
251
|
+
- ext/facter/facter/acceptance/tests/options/config_file/external_dir_overridden_by_cli_external_dir.rb
|
252
|
+
- ext/facter/facter/acceptance/tests/options/config_file/external_facts.rb
|
253
|
+
- ext/facter/facter/acceptance/tests/options/config_file/external_facts_list.rb
|
254
|
+
- ext/facter/facter/acceptance/tests/options/config_file/load_from_ruby.rb
|
255
|
+
- ext/facter/facter/acceptance/tests/options/config_file/log_level.rb
|
256
|
+
- ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_custom_dir.rb
|
257
|
+
- ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_facterlib.rb
|
258
|
+
- ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_load_path.rb
|
259
|
+
- ext/facter/facter/acceptance/tests/options/config_file/no_external_facts.rb
|
260
|
+
- ext/facter/facter/acceptance/tests/options/config_file/no_external_facts_and_external_dir.rb
|
261
|
+
- ext/facter/facter/acceptance/tests/options/config_file/no_ruby_disables_custom_facts.rb
|
262
|
+
- ext/facter/facter/acceptance/tests/options/config_file/no_ruby_disables_ruby_facts.rb
|
263
|
+
- ext/facter/facter/acceptance/tests/options/config_file/trace.rb
|
264
|
+
- ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_clear_by_empty_ttls_cache_list.rb
|
265
|
+
- ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_creates_json_cache_file.rb
|
266
|
+
- ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_expire_facts_do_not_read_the_old_cached_value.rb
|
267
|
+
- ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_expire_facts_refresh_the_cached_value.rb
|
268
|
+
- ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_read_from_the_cached_value.rb
|
269
|
+
- ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_that_are_corrupt_are_refreshed.rb
|
270
|
+
- ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_that_are_empty_return_an_empty_value.rb
|
271
|
+
- ext/facter/facter/acceptance/tests/options/config_file/ttls_puppet_facts_creates_json_for_cached_facts.rb
|
272
|
+
- ext/facter/facter/acceptance/tests/options/config_file/ttls_puppet_facts_honors_cached_facts.rb
|
273
|
+
- ext/facter/facter/acceptance/tests/options/config_file/verbose.rb
|
274
|
+
- ext/facter/facter/acceptance/tests/options/custom_facts.rb
|
275
|
+
- ext/facter/facter/acceptance/tests/options/custom_facts_facterlib.rb
|
276
|
+
- ext/facter/facter/acceptance/tests/options/custom_facts_list.rb
|
277
|
+
- ext/facter/facter/acceptance/tests/options/custom_facts_load_path.rb
|
278
|
+
- ext/facter/facter/acceptance/tests/options/debug.rb
|
279
|
+
- ext/facter/facter/acceptance/tests/options/external_facts.rb
|
280
|
+
- ext/facter/facter/acceptance/tests/options/external_facts_list.rb
|
281
|
+
- ext/facter/facter/acceptance/tests/options/help.rb
|
282
|
+
- ext/facter/facter/acceptance/tests/options/json.rb
|
283
|
+
- ext/facter/facter/acceptance/tests/options/list_block_groups.rb
|
284
|
+
- ext/facter/facter/acceptance/tests/options/list_cache_groups.rb
|
285
|
+
- ext/facter/facter/acceptance/tests/options/log_level.rb
|
286
|
+
- ext/facter/facter/acceptance/tests/options/no_block.rb
|
287
|
+
- ext/facter/facter/acceptance/tests/options/no_cache_should_not_cache_facts.rb
|
288
|
+
- ext/facter/facter/acceptance/tests/options/no_cache_should_not_load_cached_facts.rb
|
289
|
+
- ext/facter/facter/acceptance/tests/options/no_cache_should_not_refresh_cached_facts.rb
|
290
|
+
- ext/facter/facter/acceptance/tests/options/no_color.rb
|
291
|
+
- ext/facter/facter/acceptance/tests/options/no_custom_facts.rb
|
292
|
+
- ext/facter/facter/acceptance/tests/options/no_custom_facts_and_custom_dir.rb
|
293
|
+
- ext/facter/facter/acceptance/tests/options/no_custom_facts_and_facterlib.rb
|
294
|
+
- ext/facter/facter/acceptance/tests/options/no_custom_facts_and_load_path.rb
|
295
|
+
- ext/facter/facter/acceptance/tests/options/no_external_facts.rb
|
296
|
+
- ext/facter/facter/acceptance/tests/options/no_external_facts_and_external_dir.rb
|
297
|
+
- ext/facter/facter/acceptance/tests/options/no_ruby.rb
|
298
|
+
- ext/facter/facter/acceptance/tests/options/puppet_facts.rb
|
299
|
+
- ext/facter/facter/acceptance/tests/options/show_legacy.rb
|
300
|
+
- ext/facter/facter/acceptance/tests/options/strict.rb
|
301
|
+
- ext/facter/facter/acceptance/tests/options/trace.rb
|
302
|
+
- ext/facter/facter/acceptance/tests/options/verbose.rb
|
303
|
+
- ext/facter/facter/acceptance/tests/options/version.rb
|
304
|
+
- ext/facter/facter/acceptance/tests/options/yaml.rb
|
305
|
+
- ext/facter/facter/acceptance/tests/ticket_1123_facter_with_invalid_locale.rb
|
306
|
+
- ext/facter/facter/acceptance/tests/ticket_1238_hostname_fqdn.rb
|
307
|
+
- ext/facter/facter/appveyor.yml
|
308
|
+
- ext/facter/facter/cmake/FindBLKID.cmake
|
309
|
+
- ext/facter/facter/cmake/FindCPPHOCON.cmake
|
310
|
+
- ext/facter/facter/cmake/FindDependency.cmake
|
311
|
+
- ext/facter/facter/cmake/FindOPENSSL.cmake
|
312
|
+
- ext/facter/facter/cmake/FindRuby.cmake
|
313
|
+
- ext/facter/facter/cmake/FindWHEREAMI.cmake
|
314
|
+
- ext/facter/facter/cmake/FindYAMLCPP.cmake
|
315
|
+
- ext/facter/facter/contrib/dockerfiles/travis-cpp-builder/Dockerfile
|
316
|
+
- ext/facter/facter/contrib/dockerfiles/travis-facter-builder/Dockerfile
|
317
|
+
- ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/Dockerfile
|
318
|
+
- ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/_coverity-submit.erb
|
319
|
+
- ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/fix_curl_command.patch
|
320
|
+
- ext/facter/facter/exe/CMakeLists.txt
|
321
|
+
- ext/facter/facter/exe/facter.cc
|
322
|
+
- ext/facter/facter/ext/build_defaults.yaml
|
323
|
+
- ext/facter/facter/ext/debian/changelog.erb
|
324
|
+
- ext/facter/facter/ext/debian/compat
|
325
|
+
- ext/facter/facter/ext/debian/control
|
326
|
+
- ext/facter/facter/ext/debian/copyright
|
327
|
+
- ext/facter/facter/ext/debian/docs
|
328
|
+
- ext/facter/facter/ext/debian/facter.install
|
329
|
+
- ext/facter/facter/ext/debian/lintian-overrides
|
330
|
+
- ext/facter/facter/ext/debian/rules
|
331
|
+
- ext/facter/facter/ext/debian/source/format
|
332
|
+
- ext/facter/facter/ext/project_data.yaml
|
333
|
+
- ext/facter/facter/ext/redhat/facter.spec.erb
|
334
|
+
- ext/facter/facter/ext/windows/facter.bat
|
335
|
+
- ext/facter/facter/ext/windows/facter_interactive.bat
|
336
|
+
- ext/facter/facter/ext/windows/run_facter_interactive.bat
|
337
|
+
- ext/facter/facter/factergo/example/main.go
|
338
|
+
- ext/facter/facter/factergo/facter.go
|
339
|
+
- ext/facter/facter/factergo/facter_test.go
|
340
|
+
- ext/facter/facter/lib/CMakeLists.txt
|
341
|
+
- ext/facter/facter/lib/Doxyfile
|
342
|
+
- ext/facter/facter/lib/Facter.java.in
|
343
|
+
- ext/facter/facter/lib/Gemfile
|
344
|
+
- ext/facter/facter/lib/Rakefile
|
345
|
+
- ext/facter/facter/lib/docs/generate.rb
|
346
|
+
- ext/facter/facter/lib/docs/namespaces.dox
|
347
|
+
- ext/facter/facter/lib/docs/template.erb
|
348
|
+
- ext/facter/facter/lib/facter.rb.in
|
349
|
+
- ext/facter/facter/lib/gemspec.in
|
350
|
+
- ext/facter/facter/lib/inc/facter/cwrapper.hpp
|
351
|
+
- ext/facter/facter/lib/inc/facter/facts/array_value.hpp
|
352
|
+
- ext/facter/facter/lib/inc/facter/facts/collection.hpp
|
353
|
+
- ext/facter/facter/lib/inc/facter/facts/external/resolver.hpp
|
354
|
+
- ext/facter/facter/lib/inc/facter/facts/fact.hpp
|
355
|
+
- ext/facter/facter/lib/inc/facter/facts/map_value.hpp
|
356
|
+
- ext/facter/facter/lib/inc/facter/facts/os.hpp
|
357
|
+
- ext/facter/facter/lib/inc/facter/facts/os_family.hpp
|
358
|
+
- ext/facter/facter/lib/inc/facter/facts/resolver.hpp
|
359
|
+
- ext/facter/facter/lib/inc/facter/facts/scalar_value.hpp
|
360
|
+
- ext/facter/facter/lib/inc/facter/facts/value.hpp
|
361
|
+
- ext/facter/facter/lib/inc/facter/facts/vm.hpp
|
362
|
+
- ext/facter/facter/lib/inc/facter/logging/logging.hpp
|
363
|
+
- ext/facter/facter/lib/inc/facter/ruby/ruby.hpp
|
364
|
+
- ext/facter/facter/lib/inc/facter/util/config.hpp
|
365
|
+
- ext/facter/facter/lib/inc/facter/util/string.hpp
|
366
|
+
- ext/facter/facter/lib/inc/internal/facts/aix/disk_resolver.hpp
|
367
|
+
- ext/facter/facter/lib/inc/internal/facts/aix/filesystem_resolver.hpp
|
368
|
+
- ext/facter/facter/lib/inc/internal/facts/aix/kernel_resolver.hpp
|
369
|
+
- ext/facter/facter/lib/inc/internal/facts/aix/memory_resolver.hpp
|
370
|
+
- ext/facter/facter/lib/inc/internal/facts/aix/networking_resolver.hpp
|
371
|
+
- ext/facter/facter/lib/inc/internal/facts/aix/operating_system_resolver.hpp
|
372
|
+
- ext/facter/facter/lib/inc/internal/facts/aix/processor_resolver.hpp
|
373
|
+
- ext/facter/facter/lib/inc/internal/facts/aix/serial_number_resolver.hpp
|
374
|
+
- ext/facter/facter/lib/inc/internal/facts/bsd/filesystem_resolver.hpp
|
375
|
+
- ext/facter/facter/lib/inc/internal/facts/bsd/networking_resolver.hpp
|
376
|
+
- ext/facter/facter/lib/inc/internal/facts/bsd/uptime_resolver.hpp
|
377
|
+
- ext/facter/facter/lib/inc/internal/facts/cache.hpp
|
378
|
+
- ext/facter/facter/lib/inc/internal/facts/external/execution_resolver.hpp
|
379
|
+
- ext/facter/facter/lib/inc/internal/facts/external/json_resolver.hpp
|
380
|
+
- ext/facter/facter/lib/inc/internal/facts/external/text_resolver.hpp
|
381
|
+
- ext/facter/facter/lib/inc/internal/facts/external/windows/powershell_resolver.hpp
|
382
|
+
- ext/facter/facter/lib/inc/internal/facts/external/yaml_resolver.hpp
|
383
|
+
- ext/facter/facter/lib/inc/internal/facts/freebsd/dmi_resolver.hpp
|
384
|
+
- ext/facter/facter/lib/inc/internal/facts/freebsd/memory_resolver.hpp
|
385
|
+
- ext/facter/facter/lib/inc/internal/facts/freebsd/networking_resolver.hpp
|
386
|
+
- ext/facter/facter/lib/inc/internal/facts/freebsd/operating_system_resolver.hpp
|
387
|
+
- ext/facter/facter/lib/inc/internal/facts/freebsd/processor_resolver.hpp
|
388
|
+
- ext/facter/facter/lib/inc/internal/facts/freebsd/virtualization_resolver.hpp
|
389
|
+
- ext/facter/facter/lib/inc/internal/facts/freebsd/zfs_resolver.hpp
|
390
|
+
- ext/facter/facter/lib/inc/internal/facts/freebsd/zpool_resolver.hpp
|
391
|
+
- ext/facter/facter/lib/inc/internal/facts/glib/load_average_resolver.hpp
|
392
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/disk_resolver.hpp
|
393
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/dmi_resolver.hpp
|
394
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/filesystem_resolver.hpp
|
395
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/fips_resolver.hpp
|
396
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp
|
397
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/memory_resolver.hpp
|
398
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/networking_resolver.hpp
|
399
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/operating_system_resolver.hpp
|
400
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/os_cisco.hpp
|
401
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/os_coreos.hpp
|
402
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/os_cumulus.hpp
|
403
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/os_linux.hpp
|
404
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/processor_resolver.hpp
|
405
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/release_file.hpp
|
406
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/uptime_resolver.hpp
|
407
|
+
- ext/facter/facter/lib/inc/internal/facts/linux/virtualization_resolver.hpp
|
408
|
+
- ext/facter/facter/lib/inc/internal/facts/openbsd/dmi_resolver.hpp
|
409
|
+
- ext/facter/facter/lib/inc/internal/facts/openbsd/memory_resolver.hpp
|
410
|
+
- ext/facter/facter/lib/inc/internal/facts/openbsd/networking_resolver.hpp
|
411
|
+
- ext/facter/facter/lib/inc/internal/facts/openbsd/processor_resolver.hpp
|
412
|
+
- ext/facter/facter/lib/inc/internal/facts/openbsd/virtualization_resolver.hpp
|
413
|
+
- ext/facter/facter/lib/inc/internal/facts/osx/dmi_resolver.hpp
|
414
|
+
- ext/facter/facter/lib/inc/internal/facts/osx/memory_resolver.hpp
|
415
|
+
- ext/facter/facter/lib/inc/internal/facts/osx/networking_resolver.hpp
|
416
|
+
- ext/facter/facter/lib/inc/internal/facts/osx/operating_system_resolver.hpp
|
417
|
+
- ext/facter/facter/lib/inc/internal/facts/osx/processor_resolver.hpp
|
418
|
+
- ext/facter/facter/lib/inc/internal/facts/osx/system_profiler_resolver.hpp
|
419
|
+
- ext/facter/facter/lib/inc/internal/facts/osx/virtualization_resolver.hpp
|
420
|
+
- ext/facter/facter/lib/inc/internal/facts/posix/identity_resolver.hpp
|
421
|
+
- ext/facter/facter/lib/inc/internal/facts/posix/kernel_resolver.hpp
|
422
|
+
- ext/facter/facter/lib/inc/internal/facts/posix/networking_resolver.hpp
|
423
|
+
- ext/facter/facter/lib/inc/internal/facts/posix/operating_system_resolver.hpp
|
424
|
+
- ext/facter/facter/lib/inc/internal/facts/posix/processor_resolver.hpp
|
425
|
+
- ext/facter/facter/lib/inc/internal/facts/posix/ssh_resolver.hpp
|
426
|
+
- ext/facter/facter/lib/inc/internal/facts/posix/timezone_resolver.hpp
|
427
|
+
- ext/facter/facter/lib/inc/internal/facts/posix/uptime_resolver.hpp
|
428
|
+
- ext/facter/facter/lib/inc/internal/facts/posix/xen_resolver.hpp
|
429
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/augeas_resolver.hpp
|
430
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/disk_resolver.hpp
|
431
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/dmi_resolver.hpp
|
432
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/ec2_resolver.hpp
|
433
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/filesystem_resolver.hpp
|
434
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/fips_resolver.hpp
|
435
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/gce_resolver.hpp
|
436
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/hypervisors_resolver.hpp
|
437
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/identity_resolver.hpp
|
438
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/kernel_resolver.hpp
|
439
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/ldom_resolver.hpp
|
440
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/load_average_resolver.hpp
|
441
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/memory_resolver.hpp
|
442
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/networking_resolver.hpp
|
443
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/operating_system_resolver.hpp
|
444
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/path_resolver.hpp
|
445
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/processor_resolver.hpp
|
446
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/ruby_resolver.hpp
|
447
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/ssh_resolver.hpp
|
448
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/system_profiler_resolver.hpp
|
449
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/timezone_resolver.hpp
|
450
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/uptime_resolver.hpp
|
451
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/virtualization_resolver.hpp
|
452
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/xen_resolver.hpp
|
453
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/zfs_resolver.hpp
|
454
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/zone_resolver.hpp
|
455
|
+
- ext/facter/facter/lib/inc/internal/facts/resolvers/zpool_resolver.hpp
|
456
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/disk_resolver.hpp
|
457
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/dmi_resolver.hpp
|
458
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/filesystem_resolver.hpp
|
459
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/kernel_resolver.hpp
|
460
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/ldom_resolver.hpp
|
461
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/memory_resolver.hpp
|
462
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/networking_resolver.hpp
|
463
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/operating_system_resolver.hpp
|
464
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/processor_resolver.hpp
|
465
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/virtualization_resolver.hpp
|
466
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/zfs_resolver.hpp
|
467
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/zone_resolver.hpp
|
468
|
+
- ext/facter/facter/lib/inc/internal/facts/solaris/zpool_resolver.hpp
|
469
|
+
- ext/facter/facter/lib/inc/internal/facts/windows/dmi_resolver.hpp
|
470
|
+
- ext/facter/facter/lib/inc/internal/facts/windows/identity_resolver.hpp
|
471
|
+
- ext/facter/facter/lib/inc/internal/facts/windows/kernel_resolver.hpp
|
472
|
+
- ext/facter/facter/lib/inc/internal/facts/windows/memory_resolver.hpp
|
473
|
+
- ext/facter/facter/lib/inc/internal/facts/windows/networking_resolver.hpp
|
474
|
+
- ext/facter/facter/lib/inc/internal/facts/windows/operating_system_resolver.hpp
|
475
|
+
- ext/facter/facter/lib/inc/internal/facts/windows/processor_resolver.hpp
|
476
|
+
- ext/facter/facter/lib/inc/internal/facts/windows/timezone_resolver.hpp
|
477
|
+
- ext/facter/facter/lib/inc/internal/facts/windows/uptime_resolver.hpp
|
478
|
+
- ext/facter/facter/lib/inc/internal/facts/windows/virtualization_resolver.hpp
|
479
|
+
- ext/facter/facter/lib/inc/internal/ruby/aggregate_resolution.hpp
|
480
|
+
- ext/facter/facter/lib/inc/internal/ruby/chunk.hpp
|
481
|
+
- ext/facter/facter/lib/inc/internal/ruby/confine.hpp
|
482
|
+
- ext/facter/facter/lib/inc/internal/ruby/fact.hpp
|
483
|
+
- ext/facter/facter/lib/inc/internal/ruby/module.hpp
|
484
|
+
- ext/facter/facter/lib/inc/internal/ruby/resolution.hpp
|
485
|
+
- ext/facter/facter/lib/inc/internal/ruby/ruby_value.hpp
|
486
|
+
- ext/facter/facter/lib/inc/internal/ruby/simple_resolution.hpp
|
487
|
+
- ext/facter/facter/lib/inc/internal/util/agent.hpp
|
488
|
+
- ext/facter/facter/lib/inc/internal/util/aix/odm.hpp
|
489
|
+
- ext/facter/facter/lib/inc/internal/util/aix/vmount.hpp
|
490
|
+
- ext/facter/facter/lib/inc/internal/util/bsd/scoped_ifaddrs.hpp
|
491
|
+
- ext/facter/facter/lib/inc/internal/util/posix/scoped_addrinfo.hpp
|
492
|
+
- ext/facter/facter/lib/inc/internal/util/posix/scoped_bio.hpp
|
493
|
+
- ext/facter/facter/lib/inc/internal/util/posix/scoped_descriptor.hpp
|
494
|
+
- ext/facter/facter/lib/inc/internal/util/scoped_file.hpp
|
495
|
+
- ext/facter/facter/lib/inc/internal/util/solaris/k_stat.hpp
|
496
|
+
- ext/facter/facter/lib/inc/internal/util/solaris/scoped_kstat.hpp
|
497
|
+
- ext/facter/facter/lib/inc/internal/util/versions.hpp
|
498
|
+
- ext/facter/facter/lib/inc/internal/util/windows/wsa.hpp
|
499
|
+
- ext/facter/facter/lib/inc/internal/util/yaml.hpp
|
500
|
+
- ext/facter/facter/lib/schema/core_facts.pot
|
501
|
+
- ext/facter/facter/lib/schema/facter.yaml
|
502
|
+
- ext/facter/facter/lib/schema/translation_tooling.rb
|
503
|
+
- ext/facter/facter/lib/spec/unit/facter_spec.rb
|
504
|
+
- ext/facter/facter/lib/spec_helper.rb.in
|
505
|
+
- ext/facter/facter/lib/src/cwrapper.cc
|
506
|
+
- ext/facter/facter/lib/src/facts/aix/collection.cc
|
507
|
+
- ext/facter/facter/lib/src/facts/aix/disk_resolver.cc
|
508
|
+
- ext/facter/facter/lib/src/facts/aix/filesystem_resolver.cc
|
509
|
+
- ext/facter/facter/lib/src/facts/aix/kernel_resolver.cc
|
510
|
+
- ext/facter/facter/lib/src/facts/aix/memory_resolver.cc
|
511
|
+
- ext/facter/facter/lib/src/facts/aix/networking_resolver.cc
|
512
|
+
- ext/facter/facter/lib/src/facts/aix/operating_system_resolver.cc
|
513
|
+
- ext/facter/facter/lib/src/facts/aix/processor_resolver.cc
|
514
|
+
- ext/facter/facter/lib/src/facts/aix/serial_number_resolver.cc
|
515
|
+
- ext/facter/facter/lib/src/facts/array_value.cc
|
516
|
+
- ext/facter/facter/lib/src/facts/bsd/collection.cc
|
517
|
+
- ext/facter/facter/lib/src/facts/bsd/filesystem_resolver.cc
|
518
|
+
- ext/facter/facter/lib/src/facts/bsd/networking_resolver.cc
|
519
|
+
- ext/facter/facter/lib/src/facts/bsd/uptime_resolver.cc
|
520
|
+
- ext/facter/facter/lib/src/facts/cache.cc
|
521
|
+
- ext/facter/facter/lib/src/facts/collection.cc
|
522
|
+
- ext/facter/facter/lib/src/facts/external/execution_resolver.cc
|
523
|
+
- ext/facter/facter/lib/src/facts/external/json_resolver.cc
|
524
|
+
- ext/facter/facter/lib/src/facts/external/resolver.cc
|
525
|
+
- ext/facter/facter/lib/src/facts/external/text_resolver.cc
|
526
|
+
- ext/facter/facter/lib/src/facts/external/windows/powershell_resolver.cc
|
527
|
+
- ext/facter/facter/lib/src/facts/external/yaml_resolver.cc
|
528
|
+
- ext/facter/facter/lib/src/facts/freebsd/collection.cc
|
529
|
+
- ext/facter/facter/lib/src/facts/freebsd/dmi_resolver.cc
|
530
|
+
- ext/facter/facter/lib/src/facts/freebsd/memory_resolver.cc
|
531
|
+
- ext/facter/facter/lib/src/facts/freebsd/networking_resolver.cc
|
532
|
+
- ext/facter/facter/lib/src/facts/freebsd/operating_system_resolver.cc
|
533
|
+
- ext/facter/facter/lib/src/facts/freebsd/processor_resolver.cc
|
534
|
+
- ext/facter/facter/lib/src/facts/freebsd/virtualization_resolver.cc
|
535
|
+
- ext/facter/facter/lib/src/facts/freebsd/zfs_resolver.cc
|
536
|
+
- ext/facter/facter/lib/src/facts/freebsd/zpool_resolver.cc
|
537
|
+
- ext/facter/facter/lib/src/facts/glib/load_average_resolver.cc
|
538
|
+
- ext/facter/facter/lib/src/facts/linux/collection.cc
|
539
|
+
- ext/facter/facter/lib/src/facts/linux/disk_resolver.cc
|
540
|
+
- ext/facter/facter/lib/src/facts/linux/dmi_resolver.cc
|
541
|
+
- ext/facter/facter/lib/src/facts/linux/filesystem_resolver.cc
|
542
|
+
- ext/facter/facter/lib/src/facts/linux/fips_resolver.cc
|
543
|
+
- ext/facter/facter/lib/src/facts/linux/kernel_resolver.cc
|
544
|
+
- ext/facter/facter/lib/src/facts/linux/memory_resolver.cc
|
545
|
+
- ext/facter/facter/lib/src/facts/linux/networking_resolver.cc
|
546
|
+
- ext/facter/facter/lib/src/facts/linux/operating_system_resolver.cc
|
547
|
+
- ext/facter/facter/lib/src/facts/linux/os_linux.cc
|
548
|
+
- ext/facter/facter/lib/src/facts/linux/processor_resolver.cc
|
549
|
+
- ext/facter/facter/lib/src/facts/linux/uptime_resolver.cc
|
550
|
+
- ext/facter/facter/lib/src/facts/linux/virtualization_resolver.cc
|
551
|
+
- ext/facter/facter/lib/src/facts/map_value.cc
|
552
|
+
- ext/facter/facter/lib/src/facts/openbsd/collection.cc
|
553
|
+
- ext/facter/facter/lib/src/facts/openbsd/dmi_resolver.cc
|
554
|
+
- ext/facter/facter/lib/src/facts/openbsd/memory_resolver.cc
|
555
|
+
- ext/facter/facter/lib/src/facts/openbsd/networking_resolver.cc
|
556
|
+
- ext/facter/facter/lib/src/facts/openbsd/processor_resolver.cc
|
557
|
+
- ext/facter/facter/lib/src/facts/openbsd/virtualization_resolver.cc
|
558
|
+
- ext/facter/facter/lib/src/facts/osx/collection.cc
|
559
|
+
- ext/facter/facter/lib/src/facts/osx/dmi_resolver.cc
|
560
|
+
- ext/facter/facter/lib/src/facts/osx/memory_resolver.cc
|
561
|
+
- ext/facter/facter/lib/src/facts/osx/networking_resolver.cc
|
562
|
+
- ext/facter/facter/lib/src/facts/osx/operating_system_resolver.cc
|
563
|
+
- ext/facter/facter/lib/src/facts/osx/processor_resolver.cc
|
564
|
+
- ext/facter/facter/lib/src/facts/osx/system_profiler_resolver.cc
|
565
|
+
- ext/facter/facter/lib/src/facts/osx/virtualization_resolver.cc
|
566
|
+
- ext/facter/facter/lib/src/facts/posix/cache.cc
|
567
|
+
- ext/facter/facter/lib/src/facts/posix/collection.cc
|
568
|
+
- ext/facter/facter/lib/src/facts/posix/identity_resolver.cc
|
569
|
+
- ext/facter/facter/lib/src/facts/posix/kernel_resolver.cc
|
570
|
+
- ext/facter/facter/lib/src/facts/posix/networking_resolver.cc
|
571
|
+
- ext/facter/facter/lib/src/facts/posix/operatingsystem_resolver.cc
|
572
|
+
- ext/facter/facter/lib/src/facts/posix/processor_resolver.cc
|
573
|
+
- ext/facter/facter/lib/src/facts/posix/ssh_resolver.cc
|
574
|
+
- ext/facter/facter/lib/src/facts/posix/timezone_resolver.cc
|
575
|
+
- ext/facter/facter/lib/src/facts/posix/uptime_resolver.cc
|
576
|
+
- ext/facter/facter/lib/src/facts/posix/xen_resolver.cc
|
577
|
+
- ext/facter/facter/lib/src/facts/resolver.cc
|
578
|
+
- ext/facter/facter/lib/src/facts/resolvers/augeas_resolver.cc
|
579
|
+
- ext/facter/facter/lib/src/facts/resolvers/disk_resolver.cc
|
580
|
+
- ext/facter/facter/lib/src/facts/resolvers/dmi_resolver.cc
|
581
|
+
- ext/facter/facter/lib/src/facts/resolvers/ec2_resolver.cc
|
582
|
+
- ext/facter/facter/lib/src/facts/resolvers/filesystem_resolver.cc
|
583
|
+
- ext/facter/facter/lib/src/facts/resolvers/fips_resolver.cc
|
584
|
+
- ext/facter/facter/lib/src/facts/resolvers/gce_resolver.cc
|
585
|
+
- ext/facter/facter/lib/src/facts/resolvers/hypervisors_resolver.cc
|
586
|
+
- ext/facter/facter/lib/src/facts/resolvers/identity_resolver.cc
|
587
|
+
- ext/facter/facter/lib/src/facts/resolvers/kernel_resolver.cc
|
588
|
+
- ext/facter/facter/lib/src/facts/resolvers/ldom_resolver.cc
|
589
|
+
- ext/facter/facter/lib/src/facts/resolvers/load_average_resolver.cc
|
590
|
+
- ext/facter/facter/lib/src/facts/resolvers/memory_resolver.cc
|
591
|
+
- ext/facter/facter/lib/src/facts/resolvers/networking_resolver.cc
|
592
|
+
- ext/facter/facter/lib/src/facts/resolvers/operating_system_resolver.cc
|
593
|
+
- ext/facter/facter/lib/src/facts/resolvers/path_resolver.cc
|
594
|
+
- ext/facter/facter/lib/src/facts/resolvers/processor_resolver.cc
|
595
|
+
- ext/facter/facter/lib/src/facts/resolvers/ruby_resolver.cc
|
596
|
+
- ext/facter/facter/lib/src/facts/resolvers/ssh_resolver.cc
|
597
|
+
- ext/facter/facter/lib/src/facts/resolvers/system_profiler_resolver.cc
|
598
|
+
- ext/facter/facter/lib/src/facts/resolvers/timezone_resolver.cc
|
599
|
+
- ext/facter/facter/lib/src/facts/resolvers/uptime_resolver.cc
|
600
|
+
- ext/facter/facter/lib/src/facts/resolvers/virtualization_resolver.cc
|
601
|
+
- ext/facter/facter/lib/src/facts/resolvers/xen_resolver.cc
|
602
|
+
- ext/facter/facter/lib/src/facts/resolvers/zfs_resolver.cc
|
603
|
+
- ext/facter/facter/lib/src/facts/resolvers/zone_resolver.cc
|
604
|
+
- ext/facter/facter/lib/src/facts/resolvers/zpool_resolver.cc
|
605
|
+
- ext/facter/facter/lib/src/facts/scalar_value.cc
|
606
|
+
- ext/facter/facter/lib/src/facts/solaris/collection.cc
|
607
|
+
- ext/facter/facter/lib/src/facts/solaris/disk_resolver.cc
|
608
|
+
- ext/facter/facter/lib/src/facts/solaris/dmi_resolver.cc
|
609
|
+
- ext/facter/facter/lib/src/facts/solaris/filesystem_resolver.cc
|
610
|
+
- ext/facter/facter/lib/src/facts/solaris/kernel_resolver.cc
|
611
|
+
- ext/facter/facter/lib/src/facts/solaris/ldom_resolver.cc
|
612
|
+
- ext/facter/facter/lib/src/facts/solaris/memory_resolver.cc
|
613
|
+
- ext/facter/facter/lib/src/facts/solaris/networking_resolver.cc
|
614
|
+
- ext/facter/facter/lib/src/facts/solaris/operating_system_resolver.cc
|
615
|
+
- ext/facter/facter/lib/src/facts/solaris/processor_resolver.cc
|
616
|
+
- ext/facter/facter/lib/src/facts/solaris/virtualization_resolver.cc
|
617
|
+
- ext/facter/facter/lib/src/facts/solaris/zfs_resolver.cc
|
618
|
+
- ext/facter/facter/lib/src/facts/solaris/zone_resolver.cc
|
619
|
+
- ext/facter/facter/lib/src/facts/solaris/zpool_resolver.cc
|
620
|
+
- ext/facter/facter/lib/src/facts/windows/cache.cc
|
621
|
+
- ext/facter/facter/lib/src/facts/windows/collection.cc
|
622
|
+
- ext/facter/facter/lib/src/facts/windows/dmi_resolver.cc
|
623
|
+
- ext/facter/facter/lib/src/facts/windows/identity_resolver.cc
|
624
|
+
- ext/facter/facter/lib/src/facts/windows/kernel_resolver.cc
|
625
|
+
- ext/facter/facter/lib/src/facts/windows/memory_resolver.cc
|
626
|
+
- ext/facter/facter/lib/src/facts/windows/networking_resolver.cc
|
627
|
+
- ext/facter/facter/lib/src/facts/windows/operating_system_resolver.cc
|
628
|
+
- ext/facter/facter/lib/src/facts/windows/processor_resolver.cc
|
629
|
+
- ext/facter/facter/lib/src/facts/windows/timezone_resolver.cc
|
630
|
+
- ext/facter/facter/lib/src/facts/windows/uptime_resolver.cc
|
631
|
+
- ext/facter/facter/lib/src/facts/windows/virtualization_resolver.cc
|
632
|
+
- ext/facter/facter/lib/src/java/facter.cc
|
633
|
+
- ext/facter/facter/lib/src/logging/logging.cc
|
634
|
+
- ext/facter/facter/lib/src/ruby/aggregate_resolution.cc
|
635
|
+
- ext/facter/facter/lib/src/ruby/chunk.cc
|
636
|
+
- ext/facter/facter/lib/src/ruby/confine.cc
|
637
|
+
- ext/facter/facter/lib/src/ruby/fact.cc
|
638
|
+
- ext/facter/facter/lib/src/ruby/module.cc
|
639
|
+
- ext/facter/facter/lib/src/ruby/resolution.cc
|
640
|
+
- ext/facter/facter/lib/src/ruby/ruby.cc
|
641
|
+
- ext/facter/facter/lib/src/ruby/ruby_value.cc
|
642
|
+
- ext/facter/facter/lib/src/ruby/simple_resolution.cc
|
643
|
+
- ext/facter/facter/lib/src/util/bsd/scoped_ifaddrs.cc
|
644
|
+
- ext/facter/facter/lib/src/util/config/config.cc
|
645
|
+
- ext/facter/facter/lib/src/util/config/posix/config.cc
|
646
|
+
- ext/facter/facter/lib/src/util/config/windows/config.cc
|
647
|
+
- ext/facter/facter/lib/src/util/posix/scoped_addrinfo.cc
|
648
|
+
- ext/facter/facter/lib/src/util/posix/scoped_bio.cc
|
649
|
+
- ext/facter/facter/lib/src/util/posix/scoped_descriptor.cc
|
650
|
+
- ext/facter/facter/lib/src/util/scoped_file.cc
|
651
|
+
- ext/facter/facter/lib/src/util/solaris/k_stat.cc
|
652
|
+
- ext/facter/facter/lib/src/util/solaris/scoped_kstat.cc
|
653
|
+
- ext/facter/facter/lib/src/util/string.cc
|
654
|
+
- ext/facter/facter/lib/src/util/windows/wsa.cc
|
655
|
+
- ext/facter/facter/lib/src/util/yaml.cc
|
656
|
+
- ext/facter/facter/lib/tasks/spec.rake
|
657
|
+
- ext/facter/facter/lib/tests/CMakeLists.txt
|
658
|
+
- ext/facter/facter/lib/tests/collection_fixture.cc
|
659
|
+
- ext/facter/facter/lib/tests/collection_fixture.hpp
|
660
|
+
- ext/facter/facter/lib/tests/cwrapper.cc
|
661
|
+
- ext/facter/facter/lib/tests/facts/array_value.cc
|
662
|
+
- ext/facter/facter/lib/tests/facts/boolean_value.cc
|
663
|
+
- ext/facter/facter/lib/tests/facts/cache.cc
|
664
|
+
- ext/facter/facter/lib/tests/facts/collection.cc
|
665
|
+
- ext/facter/facter/lib/tests/facts/double_value.cc
|
666
|
+
- ext/facter/facter/lib/tests/facts/external/json_resolver.cc
|
667
|
+
- ext/facter/facter/lib/tests/facts/external/posix/execution_resolver.cc
|
668
|
+
- ext/facter/facter/lib/tests/facts/external/text_resolver.cc
|
669
|
+
- ext/facter/facter/lib/tests/facts/external/windows/execution_resolver.cc
|
670
|
+
- ext/facter/facter/lib/tests/facts/external/windows/powershell_resolver.cc
|
671
|
+
- ext/facter/facter/lib/tests/facts/external/yaml_resolver.cc
|
672
|
+
- ext/facter/facter/lib/tests/facts/integer_value.cc
|
673
|
+
- ext/facter/facter/lib/tests/facts/linux/dmi_resolver.cc
|
674
|
+
- ext/facter/facter/lib/tests/facts/linux/filesystem_resolver.cc
|
675
|
+
- ext/facter/facter/lib/tests/facts/linux/processor_fixture.cc
|
676
|
+
- ext/facter/facter/lib/tests/facts/linux/processor_fixture.hpp
|
677
|
+
- ext/facter/facter/lib/tests/facts/linux/processor_resolver.cc
|
678
|
+
- ext/facter/facter/lib/tests/facts/linux/virtualization_resolver.cc
|
679
|
+
- ext/facter/facter/lib/tests/facts/map_value.cc
|
680
|
+
- ext/facter/facter/lib/tests/facts/posix/collection.cc
|
681
|
+
- ext/facter/facter/lib/tests/facts/posix/uptime_resolver.cc
|
682
|
+
- ext/facter/facter/lib/tests/facts/resolvers/augeas_resolver.cc
|
683
|
+
- ext/facter/facter/lib/tests/facts/resolvers/disk_resolver.cc
|
684
|
+
- ext/facter/facter/lib/tests/facts/resolvers/dmi_resolver.cc
|
685
|
+
- ext/facter/facter/lib/tests/facts/resolvers/filesystem_resolver.cc
|
686
|
+
- ext/facter/facter/lib/tests/facts/resolvers/identity_resolver.cc
|
687
|
+
- ext/facter/facter/lib/tests/facts/resolvers/kernel_resolver.cc
|
688
|
+
- ext/facter/facter/lib/tests/facts/resolvers/ldom_resolver.cc
|
689
|
+
- ext/facter/facter/lib/tests/facts/resolvers/memory_resolver.cc
|
690
|
+
- ext/facter/facter/lib/tests/facts/resolvers/networking_resolver.cc
|
691
|
+
- ext/facter/facter/lib/tests/facts/resolvers/operating_system_resolver.cc
|
692
|
+
- ext/facter/facter/lib/tests/facts/resolvers/processor_resolver.cc
|
693
|
+
- ext/facter/facter/lib/tests/facts/resolvers/ruby_resolver.cc
|
694
|
+
- ext/facter/facter/lib/tests/facts/resolvers/ssh_resolver.cc
|
695
|
+
- ext/facter/facter/lib/tests/facts/resolvers/system_profiler_resolver.cc
|
696
|
+
- ext/facter/facter/lib/tests/facts/resolvers/timezone_resolver.cc
|
697
|
+
- ext/facter/facter/lib/tests/facts/resolvers/uptime_resolver.cc
|
698
|
+
- ext/facter/facter/lib/tests/facts/resolvers/virtualization_resolver.cc
|
699
|
+
- ext/facter/facter/lib/tests/facts/resolvers/xen_resolver.cc
|
700
|
+
- ext/facter/facter/lib/tests/facts/resolvers/zfs_resolver.cc
|
701
|
+
- ext/facter/facter/lib/tests/facts/resolvers/zone_resolver.cc
|
702
|
+
- ext/facter/facter/lib/tests/facts/resolvers/zpool_resolver.cc
|
703
|
+
- ext/facter/facter/lib/tests/facts/schema.cc
|
704
|
+
- ext/facter/facter/lib/tests/facts/string_value.cc
|
705
|
+
- ext/facter/facter/lib/tests/facts/windows/collection.cc
|
706
|
+
- ext/facter/facter/lib/tests/facts/windows/networking_resolver.cc
|
707
|
+
- ext/facter/facter/lib/tests/fixtures.cc
|
708
|
+
- ext/facter/facter/lib/tests/fixtures.hpp.in
|
709
|
+
- ext/facter/facter/lib/tests/fixtures/execution/with space/command_with_space.bat
|
710
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/json/facts.json
|
711
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/json/invalid.json
|
712
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/ordering/bar/foo.yaml
|
713
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/ordering/foo/foo.yaml
|
714
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/error_message
|
715
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/facts
|
716
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/failed
|
717
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/not_executable
|
718
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/text/facts.txt
|
719
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/error_message.bat
|
720
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/facts.bat
|
721
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/failed.cmd
|
722
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/not_executable
|
723
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/ruby_script.rb
|
724
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/error_message.ps1
|
725
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/facts.ps1
|
726
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/failed.ps1
|
727
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/json.ps1
|
728
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/not_executable
|
729
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/yaml.ps1
|
730
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/yaml/facts.yaml
|
731
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/yaml/invalid.yaml
|
732
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/zö/facts.rb
|
733
|
+
- ext/facter/facter/lib/tests/fixtures/facts/external/zö/facts.txt
|
734
|
+
- ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/azure
|
735
|
+
- ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/azure-unknown
|
736
|
+
- ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/not-azure
|
737
|
+
- ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/full.txt
|
738
|
+
- ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/full_alternative.txt
|
739
|
+
- ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/none.txt
|
740
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/100_resolutions.rb
|
741
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/101_resolutions.rb
|
742
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/aggregate.rb
|
743
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/aggregate_invalid_require.rb
|
744
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_block.rb
|
745
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_cycle.rb
|
746
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_invalid_merge.rb
|
747
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_merge.rb
|
748
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_require.rb
|
749
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/array_confine.rb
|
750
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/array_fact.rb
|
751
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/bad_command.rb
|
752
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/bad_syntax.rb
|
753
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/bignum_fact_value.rb
|
754
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/block_confine.rb
|
755
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/block_false_confine.rb
|
756
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/block_nil_confine.rb
|
757
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/block_true_confine.rb
|
758
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/boolean_false_confine.rb
|
759
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/boolean_false_fact.rb
|
760
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/boolean_true_confine.rb
|
761
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/boolean_true_fact.rb
|
762
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/command_with_space.rb
|
763
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/confine_missing_fact.rb
|
764
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/confine_weight.rb
|
765
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/custom_dir/expect_network_init.rb
|
766
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/cycle.rb
|
767
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/debug.rb
|
768
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/debugging.rb
|
769
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/debugonce.rb
|
770
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/define_aggregate_fact.rb
|
771
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/define_fact.rb
|
772
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/double_fact.rb
|
773
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/empty_command.rb
|
774
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/empty_fact.rb
|
775
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/empty_fact_with_value.rb
|
776
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/empty_setcode_command.rb
|
777
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/exec.rb
|
778
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/execute_on_fail_raise.rb
|
779
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/execute_on_fail_value.rb
|
780
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/execute_timeout.rb
|
781
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/execution_failure.rb
|
782
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/existing_aggregate_resolution.rb
|
783
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/existing_simple_resolution.rb
|
784
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/fact.rb
|
785
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/facter.rb
|
786
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/facterversion.rb
|
787
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/hash_fact.rb
|
788
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/hash_with_non_string_key.rb
|
789
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/integer_fact.rb
|
790
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/log_exception.rb
|
791
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/lookup.rb
|
792
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/multi_confine.rb
|
793
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/named_resolution.rb
|
794
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/negative_number.rb
|
795
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/nil_fact.rb
|
796
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/nonexistent_command.rb
|
797
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/on_message.rb
|
798
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/range_confine.rb
|
799
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/regexp_confine.rb
|
800
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/ruby.rb
|
801
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/simple.rb
|
802
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/simple_command.rb
|
803
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/simple_confine.rb
|
804
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/simple_resolution.rb
|
805
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/single_allocation.rb
|
806
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/stderr_output.rb
|
807
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/string_fact.rb
|
808
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
|
809
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/trace.rb
|
810
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/uniᐁdir/customfacts™.rb
|
811
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/uses_exit_code.rb
|
812
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/value.rb
|
813
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/version.rb
|
814
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/warn.rb
|
815
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/warnonce.rb
|
816
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/weight.rb
|
817
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/weight_option.rb
|
818
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/which.rb
|
819
|
+
- ext/facter/facter/lib/tests/fixtures/ruby/windows/ole.rb
|
820
|
+
- ext/facter/facter/lib/tests/java/facter.cc
|
821
|
+
- ext/facter/facter/lib/tests/log_capture.cc
|
822
|
+
- ext/facter/facter/lib/tests/log_capture.hpp
|
823
|
+
- ext/facter/facter/lib/tests/logging/logging.cc
|
824
|
+
- ext/facter/facter/lib/tests/main.cc
|
825
|
+
- ext/facter/facter/lib/tests/mock_server.cc
|
826
|
+
- ext/facter/facter/lib/tests/mock_server.hpp
|
827
|
+
- ext/facter/facter/lib/tests/ruby/ruby.cc
|
828
|
+
- ext/facter/facter/lib/tests/ruby/ruby_dirfacts.cc
|
829
|
+
- ext/facter/facter/lib/tests/ruby/ruby_helper.cc
|
830
|
+
- ext/facter/facter/lib/tests/ruby/ruby_helper.hpp
|
831
|
+
- ext/facter/facter/lib/tests/ruby/windows/ruby.cc
|
832
|
+
- ext/facter/facter/lib/tests/util/bsd/scoped_ifaddrs.cc
|
833
|
+
- ext/facter/facter/lib/tests/util/posix/scoped_addrinfo.cc
|
834
|
+
- ext/facter/facter/lib/tests/util/posix/scoped_bio.cc
|
835
|
+
- ext/facter/facter/lib/tests/util/posix/scoped_descriptor.cc
|
836
|
+
- ext/facter/facter/lib/tests/util/string.cc
|
837
|
+
- ext/facter/facter/lib/version.h.in
|
838
|
+
- ext/facter/facter/locales/CMakeLists.txt
|
839
|
+
- ext/facter/facter/locales/FACTER.pot
|
840
|
+
- ext/facter/facter/man/man8/facter.8
|
841
|
+
- ext/facter/facter/scripts/cpplint.py
|
842
|
+
- ext/facter/facter/scripts/travis_target.sh
|
843
|
+
- ext/facter/facter/tasks/ci.rake
|
844
|
+
- ext/facter/leatherman/CHANGELOG.md
|
845
|
+
- ext/facter/leatherman/CMakeLists.txt
|
846
|
+
- ext/facter/leatherman/CONTRIBUTING.md
|
847
|
+
- ext/facter/leatherman/LICENSE
|
848
|
+
- ext/facter/leatherman/LeathermanConfig.cmake.in
|
849
|
+
- ext/facter/leatherman/LeathermanConfigVersion.cmake.in
|
850
|
+
- ext/facter/leatherman/MAINTAINERS
|
851
|
+
- ext/facter/leatherman/README.md
|
852
|
+
- ext/facter/leatherman/appveyor.yml
|
853
|
+
- ext/facter/leatherman/catch/CMakeLists.txt
|
854
|
+
- ext/facter/leatherman/cmake/FindICU.cmake
|
855
|
+
- ext/facter/leatherman/cmake/GetGitRevisionDescription.cmake
|
856
|
+
- ext/facter/leatherman/cmake/GetGitRevisionDescription.cmake.in
|
857
|
+
- ext/facter/leatherman/cmake/cflags.cmake
|
858
|
+
- ext/facter/leatherman/cmake/generate_translations.cmake
|
859
|
+
- ext/facter/leatherman/cmake/internal.cmake
|
860
|
+
- ext/facter/leatherman/cmake/leatherman.cmake.in
|
861
|
+
- ext/facter/leatherman/cmake/leatherman_config.cmake
|
862
|
+
- ext/facter/leatherman/cmake/normalize_pot.cmake
|
863
|
+
- ext/facter/leatherman/cmake/options.cmake
|
864
|
+
- ext/facter/leatherman/cmake/pod2man.cmake
|
865
|
+
- ext/facter/leatherman/curl/CMakeLists.txt
|
866
|
+
- ext/facter/leatherman/curl/inc/leatherman/curl/client.hpp
|
867
|
+
- ext/facter/leatherman/curl/inc/leatherman/curl/request.hpp
|
868
|
+
- ext/facter/leatherman/curl/inc/leatherman/curl/response.hpp
|
869
|
+
- ext/facter/leatherman/curl/src/client.cc
|
870
|
+
- ext/facter/leatherman/curl/src/request.cc
|
871
|
+
- ext/facter/leatherman/curl/src/response.cc
|
872
|
+
- ext/facter/leatherman/curl/tests/CMakeLists.txt
|
873
|
+
- ext/facter/leatherman/curl/tests/client_test.cc
|
874
|
+
- ext/facter/leatherman/curl/tests/fixtures.cc
|
875
|
+
- ext/facter/leatherman/curl/tests/fixtures.hpp
|
876
|
+
- ext/facter/leatherman/curl/tests/mock_curl.cc
|
877
|
+
- ext/facter/leatherman/curl/tests/mock_curl.hpp
|
878
|
+
- ext/facter/leatherman/curl/tests/request_test.cc
|
879
|
+
- ext/facter/leatherman/curl/tests/response_test.cc
|
880
|
+
- ext/facter/leatherman/dynamic_library/CMakeLists.txt
|
881
|
+
- ext/facter/leatherman/dynamic_library/inc/leatherman/dynamic_library/dynamic_library.hpp
|
882
|
+
- ext/facter/leatherman/dynamic_library/src/dynamic_library.cc
|
883
|
+
- ext/facter/leatherman/dynamic_library/src/posix/dynamic_library.cc
|
884
|
+
- ext/facter/leatherman/dynamic_library/src/windows/dynamic_library.cc
|
885
|
+
- ext/facter/leatherman/dynamic_library/tests/dynamic_library_tests.cc
|
886
|
+
- ext/facter/leatherman/dynamic_library/tests/fixtures.hpp.in
|
887
|
+
- ext/facter/leatherman/dynamic_library/tests/test-lib/goodbye.cc
|
888
|
+
- ext/facter/leatherman/dynamic_library/tests/test-lib/hello.cc
|
889
|
+
- ext/facter/leatherman/execution/CMakeLists.txt
|
890
|
+
- ext/facter/leatherman/execution/inc/leatherman/execution/execution.hpp
|
891
|
+
- ext/facter/leatherman/execution/src/execution.cc
|
892
|
+
- ext/facter/leatherman/execution/src/posix/execution.cc
|
893
|
+
- ext/facter/leatherman/execution/src/posix/generic/platform.cc
|
894
|
+
- ext/facter/leatherman/execution/src/posix/platform.hpp
|
895
|
+
- ext/facter/leatherman/execution/src/posix/solaris/platform.cc
|
896
|
+
- ext/facter/leatherman/execution/src/windows/execution.cc
|
897
|
+
- ext/facter/leatherman/execution/tests/fixtures.hpp.in
|
898
|
+
- ext/facter/leatherman/execution/tests/fixtures/echo_pid
|
899
|
+
- ext/facter/leatherman/execution/tests/fixtures/error_message
|
900
|
+
- ext/facter/leatherman/execution/tests/fixtures/execution/selfkill.sh
|
901
|
+
- ext/facter/leatherman/execution/tests/fixtures/execution/sleep.sh
|
902
|
+
- ext/facter/leatherman/execution/tests/fixtures/facts
|
903
|
+
- ext/facter/leatherman/execution/tests/fixtures/failed
|
904
|
+
- ext/facter/leatherman/execution/tests/fixtures/ls/crlf.txt
|
905
|
+
- ext/facter/leatherman/execution/tests/fixtures/ls/file1.txt
|
906
|
+
- ext/facter/leatherman/execution/tests/fixtures/ls/file2.txt
|
907
|
+
- ext/facter/leatherman/execution/tests/fixtures/ls/file3.txt
|
908
|
+
- ext/facter/leatherman/execution/tests/fixtures/ls/file4.txt
|
909
|
+
- ext/facter/leatherman/execution/tests/fixtures/not_executable
|
910
|
+
- ext/facter/leatherman/execution/tests/fixtures/windows/error_message.bat
|
911
|
+
- ext/facter/leatherman/execution/tests/fixtures/windows/facts.bat
|
912
|
+
- ext/facter/leatherman/execution/tests/fixtures/windows/failed.cmd
|
913
|
+
- ext/facter/leatherman/execution/tests/fixtures/windows/not_executable
|
914
|
+
- ext/facter/leatherman/execution/tests/fixtures/windows/ruby_script.rb
|
915
|
+
- ext/facter/leatherman/execution/tests/log_capture.cc
|
916
|
+
- ext/facter/leatherman/execution/tests/log_capture.hpp
|
917
|
+
- ext/facter/leatherman/execution/tests/lth_cat.cc
|
918
|
+
- ext/facter/leatherman/execution/tests/lth_cat.hpp
|
919
|
+
- ext/facter/leatherman/execution/tests/posix/execution.cc
|
920
|
+
- ext/facter/leatherman/execution/tests/posix/solaris/execution.cc
|
921
|
+
- ext/facter/leatherman/execution/tests/windows/execution.cc
|
922
|
+
- ext/facter/leatherman/file_util/CMakeLists.txt
|
923
|
+
- ext/facter/leatherman/file_util/inc/leatherman/file_util/directory.hpp
|
924
|
+
- ext/facter/leatherman/file_util/inc/leatherman/file_util/file.hpp
|
925
|
+
- ext/facter/leatherman/file_util/src/directory.cc
|
926
|
+
- ext/facter/leatherman/file_util/src/file.cc
|
927
|
+
- ext/facter/leatherman/file_util/tests/directory_utils_test.cc
|
928
|
+
- ext/facter/leatherman/file_util/tests/file_utils_test.cc
|
929
|
+
- ext/facter/leatherman/file_util/tests/fixtures.cc
|
930
|
+
- ext/facter/leatherman/file_util/tests/fixtures.hpp
|
931
|
+
- ext/facter/leatherman/json_container/CMakeLists.txt
|
932
|
+
- ext/facter/leatherman/json_container/README.md
|
933
|
+
- ext/facter/leatherman/json_container/inc/leatherman/json_container/json_container.hpp
|
934
|
+
- ext/facter/leatherman/json_container/src/json_container.cc
|
935
|
+
- ext/facter/leatherman/json_container/tests/json_container_test.cc
|
936
|
+
- ext/facter/leatherman/locale/CMakeLists.txt
|
937
|
+
- ext/facter/leatherman/locale/disabled/locale.cc
|
938
|
+
- ext/facter/leatherman/locale/inc/leatherman/locale/locale.hpp
|
939
|
+
- ext/facter/leatherman/locale/locales/CMakeLists.txt
|
940
|
+
- ext/facter/leatherman/locale/locales/fr.po
|
941
|
+
- ext/facter/leatherman/locale/locales/leatherman_locale.pot
|
942
|
+
- ext/facter/leatherman/locale/src/locale.cc
|
943
|
+
- ext/facter/leatherman/locale/tests/format.cc
|
944
|
+
- ext/facter/leatherman/locale/tests/locale.cc
|
945
|
+
- ext/facter/leatherman/locales/CMakeLists.txt
|
946
|
+
- ext/facter/leatherman/locales/leatherman.pot
|
947
|
+
- ext/facter/leatherman/logging/CMakeLists.txt
|
948
|
+
- ext/facter/leatherman/logging/inc/leatherman/logging/logging.hpp
|
949
|
+
- ext/facter/leatherman/logging/locales/CMakeLists.txt
|
950
|
+
- ext/facter/leatherman/logging/locales/fr.po
|
951
|
+
- ext/facter/leatherman/logging/locales/leatherman_logging.pot
|
952
|
+
- ext/facter/leatherman/logging/src/logging.cc
|
953
|
+
- ext/facter/leatherman/logging/src/posix/logging.cc
|
954
|
+
- ext/facter/leatherman/logging/src/windows/logging.cc
|
955
|
+
- ext/facter/leatherman/logging/tests/logging.cc
|
956
|
+
- ext/facter/leatherman/logging/tests/logging.hpp
|
957
|
+
- ext/facter/leatherman/logging/tests/logging_i18n.cc
|
958
|
+
- ext/facter/leatherman/logging/tests/logging_on_message.cc
|
959
|
+
- ext/facter/leatherman/logging/tests/logging_stream.cc
|
960
|
+
- ext/facter/leatherman/logging/tests/logging_stream_lines.cc
|
961
|
+
- ext/facter/leatherman/logging/tests/posix/logging.cc
|
962
|
+
- ext/facter/leatherman/logging/tests/windows/logging.cc
|
963
|
+
- ext/facter/leatherman/nowide/CMakeLists.txt
|
964
|
+
- ext/facter/leatherman/rapidjson/CMakeLists.txt
|
965
|
+
- ext/facter/leatherman/ruby/CMakeLists.txt
|
966
|
+
- ext/facter/leatherman/ruby/inc/leatherman/ruby/api.hpp
|
967
|
+
- ext/facter/leatherman/ruby/src/api.cc
|
968
|
+
- ext/facter/leatherman/ruby/src/posix/api.cc
|
969
|
+
- ext/facter/leatherman/ruby/src/windows/api.cc
|
970
|
+
- ext/facter/leatherman/ruby/tests/api-test.cc
|
971
|
+
- ext/facter/leatherman/scripts/cpplint.py
|
972
|
+
- ext/facter/leatherman/tests/CMakeLists.txt
|
973
|
+
- ext/facter/leatherman/tests/main.cc
|
974
|
+
- ext/facter/leatherman/util/CMakeLists.txt
|
975
|
+
- ext/facter/leatherman/util/inc/leatherman/util/environment.hpp
|
976
|
+
- ext/facter/leatherman/util/inc/leatherman/util/option_set.hpp
|
977
|
+
- ext/facter/leatherman/util/inc/leatherman/util/posix/scoped_descriptor.hpp
|
978
|
+
- ext/facter/leatherman/util/inc/leatherman/util/regex.hpp
|
979
|
+
- ext/facter/leatherman/util/inc/leatherman/util/scope_exit.hpp
|
980
|
+
- ext/facter/leatherman/util/inc/leatherman/util/scoped_env.hpp
|
981
|
+
- ext/facter/leatherman/util/inc/leatherman/util/scoped_resource.hpp
|
982
|
+
- ext/facter/leatherman/util/inc/leatherman/util/strings.hpp
|
983
|
+
- ext/facter/leatherman/util/inc/leatherman/util/time.hpp
|
984
|
+
- ext/facter/leatherman/util/inc/leatherman/util/timer.hpp
|
985
|
+
- ext/facter/leatherman/util/inc/leatherman/util/uri.hpp
|
986
|
+
- ext/facter/leatherman/util/inc/leatherman/util/windows/scoped_handle.hpp
|
987
|
+
- ext/facter/leatherman/util/src/environment.cc
|
988
|
+
- ext/facter/leatherman/util/src/posix/environment.cc
|
989
|
+
- ext/facter/leatherman/util/src/posix/scoped_descriptor.cc
|
990
|
+
- ext/facter/leatherman/util/src/posix/time.cc
|
991
|
+
- ext/facter/leatherman/util/src/scope_exit.cc
|
992
|
+
- ext/facter/leatherman/util/src/scoped_env.cc
|
993
|
+
- ext/facter/leatherman/util/src/strings.cc
|
994
|
+
- ext/facter/leatherman/util/src/time.cc
|
995
|
+
- ext/facter/leatherman/util/src/uri.cc
|
996
|
+
- ext/facter/leatherman/util/src/windows/environment.cc
|
997
|
+
- ext/facter/leatherman/util/src/windows/scoped_handle.cc
|
998
|
+
- ext/facter/leatherman/util/src/windows/time.cc
|
999
|
+
- ext/facter/leatherman/util/tests/environment.cc
|
1000
|
+
- ext/facter/leatherman/util/tests/option_set.cc
|
1001
|
+
- ext/facter/leatherman/util/tests/posix/environment.cc
|
1002
|
+
- ext/facter/leatherman/util/tests/scoped_env.cc
|
1003
|
+
- ext/facter/leatherman/util/tests/strings_test.cc
|
1004
|
+
- ext/facter/leatherman/util/tests/timer.cc
|
1005
|
+
- ext/facter/leatherman/util/tests/uri.cc
|
1006
|
+
- ext/facter/leatherman/util/tests/windows/environment.cc
|
1007
|
+
- ext/facter/leatherman/vendor/Catch-1.10.0.zip
|
1008
|
+
- ext/facter/leatherman/vendor/nowide/build/Jamfile.v2
|
1009
|
+
- ext/facter/leatherman/vendor/nowide/doc/Doxyfile
|
1010
|
+
- ext/facter/leatherman/vendor/nowide/doc/LICENSE_1_0.txt
|
1011
|
+
- ext/facter/leatherman/vendor/nowide/doc/gendoc.sh
|
1012
|
+
- ext/facter/leatherman/vendor/nowide/doc/main.txt
|
1013
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/args.hpp
|
1014
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/cenv.hpp
|
1015
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/config.hpp
|
1016
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/convert.hpp
|
1017
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/cstdio.hpp
|
1018
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/cstdlib.hpp
|
1019
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/filebuf.hpp
|
1020
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/fstream.hpp
|
1021
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/integration/filesystem.hpp
|
1022
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/iostream.hpp
|
1023
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/stackstring.hpp
|
1024
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/system.hpp
|
1025
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/utf8_codecvt.hpp
|
1026
|
+
- ext/facter/leatherman/vendor/nowide/include/boost/nowide/windows.hpp
|
1027
|
+
- ext/facter/leatherman/vendor/nowide/index.html
|
1028
|
+
- ext/facter/leatherman/vendor/nowide/src/iostream.cpp
|
1029
|
+
- ext/facter/leatherman/vendor/nowide/standalone/CMakeLists.txt
|
1030
|
+
- ext/facter/leatherman/vendor/nowide/standalone/MinGW.cmake
|
1031
|
+
- ext/facter/leatherman/vendor/nowide/standalone/config.hpp
|
1032
|
+
- ext/facter/leatherman/vendor/nowide/standalone/convert
|
1033
|
+
- ext/facter/leatherman/vendor/nowide/standalone/encoding_errors.hpp
|
1034
|
+
- ext/facter/leatherman/vendor/nowide/standalone/encoding_utf.hpp
|
1035
|
+
- ext/facter/leatherman/vendor/nowide/standalone/run_convert_and_build.sh
|
1036
|
+
- ext/facter/leatherman/vendor/nowide/standalone/scoped_ptr.hpp
|
1037
|
+
- ext/facter/leatherman/vendor/nowide/standalone/utf.hpp
|
1038
|
+
- ext/facter/leatherman/vendor/nowide/template.hpp
|
1039
|
+
- ext/facter/leatherman/vendor/nowide/test/Jamfile.v2
|
1040
|
+
- ext/facter/leatherman/vendor/nowide/test/test.hpp
|
1041
|
+
- ext/facter/leatherman/vendor/nowide/test/test_codecvt.cpp
|
1042
|
+
- ext/facter/leatherman/vendor/nowide/test/test_convert.cpp
|
1043
|
+
- ext/facter/leatherman/vendor/nowide/test/test_env.cpp
|
1044
|
+
- ext/facter/leatherman/vendor/nowide/test/test_fs.cpp
|
1045
|
+
- ext/facter/leatherman/vendor/nowide/test/test_fstream.cpp
|
1046
|
+
- ext/facter/leatherman/vendor/nowide/test/test_iostream.cpp
|
1047
|
+
- ext/facter/leatherman/vendor/nowide/test/test_stdio.cpp
|
1048
|
+
- ext/facter/leatherman/vendor/nowide/test/test_system.cpp
|
1049
|
+
- ext/facter/leatherman/vendor/rapidjson-1.0.2.zip
|
1050
|
+
- ext/facter/leatherman/windows/CMakeLists.txt
|
1051
|
+
- ext/facter/leatherman/windows/inc/leatherman/windows/file_util.hpp
|
1052
|
+
- ext/facter/leatherman/windows/inc/leatherman/windows/process.hpp
|
1053
|
+
- ext/facter/leatherman/windows/inc/leatherman/windows/registry.hpp
|
1054
|
+
- ext/facter/leatherman/windows/inc/leatherman/windows/system_error.hpp
|
1055
|
+
- ext/facter/leatherman/windows/inc/leatherman/windows/user.hpp
|
1056
|
+
- ext/facter/leatherman/windows/inc/leatherman/windows/windows.hpp
|
1057
|
+
- ext/facter/leatherman/windows/inc/leatherman/windows/wmi.hpp
|
1058
|
+
- ext/facter/leatherman/windows/src/file_util.cc
|
1059
|
+
- ext/facter/leatherman/windows/src/process.cc
|
1060
|
+
- ext/facter/leatherman/windows/src/registry.cc
|
1061
|
+
- ext/facter/leatherman/windows/src/system_error.cc
|
1062
|
+
- ext/facter/leatherman/windows/src/user.cc
|
1063
|
+
- ext/facter/leatherman/windows/src/wmi.cc
|
1064
|
+
- ext/facter/leatherman/windows/tests/file_utils_test.cc
|
1065
|
+
homepage:
|
1066
|
+
licenses:
|
1067
|
+
- Apache-2.0
|
1068
|
+
metadata: {}
|
1069
|
+
post_install_message:
|
1070
|
+
rdoc_options: []
|
1071
|
+
require_paths:
|
1072
|
+
- lib
|
1073
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
1074
|
+
requirements:
|
1075
|
+
- - ">="
|
1076
|
+
- !ruby/object:Gem::Version
|
1077
|
+
version: '0'
|
1078
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
1079
|
+
requirements:
|
1080
|
+
- - ">"
|
1081
|
+
- !ruby/object:Gem::Version
|
1082
|
+
version: 1.3.1
|
1083
|
+
requirements: []
|
1084
|
+
rubyforge_project:
|
1085
|
+
rubygems_version: 2.2.5
|
1086
|
+
signing_key:
|
1087
|
+
specification_version: 4
|
1088
|
+
summary: Facter gem wrapper
|
1089
|
+
test_files: []
|