cfacter 3.11.0.rc.20180314

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1046) hide show
  1. checksums.yaml +7 -0
  2. data/ext/facter/Makefile.erb +31 -0
  3. data/ext/facter/cpp-hocon/CMakeLists.txt +67 -0
  4. data/ext/facter/cpp-hocon/CONTRIBUTING.md +9 -0
  5. data/ext/facter/cpp-hocon/LICENSE +17 -0
  6. data/ext/facter/cpp-hocon/MAINTAINERS +33 -0
  7. data/ext/facter/cpp-hocon/README.md +74 -0
  8. data/ext/facter/cpp-hocon/acceptance/Gemfile +18 -0
  9. data/ext/facter/cpp-hocon/acceptance/Rakefile +7 -0
  10. data/ext/facter/cpp-hocon/acceptance/tests/fake.rb +0 -0
  11. data/ext/facter/cpp-hocon/appveyor.yml +41 -0
  12. data/ext/facter/cpp-hocon/lib/CMakeLists.txt +94 -0
  13. data/ext/facter/cpp-hocon/lib/Doxyfile.in +2312 -0
  14. data/ext/facter/cpp-hocon/lib/inc/hocon/config.hpp +734 -0
  15. data/ext/facter/cpp-hocon/lib/inc/hocon/config_exception.hpp +184 -0
  16. data/ext/facter/cpp-hocon/lib/inc/hocon/config_include_context.hpp +51 -0
  17. data/ext/facter/cpp-hocon/lib/inc/hocon/config_includer.hpp +53 -0
  18. data/ext/facter/cpp-hocon/lib/inc/hocon/config_includer_file.hpp +30 -0
  19. data/ext/facter/cpp-hocon/lib/inc/hocon/config_list.hpp +51 -0
  20. data/ext/facter/cpp-hocon/lib/inc/hocon/config_mergeable.hpp +72 -0
  21. data/ext/facter/cpp-hocon/lib/inc/hocon/config_object.hpp +81 -0
  22. data/ext/facter/cpp-hocon/lib/inc/hocon/config_origin.hpp +98 -0
  23. data/ext/facter/cpp-hocon/lib/inc/hocon/config_parse_options.hpp +139 -0
  24. data/ext/facter/cpp-hocon/lib/inc/hocon/config_parseable.hpp +47 -0
  25. data/ext/facter/cpp-hocon/lib/inc/hocon/config_render_options.hpp +128 -0
  26. data/ext/facter/cpp-hocon/lib/inc/hocon/config_resolve_options.hpp +83 -0
  27. data/ext/facter/cpp-hocon/lib/inc/hocon/config_syntax.hpp +24 -0
  28. data/ext/facter/cpp-hocon/lib/inc/hocon/config_value.hpp +267 -0
  29. data/ext/facter/cpp-hocon/lib/inc/hocon/config_value_factory.hpp +48 -0
  30. data/ext/facter/cpp-hocon/lib/inc/hocon/functional_list.hpp +318 -0
  31. data/ext/facter/cpp-hocon/lib/inc/hocon/parser/config_document.hpp +95 -0
  32. data/ext/facter/cpp-hocon/lib/inc/hocon/parser/config_document_factory.hpp +39 -0
  33. data/ext/facter/cpp-hocon/lib/inc/hocon/parser/config_node.hpp +32 -0
  34. data/ext/facter/cpp-hocon/lib/inc/hocon/path.hpp +60 -0
  35. data/ext/facter/cpp-hocon/lib/inc/hocon/program_options.hpp +84 -0
  36. data/ext/facter/cpp-hocon/lib/inc/hocon/types.hpp +57 -0
  37. data/ext/facter/cpp-hocon/lib/inc/internal/config_document_parser.hpp +83 -0
  38. data/ext/facter/cpp-hocon/lib/inc/internal/config_parser.hpp +55 -0
  39. data/ext/facter/cpp-hocon/lib/inc/internal/config_util.hpp +17 -0
  40. data/ext/facter/cpp-hocon/lib/inc/internal/container.hpp +28 -0
  41. data/ext/facter/cpp-hocon/lib/inc/internal/default_transformer.hpp +12 -0
  42. data/ext/facter/cpp-hocon/lib/inc/internal/full_includer.hpp +13 -0
  43. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/abstract_config_node.hpp +16 -0
  44. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/abstract_config_node_value.hpp +12 -0
  45. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_array.hpp +17 -0
  46. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_comment.hpp +14 -0
  47. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_complex_value.hpp +25 -0
  48. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_concatenation.hpp +16 -0
  49. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_field.hpp +29 -0
  50. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_include.hpp +26 -0
  51. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_object.hpp +45 -0
  52. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_path.hpp +25 -0
  53. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_root.hpp +24 -0
  54. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_simple_value.hpp +21 -0
  55. data/ext/facter/cpp-hocon/lib/inc/internal/nodes/config_node_single_token.hpp +20 -0
  56. data/ext/facter/cpp-hocon/lib/inc/internal/parseable.hpp +128 -0
  57. data/ext/facter/cpp-hocon/lib/inc/internal/path_builder.hpp +20 -0
  58. data/ext/facter/cpp-hocon/lib/inc/internal/path_parser.hpp +55 -0
  59. data/ext/facter/cpp-hocon/lib/inc/internal/replaceable_merge_stack.hpp +14 -0
  60. data/ext/facter/cpp-hocon/lib/inc/internal/resolve_context.hpp +53 -0
  61. data/ext/facter/cpp-hocon/lib/inc/internal/resolve_result.hpp +21 -0
  62. data/ext/facter/cpp-hocon/lib/inc/internal/resolve_source.hpp +55 -0
  63. data/ext/facter/cpp-hocon/lib/inc/internal/simple_config_document.hpp +28 -0
  64. data/ext/facter/cpp-hocon/lib/inc/internal/simple_config_origin.hpp +67 -0
  65. data/ext/facter/cpp-hocon/lib/inc/internal/simple_include_context.hpp +22 -0
  66. data/ext/facter/cpp-hocon/lib/inc/internal/simple_includer.hpp +79 -0
  67. data/ext/facter/cpp-hocon/lib/inc/internal/substitution_expression.hpp +28 -0
  68. data/ext/facter/cpp-hocon/lib/inc/internal/token.hpp +45 -0
  69. data/ext/facter/cpp-hocon/lib/inc/internal/tokenizer.hpp +143 -0
  70. data/ext/facter/cpp-hocon/lib/inc/internal/tokens.hpp +135 -0
  71. data/ext/facter/cpp-hocon/lib/inc/internal/unmergeable.hpp +20 -0
  72. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_boolean.hpp +26 -0
  73. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_concatenation.hpp +59 -0
  74. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_delayed_merge.hpp +53 -0
  75. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_delayed_merge_object.hpp +57 -0
  76. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_double.hpp +28 -0
  77. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_int.hpp +25 -0
  78. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_long.hpp +28 -0
  79. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_null.hpp +33 -0
  80. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_number.hpp +38 -0
  81. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_reference.hpp +38 -0
  82. data/ext/facter/cpp-hocon/lib/inc/internal/values/config_string.hpp +32 -0
  83. data/ext/facter/cpp-hocon/lib/inc/internal/values/simple_config_list.hpp +75 -0
  84. data/ext/facter/cpp-hocon/lib/inc/internal/values/simple_config_object.hpp +107 -0
  85. data/ext/facter/cpp-hocon/lib/namespaces.dox.in +6 -0
  86. data/ext/facter/cpp-hocon/lib/src/config.cc +573 -0
  87. data/ext/facter/cpp-hocon/lib/src/config_document_factory.cc +24 -0
  88. data/ext/facter/cpp-hocon/lib/src/config_document_parser.cc +620 -0
  89. data/ext/facter/cpp-hocon/lib/src/config_parse_options.cc +101 -0
  90. data/ext/facter/cpp-hocon/lib/src/config_parser.cc +399 -0
  91. data/ext/facter/cpp-hocon/lib/src/config_render_options.cc +44 -0
  92. data/ext/facter/cpp-hocon/lib/src/config_resolve_options.cc +24 -0
  93. data/ext/facter/cpp-hocon/lib/src/config_util.cc +95 -0
  94. data/ext/facter/cpp-hocon/lib/src/config_value_factory.cc +68 -0
  95. data/ext/facter/cpp-hocon/lib/src/default_transformer.cc +94 -0
  96. data/ext/facter/cpp-hocon/lib/src/nodes/abstract_config_node.cc +19 -0
  97. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_array.cc +13 -0
  98. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_comment.cc +15 -0
  99. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_complex_value.cc +50 -0
  100. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_concatenation.cc +14 -0
  101. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_field.cc +80 -0
  102. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_include.cc +38 -0
  103. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_object.cc +318 -0
  104. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_path.cc +47 -0
  105. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_root.cc +70 -0
  106. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_simple_value.cc +50 -0
  107. data/ext/facter/cpp-hocon/lib/src/nodes/config_node_single_token.cc +18 -0
  108. data/ext/facter/cpp-hocon/lib/src/parseable.cc +325 -0
  109. data/ext/facter/cpp-hocon/lib/src/path.cc +219 -0
  110. data/ext/facter/cpp-hocon/lib/src/path_builder.cc +38 -0
  111. data/ext/facter/cpp-hocon/lib/src/path_parser.cc +253 -0
  112. data/ext/facter/cpp-hocon/lib/src/resolve_context.cc +139 -0
  113. data/ext/facter/cpp-hocon/lib/src/resolve_source.cc +216 -0
  114. data/ext/facter/cpp-hocon/lib/src/simple_config_document.cc +69 -0
  115. data/ext/facter/cpp-hocon/lib/src/simple_config_origin.cc +246 -0
  116. data/ext/facter/cpp-hocon/lib/src/simple_include_context.cc +18 -0
  117. data/ext/facter/cpp-hocon/lib/src/simple_includer.cc +186 -0
  118. data/ext/facter/cpp-hocon/lib/src/substitution_expression.cc +35 -0
  119. data/ext/facter/cpp-hocon/lib/src/token.cc +52 -0
  120. data/ext/facter/cpp-hocon/lib/src/tokenizer.cc +568 -0
  121. data/ext/facter/cpp-hocon/lib/src/tokens.cc +257 -0
  122. data/ext/facter/cpp-hocon/lib/src/values/config_boolean.cc +34 -0
  123. data/ext/facter/cpp-hocon/lib/src/values/config_concatenation.cc +260 -0
  124. data/ext/facter/cpp-hocon/lib/src/values/config_delayed_merge.cc +223 -0
  125. data/ext/facter/cpp-hocon/lib/src/values/config_delayed_merge_object.cc +180 -0
  126. data/ext/facter/cpp-hocon/lib/src/values/config_double.cc +35 -0
  127. data/ext/facter/cpp-hocon/lib/src/values/config_int.cc +35 -0
  128. data/ext/facter/cpp-hocon/lib/src/values/config_long.cc +35 -0
  129. data/ext/facter/cpp-hocon/lib/src/values/config_null.cc +35 -0
  130. data/ext/facter/cpp-hocon/lib/src/values/config_number.cc +78 -0
  131. data/ext/facter/cpp-hocon/lib/src/values/config_object.cc +97 -0
  132. data/ext/facter/cpp-hocon/lib/src/values/config_reference.cc +85 -0
  133. data/ext/facter/cpp-hocon/lib/src/values/config_string.cc +47 -0
  134. data/ext/facter/cpp-hocon/lib/src/values/config_value.cc +289 -0
  135. data/ext/facter/cpp-hocon/lib/src/values/simple_config_list.cc +219 -0
  136. data/ext/facter/cpp-hocon/lib/src/values/simple_config_object.cc +515 -0
  137. data/ext/facter/cpp-hocon/lib/tests/CMakeLists.txt +42 -0
  138. data/ext/facter/cpp-hocon/lib/tests/concatenation_test.cc +401 -0
  139. data/ext/facter/cpp-hocon/lib/tests/conf_parser_test.cc +715 -0
  140. data/ext/facter/cpp-hocon/lib/tests/config_document_parser_test.cc +208 -0
  141. data/ext/facter/cpp-hocon/lib/tests/config_document_tests.cc +110 -0
  142. data/ext/facter/cpp-hocon/lib/tests/config_node_test.cc +338 -0
  143. data/ext/facter/cpp-hocon/lib/tests/config_substitution_test.cc +897 -0
  144. data/ext/facter/cpp-hocon/lib/tests/config_test.cc +151 -0
  145. data/ext/facter/cpp-hocon/lib/tests/config_value_factory_test.cc +60 -0
  146. data/ext/facter/cpp-hocon/lib/tests/config_value_test.cc +111 -0
  147. data/ext/facter/cpp-hocon/lib/tests/fixtures.hpp.in +3 -0
  148. data/ext/facter/cpp-hocon/lib/tests/fixtures/test01.conf +91 -0
  149. data/ext/facter/cpp-hocon/lib/tests/fixtures/test01.json +4 -0
  150. data/ext/facter/cpp-hocon/lib/tests/main.cc +8 -0
  151. data/ext/facter/cpp-hocon/lib/tests/path_test.cc +129 -0
  152. data/ext/facter/cpp-hocon/lib/tests/program_options.cc +63 -0
  153. data/ext/facter/cpp-hocon/lib/tests/test.conf +1 -0
  154. data/ext/facter/cpp-hocon/lib/tests/test_utils.cc +452 -0
  155. data/ext/facter/cpp-hocon/lib/tests/test_utils.hpp +139 -0
  156. data/ext/facter/cpp-hocon/lib/tests/token_test.cc +108 -0
  157. data/ext/facter/cpp-hocon/lib/tests/tokenizer_test.cc +694 -0
  158. data/ext/facter/cpp-hocon/lib/version.h.in +28 -0
  159. data/ext/facter/cpp-hocon/locales/CMakeLists.txt +4 -0
  160. data/ext/facter/cpp-hocon/locales/cpp-hocon.pot +767 -0
  161. data/ext/facter/extconf.rb +22 -0
  162. data/ext/facter/facter/CMakeLists.txt +183 -0
  163. data/ext/facter/facter/CONTRIBUTING.md +99 -0
  164. data/ext/facter/facter/Extensibility.md +133 -0
  165. data/ext/facter/facter/LICENSE +17 -0
  166. data/ext/facter/facter/MAINTAINERS +28 -0
  167. data/ext/facter/facter/README.md +295 -0
  168. data/ext/facter/facter/Rakefile +42 -0
  169. data/ext/facter/facter/acceptance/Gemfile +21 -0
  170. data/ext/facter/facter/acceptance/Rakefile +342 -0
  171. data/ext/facter/facter/acceptance/bin/ci-bootstrap-from-artifacts.sh +55 -0
  172. data/ext/facter/facter/acceptance/config/aio/options.rb +9 -0
  173. data/ext/facter/facter/acceptance/config/git/options.rb +7 -0
  174. data/ext/facter/facter/acceptance/config/nodes/aix-53-power.yaml +7 -0
  175. data/ext/facter/facter/acceptance/config/nodes/aix-61-power.yaml +7 -0
  176. data/ext/facter/facter/acceptance/config/nodes/aix-71-power.yaml +7 -0
  177. data/ext/facter/facter/acceptance/config/nodes/huaweios-6-powerpc.yaml +7 -0
  178. data/ext/facter/facter/acceptance/config/nodes/solaris-10-sparc.yaml +9 -0
  179. data/ext/facter/facter/acceptance/config/nodes/solaris-11-sparc.yaml +9 -0
  180. data/ext/facter/facter/acceptance/lib/facter/acceptance/base_fact_utils.rb +563 -0
  181. data/ext/facter/facter/acceptance/lib/facter/acceptance/user_fact_utils.rb +132 -0
  182. data/ext/facter/facter/acceptance/lib/helper.rb +1 -0
  183. data/ext/facter/facter/acceptance/lib/puppet/acceptance/common_utils.rb +10 -0
  184. data/ext/facter/facter/acceptance/lib/puppet/acceptance/git_utils.rb +19 -0
  185. data/ext/facter/facter/acceptance/lib/puppet/acceptance/install_utils.rb +58 -0
  186. data/ext/facter/facter/acceptance/setup/aio/pre-suite/010_Install.rb +22 -0
  187. data/ext/facter/facter/acceptance/setup/aio/pre-suite/021_InstallAristaModule.rb +12 -0
  188. data/ext/facter/facter/acceptance/setup/aio/pre-suite/022_Remove_LD_PRELOAD.rb +11 -0
  189. data/ext/facter/facter/acceptance/setup/common/00_EnvSetup.rb +64 -0
  190. data/ext/facter/facter/acceptance/setup/common/pre-suite/000-delete-puppet-when-none.rb +11 -0
  191. data/ext/facter/facter/acceptance/setup/git/pre-suite/01_TestSetup.rb +31 -0
  192. data/ext/facter/facter/acceptance/tests/custom_facts/custom_fact_with_10001_weight_overrides_external_fact.rb +30 -0
  193. data/ext/facter/facter/acceptance/tests/custom_facts/having_multiple_facts_in_one_file.rb +40 -0
  194. data/ext/facter/facter/acceptance/tests/custom_facts/using_win32ole_should_not_hang.rb +33 -0
  195. data/ext/facter/facter/acceptance/tests/external_facts/env_var_overrides_external_fact.rb +46 -0
  196. data/ext/facter/facter/acceptance/tests/external_facts/external_dir_overrides_default_external_fact.rb +34 -0
  197. data/ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact.rb +29 -0
  198. data/ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact_with_10000_weight_or_less.rb +30 -0
  199. data/ext/facter/facter/acceptance/tests/external_facts/external_fact_overrides_custom_fact_with_confine.rb +35 -0
  200. data/ext/facter/facter/acceptance/tests/external_facts/external_fact_stderr_messages_output_to_stderr.rb +49 -0
  201. data/ext/facter/facter/acceptance/tests/external_facts/external_facts_only_run_once.rb +43 -0
  202. data/ext/facter/facter/acceptance/tests/external_facts/fact_directory_precedence.rb +109 -0
  203. data/ext/facter/facter/acceptance/tests/external_facts/non_root_users_default_external_fact_directory.rb +142 -0
  204. data/ext/facter/facter/acceptance/tests/external_facts/root_uses_default_external_fact_dir.rb +34 -0
  205. data/ext/facter/facter/acceptance/tests/external_facts/structured_executable_facts.rb +139 -0
  206. data/ext/facter/facter/acceptance/tests/facter_returns_success_on_non_existent_fact.rb +9 -0
  207. data/ext/facter/facter/acceptance/tests/facts/dmi.rb +51 -0
  208. data/ext/facter/facter/acceptance/tests/facts/facterversion.rb +11 -0
  209. data/ext/facter/facter/acceptance/tests/facts/identity.rb +52 -0
  210. data/ext/facter/facter/acceptance/tests/facts/networking_facts.rb +76 -0
  211. data/ext/facter/facter/acceptance/tests/facts/non_root_users_without_errors.rb +32 -0
  212. data/ext/facter/facter/acceptance/tests/facts/operatingsystem_detection_after_clear_on_ubuntu.rb +26 -0
  213. data/ext/facter/facter/acceptance/tests/facts/os_processors_and_kernel.rb +20 -0
  214. data/ext/facter/facter/acceptance/tests/facts/partitions.rb +37 -0
  215. data/ext/facter/facter/acceptance/tests/facts/productname.rb +15 -0
  216. data/ext/facter/facter/acceptance/tests/facts/ruby.rb +59 -0
  217. data/ext/facter/facter/acceptance/tests/facts/validate_file_system_size_bytes.rb +37 -0
  218. data/ext/facter/facter/acceptance/tests/facts/verify_tmpfs_file_system.rb +54 -0
  219. data/ext/facter/facter/acceptance/tests/load_libfacter.rb +66 -0
  220. data/ext/facter/facter/acceptance/tests/no_errors_on_stderr.rb +10 -0
  221. data/ext/facter/facter/acceptance/tests/options/color.rb +16 -0
  222. data/ext/facter/facter/acceptance/tests/options/config.rb +27 -0
  223. data/ext/facter/facter/acceptance/tests/options/config_file/blocklist.rb +35 -0
  224. data/ext/facter/facter/acceptance/tests/options/config_file/blocklist_from_puppet_facts.rb +40 -0
  225. data/ext/facter/facter/acceptance/tests/options/config_file/custom_dir_overridden_by_cli_custom_dir.rb +56 -0
  226. data/ext/facter/facter/acceptance/tests/options/config_file/custom_facts.rb +42 -0
  227. data/ext/facter/facter/acceptance/tests/options/config_file/custom_facts_list.rb +56 -0
  228. data/ext/facter/facter/acceptance/tests/options/config_file/debug.rb +34 -0
  229. data/ext/facter/facter/acceptance/tests/options/config_file/debug_override_config_file.rb +34 -0
  230. data/ext/facter/facter/acceptance/tests/options/config_file/default_file_location.rb +37 -0
  231. data/ext/facter/facter/acceptance/tests/options/config_file/external_dir_conflicts_with_cli_no_external_facts.rb +37 -0
  232. data/ext/facter/facter/acceptance/tests/options/config_file/external_dir_overridden_by_cli_external_dir.rb +40 -0
  233. data/ext/facter/facter/acceptance/tests/options/config_file/external_facts.rb +37 -0
  234. data/ext/facter/facter/acceptance/tests/options/config_file/external_facts_list.rb +43 -0
  235. data/ext/facter/facter/acceptance/tests/options/config_file/load_from_ruby.rb +73 -0
  236. data/ext/facter/facter/acceptance/tests/options/config_file/log_level.rb +35 -0
  237. data/ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_custom_dir.rb +43 -0
  238. data/ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_facterlib.rb +43 -0
  239. data/ext/facter/facter/acceptance/tests/options/config_file/no_custom_facts_and_load_path.rb +49 -0
  240. data/ext/facter/facter/acceptance/tests/options/config_file/no_external_facts.rb +38 -0
  241. data/ext/facter/facter/acceptance/tests/options/config_file/no_external_facts_and_external_dir.rb +34 -0
  242. data/ext/facter/facter/acceptance/tests/options/config_file/no_ruby_disables_custom_facts.rb +52 -0
  243. data/ext/facter/facter/acceptance/tests/options/config_file/no_ruby_disables_ruby_facts.rb +34 -0
  244. data/ext/facter/facter/acceptance/tests/options/config_file/trace.rb +48 -0
  245. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_clear_by_empty_ttls_cache_list.rb +71 -0
  246. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_creates_json_cache_file.rb +48 -0
  247. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_expire_facts_do_not_read_the_old_cached_value.rb +58 -0
  248. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_expire_facts_refresh_the_cached_value.rb +61 -0
  249. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_read_from_the_cached_value.rb +57 -0
  250. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_that_are_corrupt_are_refreshed.rb +53 -0
  251. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_cached_facts_that_are_empty_return_an_empty_value.rb +53 -0
  252. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_puppet_facts_creates_json_for_cached_facts.rb +45 -0
  253. data/ext/facter/facter/acceptance/tests/options/config_file/ttls_puppet_facts_honors_cached_facts.rb +54 -0
  254. data/ext/facter/facter/acceptance/tests/options/config_file/verbose.rb +34 -0
  255. data/ext/facter/facter/acceptance/tests/options/custom_facts.rb +34 -0
  256. data/ext/facter/facter/acceptance/tests/options/custom_facts_facterlib.rb +33 -0
  257. data/ext/facter/facter/acceptance/tests/options/custom_facts_list.rb +48 -0
  258. data/ext/facter/facter/acceptance/tests/options/custom_facts_load_path.rb +42 -0
  259. data/ext/facter/facter/acceptance/tests/options/debug.rb +12 -0
  260. data/ext/facter/facter/acceptance/tests/options/external_facts.rb +28 -0
  261. data/ext/facter/facter/acceptance/tests/options/external_facts_list.rb +35 -0
  262. data/ext/facter/facter/acceptance/tests/options/help.rb +13 -0
  263. data/ext/facter/facter/acceptance/tests/options/json.rb +43 -0
  264. data/ext/facter/facter/acceptance/tests/options/list_block_groups.rb +16 -0
  265. data/ext/facter/facter/acceptance/tests/options/list_cache_groups.rb +16 -0
  266. data/ext/facter/facter/acceptance/tests/options/log_level.rb +13 -0
  267. data/ext/facter/facter/acceptance/tests/options/no_block.rb +34 -0
  268. data/ext/facter/facter/acceptance/tests/options/no_cache_should_not_cache_facts.rb +43 -0
  269. data/ext/facter/facter/acceptance/tests/options/no_cache_should_not_load_cached_facts.rb +58 -0
  270. data/ext/facter/facter/acceptance/tests/options/no_cache_should_not_refresh_cached_facts.rb +63 -0
  271. data/ext/facter/facter/acceptance/tests/options/no_color.rb +16 -0
  272. data/ext/facter/facter/acceptance/tests/options/no_custom_facts.rb +34 -0
  273. data/ext/facter/facter/acceptance/tests/options/no_custom_facts_and_custom_dir.rb +19 -0
  274. data/ext/facter/facter/acceptance/tests/options/no_custom_facts_and_facterlib.rb +34 -0
  275. data/ext/facter/facter/acceptance/tests/options/no_custom_facts_and_load_path.rb +43 -0
  276. data/ext/facter/facter/acceptance/tests/options/no_external_facts.rb +28 -0
  277. data/ext/facter/facter/acceptance/tests/options/no_external_facts_and_external_dir.rb +19 -0
  278. data/ext/facter/facter/acceptance/tests/options/no_ruby.rb +44 -0
  279. data/ext/facter/facter/acceptance/tests/options/puppet_facts.rb +35 -0
  280. data/ext/facter/facter/acceptance/tests/options/show_legacy.rb +18 -0
  281. data/ext/facter/facter/acceptance/tests/options/strict.rb +11 -0
  282. data/ext/facter/facter/acceptance/tests/options/trace.rb +36 -0
  283. data/ext/facter/facter/acceptance/tests/options/verbose.rb +12 -0
  284. data/ext/facter/facter/acceptance/tests/options/version.rb +12 -0
  285. data/ext/facter/facter/acceptance/tests/options/yaml.rb +43 -0
  286. data/ext/facter/facter/acceptance/tests/ticket_1123_facter_with_invalid_locale.rb +22 -0
  287. data/ext/facter/facter/acceptance/tests/ticket_1238_hostname_fqdn.rb +57 -0
  288. data/ext/facter/facter/appveyor.yml +43 -0
  289. data/ext/facter/facter/cmake/FindBLKID.cmake +6 -0
  290. data/ext/facter/facter/cmake/FindCPPHOCON.cmake +6 -0
  291. data/ext/facter/facter/cmake/FindDependency.cmake +54 -0
  292. data/ext/facter/facter/cmake/FindOPENSSL.cmake +10 -0
  293. data/ext/facter/facter/cmake/FindRuby.cmake +286 -0
  294. data/ext/facter/facter/cmake/FindWHEREAMI.cmake +6 -0
  295. data/ext/facter/facter/cmake/FindYAMLCPP.cmake +17 -0
  296. data/ext/facter/facter/contrib/dockerfiles/travis-cpp-builder/Dockerfile +56 -0
  297. data/ext/facter/facter/contrib/dockerfiles/travis-facter-builder/Dockerfile +23 -0
  298. data/ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/Dockerfile +40 -0
  299. data/ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/_coverity-submit.erb +12 -0
  300. data/ext/facter/facter/contrib/dockerfiles/travis-facter-coverity/fix_curl_command.patch +32 -0
  301. data/ext/facter/facter/exe/CMakeLists.txt +39 -0
  302. data/ext/facter/facter/exe/facter.cc +377 -0
  303. data/ext/facter/facter/ext/build_defaults.yaml +16 -0
  304. data/ext/facter/facter/ext/debian/changelog.erb +11 -0
  305. data/ext/facter/facter/ext/debian/compat +1 -0
  306. data/ext/facter/facter/ext/debian/control +14 -0
  307. data/ext/facter/facter/ext/debian/copyright +19 -0
  308. data/ext/facter/facter/ext/debian/docs +2 -0
  309. data/ext/facter/facter/ext/debian/facter.install +4 -0
  310. data/ext/facter/facter/ext/debian/lintian-overrides +0 -0
  311. data/ext/facter/facter/ext/debian/rules +39 -0
  312. data/ext/facter/facter/ext/debian/source/format +1 -0
  313. data/ext/facter/facter/ext/project_data.yaml +30 -0
  314. data/ext/facter/facter/ext/redhat/facter.spec.erb +113 -0
  315. data/ext/facter/facter/ext/windows/facter.bat +8 -0
  316. data/ext/facter/facter/ext/windows/facter_interactive.bat +6 -0
  317. data/ext/facter/facter/ext/windows/run_facter_interactive.bat +9 -0
  318. data/ext/facter/facter/factergo/example/main.go +17 -0
  319. data/ext/facter/facter/factergo/facter.go +42 -0
  320. data/ext/facter/facter/factergo/facter_test.go +25 -0
  321. data/ext/facter/facter/lib/CMakeLists.txt +409 -0
  322. data/ext/facter/facter/lib/Doxyfile +2313 -0
  323. data/ext/facter/facter/lib/Facter.java.in +110 -0
  324. data/ext/facter/facter/lib/Gemfile +11 -0
  325. data/ext/facter/facter/lib/Rakefile +8 -0
  326. data/ext/facter/facter/lib/docs/generate.rb +25 -0
  327. data/ext/facter/facter/lib/docs/namespaces.dox +129 -0
  328. data/ext/facter/facter/lib/docs/template.erb +43 -0
  329. data/ext/facter/facter/lib/facter.rb.in +45 -0
  330. data/ext/facter/facter/lib/gemspec.in +21 -0
  331. data/ext/facter/facter/lib/inc/facter/cwrapper.hpp +18 -0
  332. data/ext/facter/facter/lib/inc/facter/facts/array_value.hpp +125 -0
  333. data/ext/facter/facter/lib/inc/facter/facts/collection.hpp +339 -0
  334. data/ext/facter/facter/lib/inc/facter/facts/external/resolver.hpp +49 -0
  335. data/ext/facter/facter/lib/inc/facter/facts/fact.hpp +669 -0
  336. data/ext/facter/facter/lib/inc/facter/facts/map_value.hpp +127 -0
  337. data/ext/facter/facter/lib/inc/facter/facts/os.hpp +202 -0
  338. data/ext/facter/facter/lib/inc/facter/facts/os_family.hpp +58 -0
  339. data/ext/facter/facter/lib/inc/facter/facts/resolver.hpp +126 -0
  340. data/ext/facter/facter/lib/inc/facter/facts/scalar_value.hpp +152 -0
  341. data/ext/facter/facter/lib/inc/facter/facts/value.hpp +164 -0
  342. data/ext/facter/facter/lib/inc/facter/facts/vm.hpp +157 -0
  343. data/ext/facter/facter/lib/inc/facter/logging/logging.hpp +192 -0
  344. data/ext/facter/facter/lib/inc/facter/ruby/ruby.hpp +62 -0
  345. data/ext/facter/facter/lib/inc/facter/util/config.hpp +84 -0
  346. data/ext/facter/facter/lib/inc/facter/util/string.hpp +72 -0
  347. data/ext/facter/facter/lib/inc/internal/facts/aix/disk_resolver.hpp +25 -0
  348. data/ext/facter/facter/lib/inc/internal/facts/aix/filesystem_resolver.hpp +41 -0
  349. data/ext/facter/facter/lib/inc/internal/facts/aix/kernel_resolver.hpp +25 -0
  350. data/ext/facter/facter/lib/inc/internal/facts/aix/memory_resolver.hpp +25 -0
  351. data/ext/facter/facter/lib/inc/internal/facts/aix/networking_resolver.hpp +49 -0
  352. data/ext/facter/facter/lib/inc/internal/facts/aix/operating_system_resolver.hpp +24 -0
  353. data/ext/facter/facter/lib/inc/internal/facts/aix/processor_resolver.hpp +25 -0
  354. data/ext/facter/facter/lib/inc/internal/facts/aix/serial_number_resolver.hpp +27 -0
  355. data/ext/facter/facter/lib/inc/internal/facts/bsd/filesystem_resolver.hpp +30 -0
  356. data/ext/facter/facter/lib/inc/internal/facts/bsd/networking_resolver.hpp +59 -0
  357. data/ext/facter/facter/lib/inc/internal/facts/bsd/uptime_resolver.hpp +24 -0
  358. data/ext/facter/facter/lib/inc/internal/facts/cache.hpp +71 -0
  359. data/ext/facter/facter/lib/inc/internal/facts/external/execution_resolver.hpp +31 -0
  360. data/ext/facter/facter/lib/inc/internal/facts/external/json_resolver.hpp +31 -0
  361. data/ext/facter/facter/lib/inc/internal/facts/external/text_resolver.hpp +31 -0
  362. data/ext/facter/facter/lib/inc/internal/facts/external/windows/powershell_resolver.hpp +34 -0
  363. data/ext/facter/facter/lib/inc/internal/facts/external/yaml_resolver.hpp +31 -0
  364. data/ext/facter/facter/lib/inc/internal/facts/freebsd/dmi_resolver.hpp +28 -0
  365. data/ext/facter/facter/lib/inc/internal/facts/freebsd/memory_resolver.hpp +25 -0
  366. data/ext/facter/facter/lib/inc/internal/facts/freebsd/networking_resolver.hpp +42 -0
  367. data/ext/facter/facter/lib/inc/internal/facts/freebsd/operating_system_resolver.hpp +24 -0
  368. data/ext/facter/facter/lib/inc/internal/facts/freebsd/processor_resolver.hpp +25 -0
  369. data/ext/facter/facter/lib/inc/internal/facts/freebsd/virtualization_resolver.hpp +27 -0
  370. data/ext/facter/facter/lib/inc/internal/facts/freebsd/zfs_resolver.hpp +24 -0
  371. data/ext/facter/facter/lib/inc/internal/facts/freebsd/zpool_resolver.hpp +24 -0
  372. data/ext/facter/facter/lib/inc/internal/facts/glib/load_average_resolver.hpp +24 -0
  373. data/ext/facter/facter/lib/inc/internal/facts/linux/disk_resolver.hpp +25 -0
  374. data/ext/facter/facter/lib/inc/internal/facts/linux/dmi_resolver.hpp +37 -0
  375. data/ext/facter/facter/lib/inc/internal/facts/linux/filesystem_resolver.hpp +40 -0
  376. data/ext/facter/facter/lib/inc/internal/facts/linux/fips_resolver.hpp +31 -0
  377. data/ext/facter/facter/lib/inc/internal/facts/linux/kernel_resolver.hpp +25 -0
  378. data/ext/facter/facter/lib/inc/internal/facts/linux/memory_resolver.hpp +25 -0
  379. data/ext/facter/facter/lib/inc/internal/facts/linux/networking_resolver.hpp +78 -0
  380. data/ext/facter/facter/lib/inc/internal/facts/linux/operating_system_resolver.hpp +28 -0
  381. data/ext/facter/facter/lib/inc/internal/facts/linux/os_cisco.hpp +114 -0
  382. data/ext/facter/facter/lib/inc/internal/facts/linux/os_coreos.hpp +56 -0
  383. data/ext/facter/facter/lib/inc/internal/facts/linux/os_cumulus.hpp +56 -0
  384. data/ext/facter/facter/lib/inc/internal/facts/linux/os_linux.hpp +72 -0
  385. data/ext/facter/facter/lib/inc/internal/facts/linux/processor_resolver.hpp +60 -0
  386. data/ext/facter/facter/lib/inc/internal/facts/linux/release_file.hpp +124 -0
  387. data/ext/facter/facter/lib/inc/internal/facts/linux/uptime_resolver.hpp +24 -0
  388. data/ext/facter/facter/lib/inc/internal/facts/linux/virtualization_resolver.hpp +50 -0
  389. data/ext/facter/facter/lib/inc/internal/facts/openbsd/dmi_resolver.hpp +28 -0
  390. data/ext/facter/facter/lib/inc/internal/facts/openbsd/memory_resolver.hpp +25 -0
  391. data/ext/facter/facter/lib/inc/internal/facts/openbsd/networking_resolver.hpp +42 -0
  392. data/ext/facter/facter/lib/inc/internal/facts/openbsd/processor_resolver.hpp +25 -0
  393. data/ext/facter/facter/lib/inc/internal/facts/openbsd/virtualization_resolver.hpp +25 -0
  394. data/ext/facter/facter/lib/inc/internal/facts/osx/dmi_resolver.hpp +25 -0
  395. data/ext/facter/facter/lib/inc/internal/facts/osx/memory_resolver.hpp +25 -0
  396. data/ext/facter/facter/lib/inc/internal/facts/osx/networking_resolver.hpp +60 -0
  397. data/ext/facter/facter/lib/inc/internal/facts/osx/operating_system_resolver.hpp +25 -0
  398. data/ext/facter/facter/lib/inc/internal/facts/osx/processor_resolver.hpp +25 -0
  399. data/ext/facter/facter/lib/inc/internal/facts/osx/system_profiler_resolver.hpp +25 -0
  400. data/ext/facter/facter/lib/inc/internal/facts/osx/virtualization_resolver.hpp +25 -0
  401. data/ext/facter/facter/lib/inc/internal/facts/posix/identity_resolver.hpp +25 -0
  402. data/ext/facter/facter/lib/inc/internal/facts/posix/kernel_resolver.hpp +25 -0
  403. data/ext/facter/facter/lib/inc/internal/facts/posix/networking_resolver.hpp +48 -0
  404. data/ext/facter/facter/lib/inc/internal/facts/posix/operating_system_resolver.hpp +25 -0
  405. data/ext/facter/facter/lib/inc/internal/facts/posix/processor_resolver.hpp +25 -0
  406. data/ext/facter/facter/lib/inc/internal/facts/posix/ssh_resolver.hpp +28 -0
  407. data/ext/facter/facter/lib/inc/internal/facts/posix/timezone_resolver.hpp +24 -0
  408. data/ext/facter/facter/lib/inc/internal/facts/posix/uptime_resolver.hpp +32 -0
  409. data/ext/facter/facter/lib/inc/internal/facts/posix/xen_resolver.hpp +24 -0
  410. data/ext/facter/facter/lib/inc/internal/facts/resolvers/augeas_resolver.hpp +35 -0
  411. data/ext/facter/facter/lib/inc/internal/facts/resolvers/disk_resolver.hpp +81 -0
  412. data/ext/facter/facter/lib/inc/internal/facts/resolvers/dmi_resolver.hpp +115 -0
  413. data/ext/facter/facter/lib/inc/internal/facts/resolvers/ec2_resolver.hpp +30 -0
  414. data/ext/facter/facter/lib/inc/internal/facts/resolvers/filesystem_resolver.hpp +166 -0
  415. data/ext/facter/facter/lib/inc/internal/facts/resolvers/fips_resolver.hpp +46 -0
  416. data/ext/facter/facter/lib/inc/internal/facts/resolvers/gce_resolver.hpp +28 -0
  417. data/ext/facter/facter/lib/inc/internal/facts/resolvers/hypervisors_resolver.hpp +69 -0
  418. data/ext/facter/facter/lib/inc/internal/facts/resolvers/identity_resolver.hpp +73 -0
  419. data/ext/facter/facter/lib/inc/internal/facts/resolvers/kernel_resolver.hpp +66 -0
  420. data/ext/facter/facter/lib/inc/internal/facts/resolvers/ldom_resolver.hpp +64 -0
  421. data/ext/facter/facter/lib/inc/internal/facts/resolvers/load_average_resolver.hpp +37 -0
  422. data/ext/facter/facter/lib/inc/internal/facts/resolvers/memory_resolver.hpp +99 -0
  423. data/ext/facter/facter/lib/inc/internal/facts/resolvers/networking_resolver.hpp +155 -0
  424. data/ext/facter/facter/lib/inc/internal/facts/resolvers/operating_system_resolver.hpp +235 -0
  425. data/ext/facter/facter/lib/inc/internal/facts/resolvers/path_resolver.hpp +28 -0
  426. data/ext/facter/facter/lib/inc/internal/facts/resolvers/processor_resolver.hpp +80 -0
  427. data/ext/facter/facter/lib/inc/internal/facts/resolvers/ruby_resolver.hpp +56 -0
  428. data/ext/facter/facter/lib/inc/internal/facts/resolvers/ssh_resolver.hpp +105 -0
  429. data/ext/facter/facter/lib/inc/internal/facts/resolvers/system_profiler_resolver.hpp +127 -0
  430. data/ext/facter/facter/lib/inc/internal/facts/resolvers/timezone_resolver.hpp +36 -0
  431. data/ext/facter/facter/lib/inc/internal/facts/resolvers/uptime_resolver.hpp +36 -0
  432. data/ext/facter/facter/lib/inc/internal/facts/resolvers/virtualization_resolver.hpp +95 -0
  433. data/ext/facter/facter/lib/inc/internal/facts/resolvers/xen_resolver.hpp +55 -0
  434. data/ext/facter/facter/lib/inc/internal/facts/resolvers/zfs_resolver.hpp +59 -0
  435. data/ext/facter/facter/lib/inc/internal/facts/resolvers/zone_resolver.hpp +95 -0
  436. data/ext/facter/facter/lib/inc/internal/facts/resolvers/zpool_resolver.hpp +63 -0
  437. data/ext/facter/facter/lib/inc/internal/facts/solaris/disk_resolver.hpp +25 -0
  438. data/ext/facter/facter/lib/inc/internal/facts/solaris/dmi_resolver.hpp +25 -0
  439. data/ext/facter/facter/lib/inc/internal/facts/solaris/filesystem_resolver.hpp +29 -0
  440. data/ext/facter/facter/lib/inc/internal/facts/solaris/kernel_resolver.hpp +25 -0
  441. data/ext/facter/facter/lib/inc/internal/facts/solaris/ldom_resolver.hpp +25 -0
  442. data/ext/facter/facter/lib/inc/internal/facts/solaris/memory_resolver.hpp +25 -0
  443. data/ext/facter/facter/lib/inc/internal/facts/solaris/networking_resolver.hpp +48 -0
  444. data/ext/facter/facter/lib/inc/internal/facts/solaris/operating_system_resolver.hpp +25 -0
  445. data/ext/facter/facter/lib/inc/internal/facts/solaris/processor_resolver.hpp +25 -0
  446. data/ext/facter/facter/lib/inc/internal/facts/solaris/virtualization_resolver.hpp +25 -0
  447. data/ext/facter/facter/lib/inc/internal/facts/solaris/zfs_resolver.hpp +24 -0
  448. data/ext/facter/facter/lib/inc/internal/facts/solaris/zone_resolver.hpp +25 -0
  449. data/ext/facter/facter/lib/inc/internal/facts/solaris/zpool_resolver.hpp +24 -0
  450. data/ext/facter/facter/lib/inc/internal/facts/windows/dmi_resolver.hpp +38 -0
  451. data/ext/facter/facter/lib/inc/internal/facts/windows/identity_resolver.hpp +25 -0
  452. data/ext/facter/facter/lib/inc/internal/facts/windows/kernel_resolver.hpp +25 -0
  453. data/ext/facter/facter/lib/inc/internal/facts/windows/memory_resolver.hpp +25 -0
  454. data/ext/facter/facter/lib/inc/internal/facts/windows/networking_resolver.hpp +74 -0
  455. data/ext/facter/facter/lib/inc/internal/facts/windows/operating_system_resolver.hpp +36 -0
  456. data/ext/facter/facter/lib/inc/internal/facts/windows/processor_resolver.hpp +36 -0
  457. data/ext/facter/facter/lib/inc/internal/facts/windows/timezone_resolver.hpp +24 -0
  458. data/ext/facter/facter/lib/inc/internal/facts/windows/uptime_resolver.hpp +32 -0
  459. data/ext/facter/facter/lib/inc/internal/facts/windows/virtualization_resolver.hpp +37 -0
  460. data/ext/facter/facter/lib/inc/internal/ruby/aggregate_resolution.hpp +77 -0
  461. data/ext/facter/facter/lib/inc/internal/ruby/chunk.hpp +83 -0
  462. data/ext/facter/facter/lib/inc/internal/ruby/confine.hpp +60 -0
  463. data/ext/facter/facter/lib/inc/internal/ruby/fact.hpp +108 -0
  464. data/ext/facter/facter/lib/inc/internal/ruby/module.hpp +165 -0
  465. data/ext/facter/facter/lib/inc/internal/ruby/resolution.hpp +126 -0
  466. data/ext/facter/facter/lib/inc/internal/ruby/ruby_value.hpp +119 -0
  467. data/ext/facter/facter/lib/inc/internal/ruby/simple_resolution.hpp +56 -0
  468. data/ext/facter/facter/lib/inc/internal/util/agent.hpp +29 -0
  469. data/ext/facter/facter/lib/inc/internal/util/aix/odm.hpp +373 -0
  470. data/ext/facter/facter/lib/inc/internal/util/aix/vmount.hpp +139 -0
  471. data/ext/facter/facter/lib/inc/internal/util/bsd/scoped_ifaddrs.hpp +33 -0
  472. data/ext/facter/facter/lib/inc/internal/util/posix/scoped_addrinfo.hpp +45 -0
  473. data/ext/facter/facter/lib/inc/internal/util/posix/scoped_bio.hpp +34 -0
  474. data/ext/facter/facter/lib/inc/internal/util/posix/scoped_descriptor.hpp +27 -0
  475. data/ext/facter/facter/lib/inc/internal/util/scoped_file.hpp +36 -0
  476. data/ext/facter/facter/lib/inc/internal/util/solaris/k_stat.hpp +176 -0
  477. data/ext/facter/facter/lib/inc/internal/util/solaris/scoped_kstat.hpp +45 -0
  478. data/ext/facter/facter/lib/inc/internal/util/versions.hpp +34 -0
  479. data/ext/facter/facter/lib/inc/internal/util/windows/wsa.hpp +92 -0
  480. data/ext/facter/facter/lib/inc/internal/util/yaml.hpp +25 -0
  481. data/ext/facter/facter/lib/schema/core_facts.pot +2017 -0
  482. data/ext/facter/facter/lib/schema/facter.yaml +1947 -0
  483. data/ext/facter/facter/lib/schema/translation_tooling.rb +67 -0
  484. data/ext/facter/facter/lib/spec/unit/facter_spec.rb +136 -0
  485. data/ext/facter/facter/lib/spec_helper.rb.in +27 -0
  486. data/ext/facter/facter/lib/src/cwrapper.cc +45 -0
  487. data/ext/facter/facter/lib/src/facts/aix/collection.cc +32 -0
  488. data/ext/facter/facter/lib/src/facts/aix/disk_resolver.cc +66 -0
  489. data/ext/facter/facter/lib/src/facts/aix/filesystem_resolver.cc +132 -0
  490. data/ext/facter/facter/lib/src/facts/aix/kernel_resolver.cc +27 -0
  491. data/ext/facter/facter/lib/src/facts/aix/memory_resolver.cc +48 -0
  492. data/ext/facter/facter/lib/src/facts/aix/networking_resolver.cc +245 -0
  493. data/ext/facter/facter/lib/src/facts/aix/operating_system_resolver.cc +61 -0
  494. data/ext/facter/facter/lib/src/facts/aix/processor_resolver.cc +106 -0
  495. data/ext/facter/facter/lib/src/facts/aix/serial_number_resolver.cc +43 -0
  496. data/ext/facter/facter/lib/src/facts/array_value.cc +111 -0
  497. data/ext/facter/facter/lib/src/facts/bsd/collection.cc +27 -0
  498. data/ext/facter/facter/lib/src/facts/bsd/filesystem_resolver.cc +92 -0
  499. data/ext/facter/facter/lib/src/facts/bsd/networking_resolver.cc +175 -0
  500. data/ext/facter/facter/lib/src/facts/bsd/uptime_resolver.cc +23 -0
  501. data/ext/facter/facter/lib/src/facts/cache.cc +117 -0
  502. data/ext/facter/facter/lib/src/facts/collection.cc +661 -0
  503. data/ext/facter/facter/lib/src/facts/external/execution_resolver.cc +89 -0
  504. data/ext/facter/facter/lib/src/facts/external/json_resolver.cc +219 -0
  505. data/ext/facter/facter/lib/src/facts/external/resolver.cc +12 -0
  506. data/ext/facter/facter/lib/src/facts/external/text_resolver.cc +45 -0
  507. data/ext/facter/facter/lib/src/facts/external/windows/powershell_resolver.cc +117 -0
  508. data/ext/facter/facter/lib/src/facts/external/yaml_resolver.cc +45 -0
  509. data/ext/facter/facter/lib/src/facts/freebsd/collection.cc +41 -0
  510. data/ext/facter/facter/lib/src/facts/freebsd/dmi_resolver.cc +43 -0
  511. data/ext/facter/facter/lib/src/facts/freebsd/memory_resolver.cc +76 -0
  512. data/ext/facter/facter/lib/src/facts/freebsd/networking_resolver.cc +55 -0
  513. data/ext/facter/facter/lib/src/facts/freebsd/operating_system_resolver.cc +17 -0
  514. data/ext/facter/facter/lib/src/facts/freebsd/processor_resolver.cc +63 -0
  515. data/ext/facter/facter/lib/src/facts/freebsd/virtualization_resolver.cc +41 -0
  516. data/ext/facter/facter/lib/src/facts/freebsd/zfs_resolver.cc +12 -0
  517. data/ext/facter/facter/lib/src/facts/freebsd/zpool_resolver.cc +12 -0
  518. data/ext/facter/facter/lib/src/facts/glib/load_average_resolver.cc +22 -0
  519. data/ext/facter/facter/lib/src/facts/linux/collection.cc +44 -0
  520. data/ext/facter/facter/lib/src/facts/linux/disk_resolver.cc +80 -0
  521. data/ext/facter/facter/lib/src/facts/linux/dmi_resolver.cc +208 -0
  522. data/ext/facter/facter/lib/src/facts/linux/filesystem_resolver.cc +282 -0
  523. data/ext/facter/facter/lib/src/facts/linux/fips_resolver.cc +31 -0
  524. data/ext/facter/facter/lib/src/facts/linux/kernel_resolver.cc +20 -0
  525. data/ext/facter/facter/lib/src/facts/linux/memory_resolver.cc +50 -0
  526. data/ext/facter/facter/lib/src/facts/linux/networking_resolver.cc +275 -0
  527. data/ext/facter/facter/lib/src/facts/linux/operating_system_resolver.cc +175 -0
  528. data/ext/facter/facter/lib/src/facts/linux/os_linux.cc +393 -0
  529. data/ext/facter/facter/lib/src/facts/linux/processor_resolver.cc +200 -0
  530. data/ext/facter/facter/lib/src/facts/linux/uptime_resolver.cc +15 -0
  531. data/ext/facter/facter/lib/src/facts/linux/virtualization_resolver.cc +282 -0
  532. data/ext/facter/facter/lib/src/facts/map_value.cc +119 -0
  533. data/ext/facter/facter/lib/src/facts/openbsd/collection.cc +37 -0
  534. data/ext/facter/facter/lib/src/facts/openbsd/dmi_resolver.cc +47 -0
  535. data/ext/facter/facter/lib/src/facts/openbsd/memory_resolver.cc +76 -0
  536. data/ext/facter/facter/lib/src/facts/openbsd/networking_resolver.cc +55 -0
  537. data/ext/facter/facter/lib/src/facts/openbsd/processor_resolver.cc +59 -0
  538. data/ext/facter/facter/lib/src/facts/openbsd/virtualization_resolver.cc +20 -0
  539. data/ext/facter/facter/lib/src/facts/osx/collection.cc +39 -0
  540. data/ext/facter/facter/lib/src/facts/osx/dmi_resolver.cc +32 -0
  541. data/ext/facter/facter/lib/src/facts/osx/memory_resolver.cc +60 -0
  542. data/ext/facter/facter/lib/src/facts/osx/networking_resolver.cc +71 -0
  543. data/ext/facter/facter/lib/src/facts/osx/operating_system_resolver.cc +49 -0
  544. data/ext/facter/facter/lib/src/facts/osx/processor_resolver.cc +55 -0
  545. data/ext/facter/facter/lib/src/facts/osx/system_profiler_resolver.cc +66 -0
  546. data/ext/facter/facter/lib/src/facts/osx/virtualization_resolver.cc +46 -0
  547. data/ext/facter/facter/lib/src/facts/posix/cache.cc +9 -0
  548. data/ext/facter/facter/lib/src/facts/posix/collection.cc +48 -0
  549. data/ext/facter/facter/lib/src/facts/posix/identity_resolver.cc +79 -0
  550. data/ext/facter/facter/lib/src/facts/posix/kernel_resolver.cc +25 -0
  551. data/ext/facter/facter/lib/src/facts/posix/networking_resolver.cc +136 -0
  552. data/ext/facter/facter/lib/src/facts/posix/operatingsystem_resolver.cc +29 -0
  553. data/ext/facter/facter/lib/src/facts/posix/processor_resolver.cc +22 -0
  554. data/ext/facter/facter/lib/src/facts/posix/ssh_resolver.cc +116 -0
  555. data/ext/facter/facter/lib/src/facts/posix/timezone_resolver.cc +26 -0
  556. data/ext/facter/facter/lib/src/facts/posix/uptime_resolver.cc +53 -0
  557. data/ext/facter/facter/lib/src/facts/posix/xen_resolver.cc +43 -0
  558. data/ext/facter/facter/lib/src/facts/resolver.cc +105 -0
  559. data/ext/facter/facter/lib/src/facts/resolvers/augeas_resolver.cc +56 -0
  560. data/ext/facter/facter/lib/src/facts/resolvers/disk_resolver.cc +69 -0
  561. data/ext/facter/facter/lib/src/facts/resolvers/dmi_resolver.cc +160 -0
  562. data/ext/facter/facter/lib/src/facts/resolvers/ec2_resolver.cc +174 -0
  563. data/ext/facter/facter/lib/src/facts/resolvers/filesystem_resolver.cc +118 -0
  564. data/ext/facter/facter/lib/src/facts/resolvers/fips_resolver.cc +23 -0
  565. data/ext/facter/facter/lib/src/facts/resolvers/gce_resolver.cc +276 -0
  566. data/ext/facter/facter/lib/src/facts/resolvers/hypervisors_resolver.cc +76 -0
  567. data/ext/facter/facter/lib/src/facts/resolvers/identity_resolver.cc +50 -0
  568. data/ext/facter/facter/lib/src/facts/resolvers/kernel_resolver.cc +62 -0
  569. data/ext/facter/facter/lib/src/facts/resolvers/ldom_resolver.cc +60 -0
  570. data/ext/facter/facter/lib/src/facts/resolvers/load_average_resolver.cc +36 -0
  571. data/ext/facter/facter/lib/src/facts/resolvers/memory_resolver.cc +88 -0
  572. data/ext/facter/facter/lib/src/facts/resolvers/networking_resolver.cc +280 -0
  573. data/ext/facter/facter/lib/src/facts/resolvers/operating_system_resolver.cc +276 -0
  574. data/ext/facter/facter/lib/src/facts/resolvers/path_resolver.cc +25 -0
  575. data/ext/facter/facter/lib/src/facts/resolvers/processor_resolver.cc +70 -0
  576. data/ext/facter/facter/lib/src/facts/resolvers/ruby_resolver.cc +109 -0
  577. data/ext/facter/facter/lib/src/facts/resolvers/ssh_resolver.cc +77 -0
  578. data/ext/facter/facter/lib/src/facts/resolvers/system_profiler_resolver.cc +137 -0
  579. data/ext/facter/facter/lib/src/facts/resolvers/timezone_resolver.cc +27 -0
  580. data/ext/facter/facter/lib/src/facts/resolvers/uptime_resolver.cc +63 -0
  581. data/ext/facter/facter/lib/src/facts/resolvers/virtualization_resolver.cc +119 -0
  582. data/ext/facter/facter/lib/src/facts/resolvers/xen_resolver.cc +80 -0
  583. data/ext/facter/facter/lib/src/facts/resolvers/zfs_resolver.cc +63 -0
  584. data/ext/facter/facter/lib/src/facts/resolvers/zone_resolver.cc +91 -0
  585. data/ext/facter/facter/lib/src/facts/resolvers/zpool_resolver.cc +93 -0
  586. data/ext/facter/facter/lib/src/facts/scalar_value.cc +73 -0
  587. data/ext/facter/facter/lib/src/facts/solaris/collection.cc +51 -0
  588. data/ext/facter/facter/lib/src/facts/solaris/disk_resolver.cc +35 -0
  589. data/ext/facter/facter/lib/src/facts/solaris/dmi_resolver.cc +86 -0
  590. data/ext/facter/facter/lib/src/facts/solaris/filesystem_resolver.cc +92 -0
  591. data/ext/facter/facter/lib/src/facts/solaris/kernel_resolver.cc +24 -0
  592. data/ext/facter/facter/lib/src/facts/solaris/ldom_resolver.cc +87 -0
  593. data/ext/facter/facter/lib/src/facts/solaris/memory_resolver.cc +91 -0
  594. data/ext/facter/facter/lib/src/facts/solaris/networking_resolver.cc +183 -0
  595. data/ext/facter/facter/lib/src/facts/solaris/operating_system_resolver.cc +83 -0
  596. data/ext/facter/facter/lib/src/facts/solaris/processor_resolver.cc +105 -0
  597. data/ext/facter/facter/lib/src/facts/solaris/virtualization_resolver.cc +38 -0
  598. data/ext/facter/facter/lib/src/facts/solaris/zfs_resolver.cc +12 -0
  599. data/ext/facter/facter/lib/src/facts/solaris/zone_resolver.cc +33 -0
  600. data/ext/facter/facter/lib/src/facts/solaris/zpool_resolver.cc +12 -0
  601. data/ext/facter/facter/lib/src/facts/windows/cache.cc +11 -0
  602. data/ext/facter/facter/lib/src/facts/windows/collection.cc +91 -0
  603. data/ext/facter/facter/lib/src/facts/windows/dmi_resolver.cc +38 -0
  604. data/ext/facter/facter/lib/src/facts/windows/identity_resolver.cc +46 -0
  605. data/ext/facter/facter/lib/src/facts/windows/kernel_resolver.cc +78 -0
  606. data/ext/facter/facter/lib/src/facts/windows/memory_resolver.cc +25 -0
  607. data/ext/facter/facter/lib/src/facts/windows/networking_resolver.cc +227 -0
  608. data/ext/facter/facter/lib/src/facts/windows/operating_system_resolver.cc +125 -0
  609. data/ext/facter/facter/lib/src/facts/windows/processor_resolver.cc +99 -0
  610. data/ext/facter/facter/lib/src/facts/windows/timezone_resolver.cc +28 -0
  611. data/ext/facter/facter/lib/src/facts/windows/uptime_resolver.cc +26 -0
  612. data/ext/facter/facter/lib/src/facts/windows/virtualization_resolver.cc +63 -0
  613. data/ext/facter/facter/lib/src/java/facter.cc +185 -0
  614. data/ext/facter/facter/lib/src/logging/logging.cc +151 -0
  615. data/ext/facter/facter/lib/src/ruby/aggregate_resolution.cc +249 -0
  616. data/ext/facter/facter/lib/src/ruby/chunk.cc +136 -0
  617. data/ext/facter/facter/lib/src/ruby/confine.cc +84 -0
  618. data/ext/facter/facter/lib/src/ruby/fact.cc +382 -0
  619. data/ext/facter/facter/lib/src/ruby/module.cc +1130 -0
  620. data/ext/facter/facter/lib/src/ruby/resolution.cc +230 -0
  621. data/ext/facter/facter/lib/src/ruby/ruby.cc +150 -0
  622. data/ext/facter/facter/lib/src/ruby/ruby_value.cc +288 -0
  623. data/ext/facter/facter/lib/src/ruby/simple_resolution.cc +156 -0
  624. data/ext/facter/facter/lib/src/util/bsd/scoped_ifaddrs.cc +29 -0
  625. data/ext/facter/facter/lib/src/util/config/config.cc +83 -0
  626. data/ext/facter/facter/lib/src/util/config/posix/config.cc +12 -0
  627. data/ext/facter/facter/lib/src/util/config/windows/config.cc +14 -0
  628. data/ext/facter/facter/lib/src/util/posix/scoped_addrinfo.cc +41 -0
  629. data/ext/facter/facter/lib/src/util/posix/scoped_bio.cc +29 -0
  630. data/ext/facter/facter/lib/src/util/posix/scoped_descriptor.cc +20 -0
  631. data/ext/facter/facter/lib/src/util/scoped_file.cc +26 -0
  632. data/ext/facter/facter/lib/src/util/solaris/k_stat.cc +165 -0
  633. data/ext/facter/facter/lib/src/util/solaris/scoped_kstat.cc +31 -0
  634. data/ext/facter/facter/lib/src/util/string.cc +170 -0
  635. data/ext/facter/facter/lib/src/util/windows/wsa.cc +69 -0
  636. data/ext/facter/facter/lib/src/util/yaml.cc +72 -0
  637. data/ext/facter/facter/lib/tasks/spec.rake +26 -0
  638. data/ext/facter/facter/lib/tests/CMakeLists.txt +172 -0
  639. data/ext/facter/facter/lib/tests/collection_fixture.cc +15 -0
  640. data/ext/facter/facter/lib/tests/collection_fixture.hpp +19 -0
  641. data/ext/facter/facter/lib/tests/cwrapper.cc +22 -0
  642. data/ext/facter/facter/lib/tests/facts/array_value.cc +140 -0
  643. data/ext/facter/facter/lib/tests/facts/boolean_value.cc +67 -0
  644. data/ext/facter/facter/lib/tests/facts/cache.cc +100 -0
  645. data/ext/facter/facter/lib/tests/facts/collection.cc +576 -0
  646. data/ext/facter/facter/lib/tests/facts/double_value.cc +40 -0
  647. data/ext/facter/facter/lib/tests/facts/external/json_resolver.cc +62 -0
  648. data/ext/facter/facter/lib/tests/facts/external/posix/execution_resolver.cc +69 -0
  649. data/ext/facter/facter/lib/tests/facts/external/text_resolver.cc +46 -0
  650. data/ext/facter/facter/lib/tests/facts/external/windows/execution_resolver.cc +69 -0
  651. data/ext/facter/facter/lib/tests/facts/external/windows/powershell_resolver.cc +122 -0
  652. data/ext/facter/facter/lib/tests/facts/external/yaml_resolver.cc +70 -0
  653. data/ext/facter/facter/lib/tests/facts/integer_value.cc +69 -0
  654. data/ext/facter/facter/lib/tests/facts/linux/dmi_resolver.cc +116 -0
  655. data/ext/facter/facter/lib/tests/facts/linux/filesystem_resolver.cc +13 -0
  656. data/ext/facter/facter/lib/tests/facts/linux/processor_fixture.cc +259 -0
  657. data/ext/facter/facter/lib/tests/facts/linux/processor_fixture.hpp +77 -0
  658. data/ext/facter/facter/lib/tests/facts/linux/processor_resolver.cc +312 -0
  659. data/ext/facter/facter/lib/tests/facts/linux/virtualization_resolver.cc +48 -0
  660. data/ext/facter/facter/lib/tests/facts/map_value.cc +116 -0
  661. data/ext/facter/facter/lib/tests/facts/posix/collection.cc +39 -0
  662. data/ext/facter/facter/lib/tests/facts/posix/uptime_resolver.cc +52 -0
  663. data/ext/facter/facter/lib/tests/facts/resolvers/augeas_resolver.cc +58 -0
  664. data/ext/facter/facter/lib/tests/facts/resolvers/disk_resolver.cc +114 -0
  665. data/ext/facter/facter/lib/tests/facts/resolvers/dmi_resolver.cc +152 -0
  666. data/ext/facter/facter/lib/tests/facts/resolvers/filesystem_resolver.cc +206 -0
  667. data/ext/facter/facter/lib/tests/facts/resolvers/identity_resolver.cc +83 -0
  668. data/ext/facter/facter/lib/tests/facts/resolvers/kernel_resolver.cc +61 -0
  669. data/ext/facter/facter/lib/tests/facts/resolvers/ldom_resolver.cc +86 -0
  670. data/ext/facter/facter/lib/tests/facts/resolvers/memory_resolver.cc +135 -0
  671. data/ext/facter/facter/lib/tests/facts/resolvers/networking_resolver.cc +507 -0
  672. data/ext/facter/facter/lib/tests/facts/resolvers/operating_system_resolver.cc +247 -0
  673. data/ext/facter/facter/lib/tests/facts/resolvers/processor_resolver.cc +157 -0
  674. data/ext/facter/facter/lib/tests/facts/resolvers/ruby_resolver.cc +74 -0
  675. data/ext/facter/facter/lib/tests/facts/resolvers/ssh_resolver.cc +103 -0
  676. data/ext/facter/facter/lib/tests/facts/resolvers/system_profiler_resolver.cc +135 -0
  677. data/ext/facter/facter/lib/tests/facts/resolvers/timezone_resolver.cc +49 -0
  678. data/ext/facter/facter/lib/tests/facts/resolvers/uptime_resolver.cc +151 -0
  679. data/ext/facter/facter/lib/tests/facts/resolvers/virtualization_resolver.cc +175 -0
  680. data/ext/facter/facter/lib/tests/facts/resolvers/xen_resolver.cc +100 -0
  681. data/ext/facter/facter/lib/tests/facts/resolvers/zfs_resolver.cc +65 -0
  682. data/ext/facter/facter/lib/tests/facts/resolvers/zone_resolver.cc +122 -0
  683. data/ext/facter/facter/lib/tests/facts/resolvers/zpool_resolver.cc +69 -0
  684. data/ext/facter/facter/lib/tests/facts/schema.cc +796 -0
  685. data/ext/facter/facter/lib/tests/facts/string_value.cc +270 -0
  686. data/ext/facter/facter/lib/tests/facts/windows/collection.cc +60 -0
  687. data/ext/facter/facter/lib/tests/facts/windows/networking_resolver.cc +217 -0
  688. data/ext/facter/facter/lib/tests/fixtures.cc +62 -0
  689. data/ext/facter/facter/lib/tests/fixtures.hpp.in +27 -0
  690. data/ext/facter/facter/lib/tests/fixtures/execution/with space/command_with_space.bat +2 -0
  691. data/ext/facter/facter/lib/tests/fixtures/facts/external/json/facts.json +12 -0
  692. data/ext/facter/facter/lib/tests/fixtures/facts/external/json/invalid.json +1 -0
  693. data/ext/facter/facter/lib/tests/fixtures/facts/external/ordering/bar/foo.yaml +1 -0
  694. data/ext/facter/facter/lib/tests/fixtures/facts/external/ordering/foo/foo.yaml +1 -0
  695. data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/error_message +4 -0
  696. data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/facts +5 -0
  697. data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/failed +3 -0
  698. data/ext/facter/facter/lib/tests/fixtures/facts/external/posix/execution/not_executable +1 -0
  699. data/ext/facter/facter/lib/tests/fixtures/facts/external/text/facts.txt +4 -0
  700. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/error_message.bat +4 -0
  701. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/facts.bat +4 -0
  702. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/failed.cmd +2 -0
  703. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/not_executable +1 -0
  704. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/execution/ruby_script.rb +1 -0
  705. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/error_message.ps1 +3 -0
  706. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/facts.ps1 +4 -0
  707. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/failed.ps1 +2 -0
  708. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/json.ps1 +21 -0
  709. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/not_executable +1 -0
  710. data/ext/facter/facter/lib/tests/fixtures/facts/external/windows/powershell/yaml.ps1 +18 -0
  711. data/ext/facter/facter/lib/tests/fixtures/facts/external/yaml/facts.yaml +15 -0
  712. data/ext/facter/facter/lib/tests/fixtures/facts/external/yaml/invalid.yaml +1 -0
  713. data/ext/facter/facter/lib/tests/fixtures/facts/external/z/303/266/facts.rb +3 -0
  714. data/ext/facter/facter/lib/tests/fixtures/facts/external/z/303/266/facts.txt +1 -0
  715. data/ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/azure +3 -0
  716. data/ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/azure-unknown +3 -0
  717. data/ext/facter/facter/lib/tests/fixtures/facts/linux/cloud/not-azure +0 -0
  718. data/ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/full.txt +83 -0
  719. data/ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/full_alternative.txt +83 -0
  720. data/ext/facter/facter/lib/tests/fixtures/facts/linux/dmidecode/none.txt +2 -0
  721. data/ext/facter/facter/lib/tests/fixtures/ruby/100_resolutions.rb +7 -0
  722. data/ext/facter/facter/lib/tests/fixtures/ruby/101_resolutions.rb +7 -0
  723. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate.rb +9 -0
  724. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_invalid_require.rb +9 -0
  725. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_block.rb +30 -0
  726. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_cycle.rb +9 -0
  727. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_invalid_merge.rb +13 -0
  728. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_merge.rb +23 -0
  729. data/ext/facter/facter/lib/tests/fixtures/ruby/aggregate_with_require.rb +16 -0
  730. data/ext/facter/facter/lib/tests/fixtures/ruby/array_confine.rb +6 -0
  731. data/ext/facter/facter/lib/tests/fixtures/ruby/array_fact.rb +5 -0
  732. data/ext/facter/facter/lib/tests/fixtures/ruby/bad_command.rb +19 -0
  733. data/ext/facter/facter/lib/tests/fixtures/ruby/bad_syntax.rb +2 -0
  734. data/ext/facter/facter/lib/tests/fixtures/ruby/bignum_fact_value.rb +5 -0
  735. data/ext/facter/facter/lib/tests/fixtures/ruby/block_confine.rb +9 -0
  736. data/ext/facter/facter/lib/tests/fixtures/ruby/block_false_confine.rb +9 -0
  737. data/ext/facter/facter/lib/tests/fixtures/ruby/block_nil_confine.rb +9 -0
  738. data/ext/facter/facter/lib/tests/fixtures/ruby/block_true_confine.rb +9 -0
  739. data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_false_confine.rb +6 -0
  740. data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_false_fact.rb +5 -0
  741. data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_true_confine.rb +6 -0
  742. data/ext/facter/facter/lib/tests/fixtures/ruby/boolean_true_fact.rb +5 -0
  743. data/ext/facter/facter/lib/tests/fixtures/ruby/command_with_space.rb +5 -0
  744. data/ext/facter/facter/lib/tests/fixtures/ruby/confine_missing_fact.rb +22 -0
  745. data/ext/facter/facter/lib/tests/fixtures/ruby/confine_weight.rb +20 -0
  746. data/ext/facter/facter/lib/tests/fixtures/ruby/custom_dir/expect_network_init.rb +15 -0
  747. data/ext/facter/facter/lib/tests/fixtures/ruby/cycle.rb +7 -0
  748. data/ext/facter/facter/lib/tests/fixtures/ruby/debug.rb +7 -0
  749. data/ext/facter/facter/lib/tests/fixtures/ruby/debugging.rb +14 -0
  750. data/ext/facter/facter/lib/tests/fixtures/ruby/debugonce.rb +9 -0
  751. data/ext/facter/facter/lib/tests/fixtures/ruby/define_aggregate_fact.rb +13 -0
  752. data/ext/facter/facter/lib/tests/fixtures/ruby/define_fact.rb +9 -0
  753. data/ext/facter/facter/lib/tests/fixtures/ruby/double_fact.rb +5 -0
  754. data/ext/facter/facter/lib/tests/fixtures/ruby/empty_command.rb +3 -0
  755. data/ext/facter/facter/lib/tests/fixtures/ruby/empty_fact.rb +1 -0
  756. data/ext/facter/facter/lib/tests/fixtures/ruby/empty_fact_with_value.rb +1 -0
  757. data/ext/facter/facter/lib/tests/fixtures/ruby/empty_setcode_command.rb +3 -0
  758. data/ext/facter/facter/lib/tests/fixtures/ruby/exec.rb +7 -0
  759. data/ext/facter/facter/lib/tests/fixtures/ruby/execute_on_fail_raise.rb +17 -0
  760. data/ext/facter/facter/lib/tests/fixtures/ruby/execute_on_fail_value.rb +5 -0
  761. data/ext/facter/facter/lib/tests/fixtures/ruby/execute_timeout.rb +1 -0
  762. data/ext/facter/facter/lib/tests/fixtures/ruby/execution_failure.rb +5 -0
  763. data/ext/facter/facter/lib/tests/fixtures/ruby/existing_aggregate_resolution.rb +5 -0
  764. data/ext/facter/facter/lib/tests/fixtures/ruby/existing_simple_resolution.rb +5 -0
  765. data/ext/facter/facter/lib/tests/fixtures/ruby/fact.rb +7 -0
  766. data/ext/facter/facter/lib/tests/fixtures/ruby/facter.rb +7 -0
  767. data/ext/facter/facter/lib/tests/fixtures/ruby/facterversion.rb +17 -0
  768. data/ext/facter/facter/lib/tests/fixtures/ruby/hash_fact.rb +5 -0
  769. data/ext/facter/facter/lib/tests/fixtures/ruby/hash_with_non_string_key.rb +5 -0
  770. data/ext/facter/facter/lib/tests/fixtures/ruby/integer_fact.rb +5 -0
  771. data/ext/facter/facter/lib/tests/fixtures/ruby/log_exception.rb +21 -0
  772. data/ext/facter/facter/lib/tests/fixtures/ruby/lookup.rb +7 -0
  773. data/ext/facter/facter/lib/tests/fixtures/ruby/multi_confine.rb +6 -0
  774. data/ext/facter/facter/lib/tests/fixtures/ruby/named_resolution.rb +13 -0
  775. data/ext/facter/facter/lib/tests/fixtures/ruby/negative_number.rb +5 -0
  776. data/ext/facter/facter/lib/tests/fixtures/ruby/nil_fact.rb +5 -0
  777. data/ext/facter/facter/lib/tests/fixtures/ruby/nonexistent_command.rb +21 -0
  778. data/ext/facter/facter/lib/tests/fixtures/ruby/on_message.rb +16 -0
  779. data/ext/facter/facter/lib/tests/fixtures/ruby/range_confine.rb +6 -0
  780. data/ext/facter/facter/lib/tests/fixtures/ruby/regexp_confine.rb +6 -0
  781. data/ext/facter/facter/lib/tests/fixtures/ruby/ruby.rb +6 -0
  782. data/ext/facter/facter/lib/tests/fixtures/ruby/simple.rb +11 -0
  783. data/ext/facter/facter/lib/tests/fixtures/ruby/simple_command.rb +7 -0
  784. data/ext/facter/facter/lib/tests/fixtures/ruby/simple_confine.rb +6 -0
  785. data/ext/facter/facter/lib/tests/fixtures/ruby/simple_resolution.rb +5 -0
  786. data/ext/facter/facter/lib/tests/fixtures/ruby/single_allocation.rb +7 -0
  787. data/ext/facter/facter/lib/tests/fixtures/ruby/stderr_output.rb +9 -0
  788. data/ext/facter/facter/lib/tests/fixtures/ruby/string_fact.rb +5 -0
  789. data/ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb +10 -0
  790. data/ext/facter/facter/lib/tests/fixtures/ruby/trace.rb +22 -0
  791. data/ext/facter/facter/lib/tests/fixtures/ruby/uni/341/220/201dir/customfacts/342/204/242.rb +6 -0
  792. data/ext/facter/facter/lib/tests/fixtures/ruby/uses_exit_code.rb +7 -0
  793. data/ext/facter/facter/lib/tests/fixtures/ruby/value.rb +6 -0
  794. data/ext/facter/facter/lib/tests/fixtures/ruby/version.rb +2 -0
  795. data/ext/facter/facter/lib/tests/fixtures/ruby/warn.rb +7 -0
  796. data/ext/facter/facter/lib/tests/fixtures/ruby/warnonce.rb +9 -0
  797. data/ext/facter/facter/lib/tests/fixtures/ruby/weight.rb +20 -0
  798. data/ext/facter/facter/lib/tests/fixtures/ruby/weight_option.rb +17 -0
  799. data/ext/facter/facter/lib/tests/fixtures/ruby/which.rb +9 -0
  800. data/ext/facter/facter/lib/tests/fixtures/ruby/windows/ole.rb +7 -0
  801. data/ext/facter/facter/lib/tests/java/facter.cc +69 -0
  802. data/ext/facter/facter/lib/tests/log_capture.cc +29 -0
  803. data/ext/facter/facter/lib/tests/log_capture.hpp +35 -0
  804. data/ext/facter/facter/lib/tests/logging/logging.cc +69 -0
  805. data/ext/facter/facter/lib/tests/main.cc +20 -0
  806. data/ext/facter/facter/lib/tests/mock_server.cc +44 -0
  807. data/ext/facter/facter/lib/tests/mock_server.hpp +25 -0
  808. data/ext/facter/facter/lib/tests/ruby/ruby.cc +634 -0
  809. data/ext/facter/facter/lib/tests/ruby/ruby_dirfacts.cc +35 -0
  810. data/ext/facter/facter/lib/tests/ruby/ruby_helper.cc +41 -0
  811. data/ext/facter/facter/lib/tests/ruby/ruby_helper.hpp +8 -0
  812. data/ext/facter/facter/lib/tests/ruby/windows/ruby.cc +53 -0
  813. data/ext/facter/facter/lib/tests/util/bsd/scoped_ifaddrs.cc +10 -0
  814. data/ext/facter/facter/lib/tests/util/posix/scoped_addrinfo.cc +11 -0
  815. data/ext/facter/facter/lib/tests/util/posix/scoped_bio.cc +12 -0
  816. data/ext/facter/facter/lib/tests/util/posix/scoped_descriptor.cc +22 -0
  817. data/ext/facter/facter/lib/tests/util/string.cc +291 -0
  818. data/ext/facter/facter/lib/version.h.in +28 -0
  819. data/ext/facter/facter/locales/CMakeLists.txt +7 -0
  820. data/ext/facter/facter/locales/FACTER.pot +1508 -0
  821. data/ext/facter/facter/man/man8/facter.8 +205 -0
  822. data/ext/facter/facter/scripts/cpplint.py +4754 -0
  823. data/ext/facter/facter/scripts/travis_target.sh +83 -0
  824. data/ext/facter/facter/tasks/ci.rake +22 -0
  825. data/ext/facter/leatherman/CHANGELOG.md +430 -0
  826. data/ext/facter/leatherman/CMakeLists.txt +143 -0
  827. data/ext/facter/leatherman/CONTRIBUTING.md +98 -0
  828. data/ext/facter/leatherman/LICENSE +17 -0
  829. data/ext/facter/leatherman/LeathermanConfig.cmake.in +57 -0
  830. data/ext/facter/leatherman/LeathermanConfigVersion.cmake.in +11 -0
  831. data/ext/facter/leatherman/MAINTAINERS +28 -0
  832. data/ext/facter/leatherman/README.md +416 -0
  833. data/ext/facter/leatherman/appveyor.yml +47 -0
  834. data/ext/facter/leatherman/catch/CMakeLists.txt +1 -0
  835. data/ext/facter/leatherman/cmake/FindICU.cmake +690 -0
  836. data/ext/facter/leatherman/cmake/GetGitRevisionDescription.cmake +130 -0
  837. data/ext/facter/leatherman/cmake/GetGitRevisionDescription.cmake.in +38 -0
  838. data/ext/facter/leatherman/cmake/cflags.cmake +110 -0
  839. data/ext/facter/leatherman/cmake/generate_translations.cmake +17 -0
  840. data/ext/facter/leatherman/cmake/internal.cmake +241 -0
  841. data/ext/facter/leatherman/cmake/leatherman.cmake.in +369 -0
  842. data/ext/facter/leatherman/cmake/leatherman_config.cmake +80 -0
  843. data/ext/facter/leatherman/cmake/normalize_pot.cmake +17 -0
  844. data/ext/facter/leatherman/cmake/options.cmake +21 -0
  845. data/ext/facter/leatherman/cmake/pod2man.cmake +36 -0
  846. data/ext/facter/leatherman/curl/CMakeLists.txt +42 -0
  847. data/ext/facter/leatherman/curl/inc/leatherman/curl/client.hpp +441 -0
  848. data/ext/facter/leatherman/curl/inc/leatherman/curl/request.hpp +130 -0
  849. data/ext/facter/leatherman/curl/inc/leatherman/curl/response.hpp +80 -0
  850. data/ext/facter/leatherman/curl/src/client.cc +575 -0
  851. data/ext/facter/leatherman/curl/src/request.cc +112 -0
  852. data/ext/facter/leatherman/curl/src/response.cc +62 -0
  853. data/ext/facter/leatherman/curl/tests/CMakeLists.txt +22 -0
  854. data/ext/facter/leatherman/curl/tests/client_test.cc +613 -0
  855. data/ext/facter/leatherman/curl/tests/fixtures.cc +27 -0
  856. data/ext/facter/leatherman/curl/tests/fixtures.hpp +31 -0
  857. data/ext/facter/leatherman/curl/tests/mock_curl.cc +423 -0
  858. data/ext/facter/leatherman/curl/tests/mock_curl.hpp +85 -0
  859. data/ext/facter/leatherman/curl/tests/request_test.cc +85 -0
  860. data/ext/facter/leatherman/curl/tests/response_test.cc +58 -0
  861. data/ext/facter/leatherman/dynamic_library/CMakeLists.txt +43 -0
  862. data/ext/facter/leatherman/dynamic_library/inc/leatherman/dynamic_library/dynamic_library.hpp +122 -0
  863. data/ext/facter/leatherman/dynamic_library/src/dynamic_library.cc +57 -0
  864. data/ext/facter/leatherman/dynamic_library/src/posix/dynamic_library.cc +91 -0
  865. data/ext/facter/leatherman/dynamic_library/src/windows/dynamic_library.cc +128 -0
  866. data/ext/facter/leatherman/dynamic_library/tests/dynamic_library_tests.cc +94 -0
  867. data/ext/facter/leatherman/dynamic_library/tests/fixtures.hpp.in +3 -0
  868. data/ext/facter/leatherman/dynamic_library/tests/test-lib/goodbye.cc +5 -0
  869. data/ext/facter/leatherman/dynamic_library/tests/test-lib/hello.cc +7 -0
  870. data/ext/facter/leatherman/execution/CMakeLists.txt +65 -0
  871. data/ext/facter/leatherman/execution/inc/leatherman/execution/execution.hpp +488 -0
  872. data/ext/facter/leatherman/execution/src/execution.cc +510 -0
  873. data/ext/facter/leatherman/execution/src/posix/execution.cc +574 -0
  874. data/ext/facter/leatherman/execution/src/posix/generic/platform.cc +30 -0
  875. data/ext/facter/leatherman/execution/src/posix/platform.hpp +15 -0
  876. data/ext/facter/leatherman/execution/src/posix/solaris/platform.cc +197 -0
  877. data/ext/facter/leatherman/execution/src/windows/execution.cc +698 -0
  878. data/ext/facter/leatherman/execution/tests/fixtures.hpp.in +2 -0
  879. data/ext/facter/leatherman/execution/tests/fixtures/echo_pid +2 -0
  880. data/ext/facter/leatherman/execution/tests/fixtures/error_message +5 -0
  881. data/ext/facter/leatherman/execution/tests/fixtures/execution/selfkill.sh +3 -0
  882. data/ext/facter/leatherman/execution/tests/fixtures/execution/sleep.sh +3 -0
  883. data/ext/facter/leatherman/execution/tests/fixtures/facts +5 -0
  884. data/ext/facter/leatherman/execution/tests/fixtures/failed +3 -0
  885. data/ext/facter/leatherman/execution/tests/fixtures/ls/crlf.txt +3 -0
  886. data/ext/facter/leatherman/execution/tests/fixtures/ls/file1.txt +1 -0
  887. data/ext/facter/leatherman/execution/tests/fixtures/ls/file2.txt +1 -0
  888. data/ext/facter/leatherman/execution/tests/fixtures/ls/file3.txt +1 -0
  889. data/ext/facter/leatherman/execution/tests/fixtures/ls/file4.txt +7 -0
  890. data/ext/facter/leatherman/execution/tests/fixtures/not_executable +1 -0
  891. data/ext/facter/leatherman/execution/tests/fixtures/windows/error_message.bat +6 -0
  892. data/ext/facter/leatherman/execution/tests/fixtures/windows/facts.bat +4 -0
  893. data/ext/facter/leatherman/execution/tests/fixtures/windows/failed.cmd +2 -0
  894. data/ext/facter/leatherman/execution/tests/fixtures/windows/not_executable +1 -0
  895. data/ext/facter/leatherman/execution/tests/fixtures/windows/ruby_script.rb +1 -0
  896. data/ext/facter/leatherman/execution/tests/log_capture.cc +29 -0
  897. data/ext/facter/leatherman/execution/tests/log_capture.hpp +35 -0
  898. data/ext/facter/leatherman/execution/tests/lth_cat.cc +38 -0
  899. data/ext/facter/leatherman/execution/tests/lth_cat.hpp +9 -0
  900. data/ext/facter/leatherman/execution/tests/posix/execution.cc +728 -0
  901. data/ext/facter/leatherman/execution/tests/posix/solaris/execution.cc +54 -0
  902. data/ext/facter/leatherman/execution/tests/windows/execution.cc +789 -0
  903. data/ext/facter/leatherman/file_util/CMakeLists.txt +18 -0
  904. data/ext/facter/leatherman/file_util/inc/leatherman/file_util/directory.hpp +28 -0
  905. data/ext/facter/leatherman/file_util/inc/leatherman/file_util/file.hpp +95 -0
  906. data/ext/facter/leatherman/file_util/src/directory.cc +51 -0
  907. data/ext/facter/leatherman/file_util/src/file.cc +131 -0
  908. data/ext/facter/leatherman/file_util/tests/directory_utils_test.cc +87 -0
  909. data/ext/facter/leatherman/file_util/tests/file_utils_test.cc +195 -0
  910. data/ext/facter/leatherman/file_util/tests/fixtures.cc +37 -0
  911. data/ext/facter/leatherman/file_util/tests/fixtures.hpp +39 -0
  912. data/ext/facter/leatherman/json_container/CMakeLists.txt +11 -0
  913. data/ext/facter/leatherman/json_container/README.md +108 -0
  914. data/ext/facter/leatherman/json_container/inc/leatherman/json_container/json_container.hpp +443 -0
  915. data/ext/facter/leatherman/json_container/src/json_container.cc +655 -0
  916. data/ext/facter/leatherman/json_container/tests/json_container_test.cc +1129 -0
  917. data/ext/facter/leatherman/locale/CMakeLists.txt +46 -0
  918. data/ext/facter/leatherman/locale/disabled/locale.cc +38 -0
  919. data/ext/facter/leatherman/locale/inc/leatherman/locale/locale.hpp +263 -0
  920. data/ext/facter/leatherman/locale/locales/CMakeLists.txt +6 -0
  921. data/ext/facter/leatherman/locale/locales/fr.po +40 -0
  922. data/ext/facter/leatherman/locale/locales/leatherman_locale.pot +41 -0
  923. data/ext/facter/leatherman/locale/src/locale.cc +95 -0
  924. data/ext/facter/leatherman/locale/tests/format.cc +117 -0
  925. data/ext/facter/leatherman/locale/tests/locale.cc +190 -0
  926. data/ext/facter/leatherman/locales/CMakeLists.txt +7 -0
  927. data/ext/facter/leatherman/locales/leatherman.pot +717 -0
  928. data/ext/facter/leatherman/logging/CMakeLists.txt +43 -0
  929. data/ext/facter/leatherman/logging/inc/leatherman/logging/logging.hpp +264 -0
  930. data/ext/facter/leatherman/logging/locales/CMakeLists.txt +6 -0
  931. data/ext/facter/leatherman/logging/locales/fr.po +72 -0
  932. data/ext/facter/leatherman/logging/locales/leatherman_logging.pot +72 -0
  933. data/ext/facter/leatherman/logging/src/logging.cc +229 -0
  934. data/ext/facter/leatherman/logging/src/posix/logging.cc +39 -0
  935. data/ext/facter/leatherman/logging/src/windows/logging.cc +52 -0
  936. data/ext/facter/leatherman/logging/tests/logging.cc +118 -0
  937. data/ext/facter/leatherman/logging/tests/logging.hpp +88 -0
  938. data/ext/facter/leatherman/logging/tests/logging_i18n.cc +103 -0
  939. data/ext/facter/leatherman/logging/tests/logging_on_message.cc +61 -0
  940. data/ext/facter/leatherman/logging/tests/logging_stream.cc +159 -0
  941. data/ext/facter/leatherman/logging/tests/logging_stream_lines.cc +172 -0
  942. data/ext/facter/leatherman/logging/tests/posix/logging.cc +23 -0
  943. data/ext/facter/leatherman/logging/tests/windows/logging.cc +13 -0
  944. data/ext/facter/leatherman/nowide/CMakeLists.txt +7 -0
  945. data/ext/facter/leatherman/rapidjson/CMakeLists.txt +1 -0
  946. data/ext/facter/leatherman/ruby/CMakeLists.txt +26 -0
  947. data/ext/facter/leatherman/ruby/inc/leatherman/ruby/api.hpp +744 -0
  948. data/ext/facter/leatherman/ruby/src/api.cc +527 -0
  949. data/ext/facter/leatherman/ruby/src/posix/api.cc +14 -0
  950. data/ext/facter/leatherman/ruby/src/windows/api.cc +20 -0
  951. data/ext/facter/leatherman/ruby/tests/api-test.cc +206 -0
  952. data/ext/facter/leatherman/scripts/cpplint.py +6323 -0
  953. data/ext/facter/leatherman/tests/CMakeLists.txt +22 -0
  954. data/ext/facter/leatherman/tests/main.cc +17 -0
  955. data/ext/facter/leatherman/util/CMakeLists.txt +36 -0
  956. data/ext/facter/leatherman/util/inc/leatherman/util/environment.hpp +69 -0
  957. data/ext/facter/leatherman/util/inc/leatherman/util/option_set.hpp +228 -0
  958. data/ext/facter/leatherman/util/inc/leatherman/util/posix/scoped_descriptor.hpp +32 -0
  959. data/ext/facter/leatherman/util/inc/leatherman/util/regex.hpp +80 -0
  960. data/ext/facter/leatherman/util/inc/leatherman/util/scope_exit.hpp +62 -0
  961. data/ext/facter/leatherman/util/inc/leatherman/util/scoped_env.hpp +35 -0
  962. data/ext/facter/leatherman/util/inc/leatherman/util/scoped_resource.hpp +130 -0
  963. data/ext/facter/leatherman/util/inc/leatherman/util/strings.hpp +54 -0
  964. data/ext/facter/leatherman/util/inc/leatherman/util/time.hpp +36 -0
  965. data/ext/facter/leatherman/util/inc/leatherman/util/timer.hpp +43 -0
  966. data/ext/facter/leatherman/util/inc/leatherman/util/uri.hpp +23 -0
  967. data/ext/facter/leatherman/util/inc/leatherman/util/windows/scoped_handle.hpp +32 -0
  968. data/ext/facter/leatherman/util/src/environment.cc +29 -0
  969. data/ext/facter/leatherman/util/src/posix/environment.cc +75 -0
  970. data/ext/facter/leatherman/util/src/posix/scoped_descriptor.cc +23 -0
  971. data/ext/facter/leatherman/util/src/posix/time.cc +9 -0
  972. data/ext/facter/leatherman/util/src/scope_exit.cc +43 -0
  973. data/ext/facter/leatherman/util/src/scoped_env.cc +37 -0
  974. data/ext/facter/leatherman/util/src/strings.cc +41 -0
  975. data/ext/facter/leatherman/util/src/time.cc +49 -0
  976. data/ext/facter/leatherman/util/src/uri.cc +75 -0
  977. data/ext/facter/leatherman/util/src/windows/environment.cc +75 -0
  978. data/ext/facter/leatherman/util/src/windows/scoped_handle.cc +24 -0
  979. data/ext/facter/leatherman/util/src/windows/time.cc +10 -0
  980. data/ext/facter/leatherman/util/tests/environment.cc +90 -0
  981. data/ext/facter/leatherman/util/tests/option_set.cc +234 -0
  982. data/ext/facter/leatherman/util/tests/posix/environment.cc +36 -0
  983. data/ext/facter/leatherman/util/tests/scoped_env.cc +52 -0
  984. data/ext/facter/leatherman/util/tests/strings_test.cc +71 -0
  985. data/ext/facter/leatherman/util/tests/timer.cc +39 -0
  986. data/ext/facter/leatherman/util/tests/uri.cc +104 -0
  987. data/ext/facter/leatherman/util/tests/windows/environment.cc +30 -0
  988. data/ext/facter/leatherman/vendor/Catch-1.10.0.zip +0 -0
  989. data/ext/facter/leatherman/vendor/nowide/build/Jamfile.v2 +26 -0
  990. data/ext/facter/leatherman/vendor/nowide/doc/Doxyfile +1632 -0
  991. data/ext/facter/leatherman/vendor/nowide/doc/LICENSE_1_0.txt +23 -0
  992. data/ext/facter/leatherman/vendor/nowide/doc/gendoc.sh +11 -0
  993. data/ext/facter/leatherman/vendor/nowide/doc/main.txt +354 -0
  994. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/args.hpp +167 -0
  995. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/cenv.hpp +126 -0
  996. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/config.hpp +54 -0
  997. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/convert.hpp +154 -0
  998. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/cstdio.hpp +101 -0
  999. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/cstdlib.hpp +16 -0
  1000. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/filebuf.hpp +415 -0
  1001. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/fstream.hpp +283 -0
  1002. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/integration/filesystem.hpp +28 -0
  1003. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/iostream.hpp +99 -0
  1004. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/stackstring.hpp +154 -0
  1005. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/system.hpp +46 -0
  1006. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/utf8_codecvt.hpp +499 -0
  1007. data/ext/facter/leatherman/vendor/nowide/include/boost/nowide/windows.hpp +39 -0
  1008. data/ext/facter/leatherman/vendor/nowide/index.html +16 -0
  1009. data/ext/facter/leatherman/vendor/nowide/src/iostream.cpp +263 -0
  1010. data/ext/facter/leatherman/vendor/nowide/standalone/CMakeLists.txt +104 -0
  1011. data/ext/facter/leatherman/vendor/nowide/standalone/MinGW.cmake +9 -0
  1012. data/ext/facter/leatherman/vendor/nowide/standalone/config.hpp +37 -0
  1013. data/ext/facter/leatherman/vendor/nowide/standalone/convert +34 -0
  1014. data/ext/facter/leatherman/vendor/nowide/standalone/encoding_errors.hpp +58 -0
  1015. data/ext/facter/leatherman/vendor/nowide/standalone/encoding_utf.hpp +84 -0
  1016. data/ext/facter/leatherman/vendor/nowide/standalone/run_convert_and_build.sh +17 -0
  1017. data/ext/facter/leatherman/vendor/nowide/standalone/scoped_ptr.hpp +93 -0
  1018. data/ext/facter/leatherman/vendor/nowide/standalone/utf.hpp +469 -0
  1019. data/ext/facter/leatherman/vendor/nowide/template.hpp +19 -0
  1020. data/ext/facter/leatherman/vendor/nowide/test/Jamfile.v2 +43 -0
  1021. data/ext/facter/leatherman/vendor/nowide/test/test.hpp +25 -0
  1022. data/ext/facter/leatherman/vendor/nowide/test/test_codecvt.cpp +254 -0
  1023. data/ext/facter/leatherman/vendor/nowide/test/test_convert.cpp +101 -0
  1024. data/ext/facter/leatherman/vendor/nowide/test/test_env.cpp +49 -0
  1025. data/ext/facter/leatherman/vendor/nowide/test/test_fs.cpp +48 -0
  1026. data/ext/facter/leatherman/vendor/nowide/test/test_fstream.cpp +184 -0
  1027. data/ext/facter/leatherman/vendor/nowide/test/test_iostream.cpp +52 -0
  1028. data/ext/facter/leatherman/vendor/nowide/test/test_stdio.cpp +60 -0
  1029. data/ext/facter/leatherman/vendor/nowide/test/test_system.cpp +91 -0
  1030. data/ext/facter/leatherman/vendor/rapidjson-1.0.2.zip +0 -0
  1031. data/ext/facter/leatherman/windows/CMakeLists.txt +27 -0
  1032. data/ext/facter/leatherman/windows/inc/leatherman/windows/file_util.hpp +23 -0
  1033. data/ext/facter/leatherman/windows/inc/leatherman/windows/process.hpp +22 -0
  1034. data/ext/facter/leatherman/windows/inc/leatherman/windows/registry.hpp +56 -0
  1035. data/ext/facter/leatherman/windows/inc/leatherman/windows/system_error.hpp +23 -0
  1036. data/ext/facter/leatherman/windows/inc/leatherman/windows/user.hpp +30 -0
  1037. data/ext/facter/leatherman/windows/inc/leatherman/windows/windows.hpp +10 -0
  1038. data/ext/facter/leatherman/windows/inc/leatherman/windows/wmi.hpp +188 -0
  1039. data/ext/facter/leatherman/windows/src/file_util.cc +28 -0
  1040. data/ext/facter/leatherman/windows/src/process.cc +42 -0
  1041. data/ext/facter/leatherman/windows/src/registry.cc +96 -0
  1042. data/ext/facter/leatherman/windows/src/system_error.cc +33 -0
  1043. data/ext/facter/leatherman/windows/src/user.cc +76 -0
  1044. data/ext/facter/leatherman/windows/src/wmi.cc +208 -0
  1045. data/ext/facter/leatherman/windows/tests/file_utils_test.cc +13 -0
  1046. metadata +1089 -0
@@ -0,0 +1,28 @@
1
+ ///
2
+ /// @file
3
+ /// Declares macros for the facter library version.
4
+ ///
5
+ #pragma once
6
+
7
+ ///
8
+ /// The facter library major version.
9
+ ///
10
+ #define LIBFACTER_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
11
+ ///
12
+ /// The facter library minor version.
13
+ ///
14
+ #define LIBFACTER_VERSION_MINOR @PROJECT_VERSION_MINOR@
15
+ ///
16
+ /// The facter library patch version.
17
+ ///
18
+ #define LIBFACTER_VERSION_PATCH @PROJECT_VERSION_PATCH@
19
+
20
+ ///
21
+ /// The facter library version as a string (without commit SHA1).
22
+ ///
23
+ #define LIBFACTER_VERSION "@PROJECT_VERSION@"
24
+
25
+ ///
26
+ /// The facter library version as a string (with commit SHA1).
27
+ ///
28
+ #define LIBFACTER_VERSION_WITH_COMMIT "@PROJECT_VERSION@@LIBFACTER_COMMIT@"
@@ -0,0 +1,7 @@
1
+ if (NOT WIN32)
2
+ gettext_templates(${CMAKE_CURRENT_SOURCE_DIR} ${ALL_SOURCES})
3
+ gettext_compile(${CMAKE_CURRENT_SOURCE_DIR} share/locale)
4
+ SET_DIRECTORY_PROPERTIES(PROPERTIES CLEAN_NO_CUSTOM TRUE)
5
+ export_var(GETTEXT_ENABLED)
6
+ endif()
7
+
@@ -0,0 +1,1508 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR Puppet <docs@puppet.com>
3
+ # This file is distributed under the same license as the FACTER package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: FACTER 3.11.0\n"
10
+ "Report-Msgid-Bugs-To: docs@puppet.com\n"
11
+ "POT-Creation-Date: \n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+
20
+ #: exe/facter.cc
21
+ msgid ""
22
+ "Synopsis\n"
23
+ "========\n"
24
+ "\n"
25
+ "Collect and display facts about the system.\n"
26
+ "\n"
27
+ "Usage\n"
28
+ "=====\n"
29
+ "\n"
30
+ " facter [options] [query] [query] [...]\n"
31
+ "\n"
32
+ "Options\n"
33
+ "=======\n"
34
+ "\n"
35
+ "%1%\n"
36
+ "Description\n"
37
+ "===========\n"
38
+ "\n"
39
+ "Collect and display facts about the current system. The library behind\n"
40
+ "facter is easy to extend, making facter an easy way to collect information\n"
41
+ "about a system.\n"
42
+ "\n"
43
+ "If no queries are given, then all facts will be returned.\n"
44
+ "\n"
45
+ "Example Queries\n"
46
+ "===============\n"
47
+ "\n"
48
+ " facter kernel\n"
49
+ " facter networking.ip\n"
50
+ " facter processors.models.0\n"
51
+ "\n"
52
+ "Config File\n"
53
+ "===========\n"
54
+ "\n"
55
+ "Contains settings for configuring external and custom fact directories,\n"
56
+ "setting command line options, and blocking and caching facts.\n"
57
+ "Loaded by default from %2%.\n"
58
+ "See man page, README, or docs for more details."
59
+ msgstr ""
60
+
61
+ #. log
62
+ #: exe/facter.cc
63
+ msgid "executed with command line: %1%."
64
+ msgstr ""
65
+
66
+ #. log
67
+ #: exe/facter.cc
68
+ msgid "resolving all facts."
69
+ msgstr ""
70
+
71
+ #. log
72
+ #: exe/facter.cc
73
+ msgid "requested queries: %1%."
74
+ msgstr ""
75
+
76
+ #: exe/facter.cc
77
+ msgid "Enable color output."
78
+ msgstr ""
79
+
80
+ #: exe/facter.cc
81
+ msgid "The location of the config file."
82
+ msgstr ""
83
+
84
+ #: exe/facter.cc
85
+ msgid "A directory to use for custom facts."
86
+ msgstr ""
87
+
88
+ #: exe/facter.cc
89
+ msgid "Enable debug output."
90
+ msgstr ""
91
+
92
+ #: exe/facter.cc
93
+ msgid "A directory to use for external facts."
94
+ msgstr ""
95
+
96
+ #: exe/facter.cc
97
+ msgid "Print this help message."
98
+ msgstr ""
99
+
100
+ #: exe/facter.cc
101
+ msgid "Output in JSON format."
102
+ msgstr ""
103
+
104
+ #: exe/facter.cc
105
+ msgid "List the names of all blockable fact groups."
106
+ msgstr ""
107
+
108
+ #: exe/facter.cc
109
+ msgid "List the names of all cacheable fact groups."
110
+ msgstr ""
111
+
112
+ #: exe/facter.cc
113
+ msgid ""
114
+ "Set logging level.\n"
115
+ "Supported levels are: none, trace, debug, info, warn, error, and fatal."
116
+ msgstr ""
117
+
118
+ #: exe/facter.cc
119
+ msgid "Disable fact blocking."
120
+ msgstr ""
121
+
122
+ #: exe/facter.cc
123
+ msgid "Disable loading and refreshing facts from the cache"
124
+ msgstr ""
125
+
126
+ #: exe/facter.cc
127
+ msgid "Disable color output."
128
+ msgstr ""
129
+
130
+ #: exe/facter.cc
131
+ msgid "Disable custom facts."
132
+ msgstr ""
133
+
134
+ #: exe/facter.cc
135
+ msgid "Disable external facts."
136
+ msgstr ""
137
+
138
+ #: exe/facter.cc
139
+ msgid "Disable loading Ruby, facts requiring Ruby, and custom facts."
140
+ msgstr ""
141
+
142
+ #: exe/facter.cc
143
+ msgid ""
144
+ "(Deprecated: use `puppet facts` instead) Load the Puppet libraries, thus "
145
+ "allowing Facter to load Puppet-specific facts."
146
+ msgstr ""
147
+
148
+ #: exe/facter.cc
149
+ msgid "Show legacy facts when querying all facts."
150
+ msgstr ""
151
+
152
+ #: exe/facter.cc
153
+ msgid "Enable backtraces for custom facts."
154
+ msgstr ""
155
+
156
+ #: exe/facter.cc
157
+ msgid "Enable verbose (info) output."
158
+ msgstr ""
159
+
160
+ #: exe/facter.cc
161
+ msgid "Print the version and exit."
162
+ msgstr ""
163
+
164
+ #: exe/facter.cc
165
+ msgid "Output in YAML format."
166
+ msgstr ""
167
+
168
+ #: exe/facter.cc
169
+ msgid "Enable more aggressive error reporting."
170
+ msgstr ""
171
+
172
+ #: exe/facter.cc
173
+ msgid "color and no-color options conflict: please specify only one."
174
+ msgstr ""
175
+
176
+ #: exe/facter.cc
177
+ msgid "json and yaml options conflict: please specify only one."
178
+ msgstr ""
179
+
180
+ #: exe/facter.cc
181
+ msgid ""
182
+ "no-external-facts and external-dir options conflict: please specify only one."
183
+ msgstr ""
184
+
185
+ #: exe/facter.cc
186
+ msgid ""
187
+ "no-custom-facts and custom-dir options conflict: please specify only one."
188
+ msgstr ""
189
+
190
+ #: exe/facter.cc
191
+ msgid ""
192
+ "debug, verbose, and log-level options conflict: please specify only one."
193
+ msgstr ""
194
+
195
+ #: exe/facter.cc
196
+ msgid "no-ruby and custom-dir options conflict: please specify only one."
197
+ msgstr ""
198
+
199
+ #: exe/facter.cc
200
+ msgid "puppet and no-custom-facts options conflict: please specify only one."
201
+ msgstr ""
202
+
203
+ #: exe/facter.cc
204
+ msgid "puppet and no-ruby options conflict: please specify only one."
205
+ msgstr ""
206
+
207
+ #: exe/facter.cc
208
+ msgid "error: %1%"
209
+ msgstr ""
210
+
211
+ #. log
212
+ #: exe/facter.cc
213
+ msgid "Environment variable INSIDE_FACTER is set to 'true'"
214
+ msgstr ""
215
+
216
+ #. log
217
+ #: exe/facter.cc
218
+ msgid ""
219
+ "Facter was called recursively, skipping external facts. Add '--no-external-"
220
+ "facts' to silence this warning"
221
+ msgstr ""
222
+
223
+ #: exe/facter.cc
224
+ msgid "failed to initialize logging system due to a locale error: %1%"
225
+ msgstr ""
226
+
227
+ #. log
228
+ #: exe/facter.cc
229
+ msgid "unhandled exception: %1%"
230
+ msgstr ""
231
+
232
+ #. warning
233
+ #: lib/inc/internal/util/agent.hpp
234
+ msgid "{1} not found at configured location {2}, using PATH instead"
235
+ msgstr ""
236
+
237
+ #: lib/inc/internal/util/aix/odm.hpp
238
+ msgid "failed to retrieve ODM error message"
239
+ msgstr ""
240
+
241
+ #: lib/inc/internal/util/aix/odm.hpp
242
+ msgid ""
243
+ "Tried to construct an iterator with valid data but no owner. Naughty naughty."
244
+ msgstr ""
245
+
246
+ #: lib/inc/internal/util/aix/odm.hpp
247
+ msgid "Cannot iterate over the same ODM class concurrently"
248
+ msgstr ""
249
+
250
+ #. debug
251
+ #: lib/inc/internal/util/aix/vmount.hpp
252
+ msgid "Required space for mountpoints is {1}"
253
+ msgstr ""
254
+
255
+ #. debug
256
+ #: lib/inc/internal/util/aix/vmount.hpp
257
+ msgid "Got {1} mountpoints"
258
+ msgstr ""
259
+
260
+ #. debug
261
+ #: lib/src/facts/aix/disk_resolver.cc
262
+ msgid "got a disk type: {1}"
263
+ msgstr ""
264
+
265
+ #: lib/src/facts/aix/disk_resolver.cc lib/src/facts/aix/processor_resolver.cc
266
+ msgid "PdDvLn=%1%"
267
+ msgstr ""
268
+
269
+ #. debug
270
+ #: lib/src/facts/aix/disk_resolver.cc
271
+ msgid "got a disk: {1}"
272
+ msgstr ""
273
+
274
+ #: lib/src/facts/aix/disk_resolver.cc
275
+ msgid "/dev/%1%"
276
+ msgstr ""
277
+
278
+ #. warning
279
+ #: lib/src/facts/aix/disk_resolver.cc
280
+ msgid ""
281
+ "Expected a Disk or SCSI disk device, got device code '{1}'. This is probably "
282
+ "a Facter bug. Please report it, and include this error message."
283
+ msgstr ""
284
+
285
+ #. warning
286
+ #: lib/src/facts/aix/filesystem_resolver.cc
287
+ msgid "Could not get fs data for {1}: {2}"
288
+ msgstr ""
289
+
290
+ #: lib/src/facts/aix/filesystem_resolver.cc
291
+ #: lib/src/facts/aix/processor_resolver.cc
292
+ msgid "name=%1%"
293
+ msgstr ""
294
+
295
+ #. warning
296
+ #: lib/src/facts/aix/filesystem_resolver.cc
297
+ msgid "Could not get info for partition '{1}' from the LVM subsystem"
298
+ msgstr ""
299
+
300
+ #. warning
301
+ #: lib/src/facts/aix/filesystem_resolver.cc
302
+ msgid "querylv returned success but we got a null LV. WTF?"
303
+ msgstr ""
304
+
305
+ #: lib/src/facts/aix/networking_resolver.cc
306
+ msgid "getkerninfo call was unsuccessful"
307
+ msgstr ""
308
+
309
+ #. warning
310
+ #: lib/src/facts/aix/networking_resolver.cc
311
+ msgid ""
312
+ "got mixed address families for interface {1}, can't map them to a single "
313
+ "binding."
314
+ msgstr ""
315
+
316
+ #. info
317
+ #: lib/src/facts/aix/networking_resolver.cc
318
+ msgid "got ipv4 addresses for interface {1}"
319
+ msgstr ""
320
+
321
+ #. info
322
+ #: lib/src/facts/aix/networking_resolver.cc
323
+ msgid "got ipv6 addresses for interface {1}"
324
+ msgstr ""
325
+
326
+ #. info
327
+ #: lib/src/facts/aix/networking_resolver.cc
328
+ msgid "skipping unknown address family {1} for interface {2}"
329
+ msgstr ""
330
+
331
+ #. info
332
+ #: lib/src/facts/aix/networking_resolver.cc
333
+ msgid "somehow didn't get an address family for interface {1}"
334
+ msgstr ""
335
+
336
+ #. info
337
+ #: lib/src/facts/aix/networking_resolver.cc
338
+ msgid "got an unknown RT_IFLIST message: {1}"
339
+ msgstr ""
340
+
341
+ #. warning
342
+ #: lib/src/facts/aix/operating_system_resolver.cc
343
+ msgid "Could not get a value from lsattr -El {1} -a {2}"
344
+ msgstr ""
345
+
346
+ #. debug
347
+ #: lib/src/facts/aix/processor_resolver.cc
348
+ msgid "got a processor type: {1}"
349
+ msgstr ""
350
+
351
+ #. debug
352
+ #: lib/src/facts/aix/processor_resolver.cc
353
+ msgid "got a processor: {1}"
354
+ msgstr ""
355
+
356
+ #. debug
357
+ #: lib/src/facts/aix/processor_resolver.cc
358
+ msgid "got attribute {1}={2} for processor {3}"
359
+ msgstr ""
360
+
361
+ #. info
362
+ #: lib/src/facts/aix/processor_resolver.cc
363
+ msgid "don't know what to do with processor attribute {1}"
364
+ msgstr ""
365
+
366
+ #. warning
367
+ #: lib/src/facts/aix/processor_resolver.cc
368
+ msgid ""
369
+ "mismatched processor frequencies found; facter will only report one of them"
370
+ msgstr ""
371
+
372
+ #. debug
373
+ #: lib/src/facts/aix/serial_number_resolver.cc
374
+ msgid ""
375
+ "Could not retrieve serial number: sys0 systemid did not match the expected "
376
+ "format"
377
+ msgstr ""
378
+
379
+ #. debug
380
+ #: lib/src/facts/array_value.cc
381
+ msgid "null value cannot be added to array."
382
+ msgstr ""
383
+
384
+ #. error
385
+ #: lib/src/facts/bsd/filesystem_resolver.cc
386
+ msgid "getfsstat failed: {1} ({2}): file system facts are unavailable."
387
+ msgstr ""
388
+
389
+ #. warning
390
+ #: lib/src/facts/bsd/networking_resolver.cc
391
+ msgid "getifaddrs failed: {1} ({2}): interface information is unavailable."
392
+ msgstr ""
393
+
394
+ #. debug
395
+ #: lib/src/facts/bsd/networking_resolver.cc
396
+ msgid "searching \"{1}\" for dhclient lease files."
397
+ msgstr ""
398
+
399
+ #. debug
400
+ #: lib/src/facts/bsd/networking_resolver.cc
401
+ msgid "reading \"{1}\" for dhclient lease information."
402
+ msgstr ""
403
+
404
+ #. debug
405
+ #: lib/src/facts/cache.cc
406
+ msgid "Deleting unused cache file {1}"
407
+ msgstr ""
408
+
409
+ #. debug
410
+ #: lib/src/facts/cache.cc
411
+ msgid "cache file for {1} facts contained invalid JSON, refreshing"
412
+ msgstr ""
413
+
414
+ #. debug
415
+ #: lib/src/facts/cache.cc
416
+ msgid "cache file for {1} facts was missing, refreshing"
417
+ msgstr ""
418
+
419
+ #. debug
420
+ #: lib/src/facts/cache.cc
421
+ msgid "loading cached values for {1} facts"
422
+ msgstr ""
423
+
424
+ #. debug
425
+ #: lib/src/facts/cache.cc
426
+ msgid "caching values for {1} facts"
427
+ msgstr ""
428
+
429
+ #. debug
430
+ #: lib/src/facts/collection.cc
431
+ msgid ""
432
+ "fact \"{1}\" resolved to null and the existing value of {2} will be removed."
433
+ msgstr ""
434
+
435
+ #. debug
436
+ #: lib/src/facts/collection.cc
437
+ msgid "new value for fact \"{1}\" ignored, because it's a lower weight"
438
+ msgstr ""
439
+
440
+ #. debug
441
+ #: lib/src/facts/collection.cc
442
+ msgid "fact \"{1}\" has changed from {2} to {3}."
443
+ msgstr ""
444
+
445
+ #. debug
446
+ #: lib/src/facts/collection.cc
447
+ msgid "fact \"{1}\" resolved to null and will not be added."
448
+ msgstr ""
449
+
450
+ #. debug
451
+ #: lib/src/facts/collection.cc
452
+ msgid "fact \"{1}\" has resolved to {2}."
453
+ msgstr ""
454
+
455
+ #. warning
456
+ #. debug
457
+ #: lib/src/facts/collection.cc
458
+ msgid "skipping external facts for \"{1}\": {2}"
459
+ msgstr ""
460
+
461
+ #. debug
462
+ #: lib/src/facts/collection.cc
463
+ msgid "searching {1} for external facts."
464
+ msgstr ""
465
+
466
+ #. error
467
+ #: lib/src/facts/collection.cc
468
+ msgid "error while processing \"{1}\" for external facts: {2}"
469
+ msgstr ""
470
+
471
+ #. debug
472
+ #: lib/src/facts/collection.cc
473
+ msgid "no external facts were found."
474
+ msgstr ""
475
+
476
+ #. debug
477
+ #: lib/src/facts/collection.cc
478
+ msgid ""
479
+ "setting fact \"{1}\" based on the value of environment variable \"{2}\"."
480
+ msgstr ""
481
+
482
+ #. debug
483
+ #: lib/src/facts/collection.cc
484
+ msgid "blocking collection of {1} facts."
485
+ msgstr ""
486
+
487
+ #. debug
488
+ #: lib/src/facts/collection.cc
489
+ msgid "{1} resolver cannot be blocked."
490
+ msgstr ""
491
+
492
+ #. debug
493
+ #: lib/src/facts/collection.cc
494
+ msgid "resolving {1} facts."
495
+ msgstr ""
496
+
497
+ #. warning
498
+ #: lib/src/facts/collection.cc
499
+ msgid "exception resolving {1} facts, some facts will not be available: {2}"
500
+ msgstr ""
501
+
502
+ #. debug
503
+ #: lib/src/facts/collection.cc
504
+ msgid "cannot lookup an element with \"{1}\" from Ruby fact"
505
+ msgstr ""
506
+
507
+ #. debug
508
+ #: lib/src/facts/collection.cc
509
+ msgid "cannot lookup a hash element with \"{1}\": element does not exist."
510
+ msgstr ""
511
+
512
+ #. debug
513
+ #: lib/src/facts/collection.cc lib/src/ruby/ruby.cc
514
+ msgid ""
515
+ "cannot lookup an array element with \"{1}\": expected an integral value."
516
+ msgstr ""
517
+
518
+ #. debug
519
+ #: lib/src/facts/collection.cc lib/src/ruby/ruby.cc
520
+ msgid ""
521
+ "cannot lookup an array element with \"{1}\": expected a non-negative value."
522
+ msgstr ""
523
+
524
+ #. debug
525
+ #: lib/src/facts/collection.cc lib/src/ruby/ruby.cc
526
+ msgid "cannot lookup an array element with \"{1}\": the array is empty."
527
+ msgstr ""
528
+
529
+ #. debug
530
+ #: lib/src/facts/collection.cc lib/src/ruby/ruby.cc
531
+ msgid ""
532
+ "cannot lookup an array element with \"{1}\": expected an integral value "
533
+ "between 0 and {2} (inclusive)."
534
+ msgstr ""
535
+
536
+ #. debug
537
+ #: lib/src/facts/external/execution_resolver.cc
538
+ msgid "checking execution on {1}"
539
+ msgstr ""
540
+
541
+ #. debug
542
+ #: lib/src/facts/external/execution_resolver.cc
543
+ msgid "resolving facts from executable file \"{1}\"."
544
+ msgstr ""
545
+
546
+ #. debug
547
+ #: lib/src/facts/external/execution_resolver.cc
548
+ #: lib/src/facts/external/windows/powershell_resolver.cc
549
+ msgid "Could not parse executable fact output as YAML or JSON ({1})"
550
+ msgstr ""
551
+
552
+ #. debug
553
+ #: lib/src/facts/external/execution_resolver.cc
554
+ #: lib/src/facts/external/text_resolver.cc
555
+ #: lib/src/facts/external/windows/powershell_resolver.cc
556
+ msgid "ignoring line in output: {1}"
557
+ msgstr ""
558
+
559
+ #. warning
560
+ #: lib/src/facts/external/execution_resolver.cc
561
+ #: lib/src/facts/external/windows/powershell_resolver.cc
562
+ msgid "external fact file \"{1}\" had output on stderr: {2}"
563
+ msgstr ""
564
+
565
+ #. debug
566
+ #: lib/src/facts/external/execution_resolver.cc
567
+ msgid "completed resolving facts from executable file \"{1}\"."
568
+ msgstr ""
569
+
570
+ #: lib/src/facts/external/json_resolver.cc
571
+ #: lib/src/facts/resolvers/gce_resolver.cc
572
+ msgid "expected non-empty key in object."
573
+ msgstr ""
574
+
575
+ #: lib/src/facts/external/json_resolver.cc
576
+ #: lib/src/facts/resolvers/gce_resolver.cc
577
+ msgid "expected document to contain an object."
578
+ msgstr ""
579
+
580
+ #. debug
581
+ #: lib/src/facts/external/json_resolver.cc
582
+ msgid "resolving facts from JSON file \"{1}\"."
583
+ msgstr ""
584
+
585
+ #: lib/src/facts/external/json_resolver.cc
586
+ #: lib/src/facts/external/text_resolver.cc
587
+ #: lib/src/facts/external/yaml_resolver.cc
588
+ msgid "file could not be opened."
589
+ msgstr ""
590
+
591
+ #. debug
592
+ #: lib/src/facts/external/json_resolver.cc
593
+ msgid "completed resolving facts from JSON file \"{1}\"."
594
+ msgstr ""
595
+
596
+ #. debug
597
+ #: lib/src/facts/external/text_resolver.cc
598
+ msgid "resolving facts from text file \"{1}\"."
599
+ msgstr ""
600
+
601
+ #. debug
602
+ #: lib/src/facts/external/text_resolver.cc
603
+ msgid "completed resolving facts from text file \"{1}\"."
604
+ msgstr ""
605
+
606
+ #. debug
607
+ #: lib/src/facts/external/windows/powershell_resolver.cc
608
+ msgid "resolving facts from powershell script \"{1}\"."
609
+ msgstr ""
610
+
611
+ #. debug
612
+ #: lib/src/facts/external/windows/powershell_resolver.cc
613
+ msgid "completed resolving facts from powershell script \"{1}\"."
614
+ msgstr ""
615
+
616
+ #. debug
617
+ #: lib/src/facts/external/yaml_resolver.cc
618
+ msgid "resolving facts from YAML file \"{1}\"."
619
+ msgstr ""
620
+
621
+ #. debug
622
+ #: lib/src/facts/external/yaml_resolver.cc
623
+ msgid "completed resolving facts from YAML file \"{1}\"."
624
+ msgstr ""
625
+
626
+ #. debug
627
+ #: lib/src/facts/freebsd/dmi_resolver.cc
628
+ msgid "kenv lookup for {1}"
629
+ msgstr ""
630
+
631
+ #. info
632
+ #: lib/src/facts/freebsd/dmi_resolver.cc
633
+ msgid "kenv lookup for {1} failed: {2} ({3})"
634
+ msgstr ""
635
+
636
+ #. debug
637
+ #: lib/src/facts/freebsd/memory_resolver.cc
638
+ msgid "sysctlnametomib() failed"
639
+ msgstr ""
640
+
641
+ #. debug
642
+ #: lib/src/facts/freebsd/memory_resolver.cc
643
+ msgid "xswdev version mismatch"
644
+ msgstr ""
645
+
646
+ #. warning
647
+ #: lib/src/facts/freebsd/networking_resolver.cc
648
+ #: lib/src/facts/linux/networking_resolver.cc
649
+ #: lib/src/facts/openbsd/networking_resolver.cc
650
+ msgid ""
651
+ "socket failed: {1} ({2}): interface MTU fact is unavailable for interface "
652
+ "{3}."
653
+ msgstr ""
654
+
655
+ #. warning
656
+ #: lib/src/facts/freebsd/networking_resolver.cc
657
+ #: lib/src/facts/linux/networking_resolver.cc
658
+ #: lib/src/facts/openbsd/networking_resolver.cc
659
+ msgid ""
660
+ "ioctl failed: {1} ({2}): interface MTU fact is unavailable for interface {3}."
661
+ msgstr ""
662
+
663
+ #. debug
664
+ #: lib/src/facts/freebsd/processor_resolver.cc
665
+ #: lib/src/facts/openbsd/processor_resolver.cc
666
+ msgid ""
667
+ "sysctl hw.ncpu failed: {1} ({2}): logical processor count is unavailable."
668
+ msgstr ""
669
+
670
+ #. debug
671
+ #: lib/src/facts/freebsd/processor_resolver.cc
672
+ #: lib/src/facts/openbsd/processor_resolver.cc
673
+ msgid "sysctl hw.model failed: {1} ({2}): processor models are unavailable."
674
+ msgstr ""
675
+
676
+ #. debug
677
+ #: lib/src/facts/freebsd/processor_resolver.cc
678
+ #: lib/src/facts/openbsd/processor_resolver.cc
679
+ msgid "sysctl hw.cpuspeed failed: {1} ({2}): processor speed is unavailable."
680
+ msgstr ""
681
+
682
+ #. debug
683
+ #: lib/src/facts/glib/load_average_resolver.cc
684
+ msgid "failed to retrieve load averages: {1} ({2})."
685
+ msgstr ""
686
+
687
+ #. debug
688
+ #: lib/src/facts/linux/disk_resolver.cc
689
+ msgid "{1}: {2}: disk facts are unavailable."
690
+ msgstr ""
691
+
692
+ #. debug
693
+ #: lib/src/facts/linux/disk_resolver.cc
694
+ msgid "size of disk {1} is invalid: size information is unavailable."
695
+ msgstr ""
696
+
697
+ #. debug
698
+ #: lib/src/facts/linux/dmi_resolver.cc
699
+ msgid ""
700
+ "/sys/class/dmi cannot be accessed: using dmidecode to query DMI information."
701
+ msgstr ""
702
+
703
+ #. debug
704
+ #: lib/src/facts/linux/dmi_resolver.cc
705
+ msgid "{1}: {2}."
706
+ msgstr ""
707
+
708
+ #. debug
709
+ #: lib/src/facts/linux/dmi_resolver.cc
710
+ msgid "{1}: file could not be read."
711
+ msgstr ""
712
+
713
+ #. error
714
+ #: lib/src/facts/linux/filesystem_resolver.cc
715
+ msgid "setmntent failed: {1} ({2}): mountpoints are unavailable."
716
+ msgstr ""
717
+
718
+ #. debug
719
+ #: lib/src/facts/linux/filesystem_resolver.cc
720
+ msgid "blkid_probe_all failed: partition attributes are not available."
721
+ msgstr ""
722
+
723
+ #. debug
724
+ #: lib/src/facts/linux/filesystem_resolver.cc
725
+ msgid "blkid_get_cache failed: partition attributes are not available."
726
+ msgstr ""
727
+
728
+ #. debug
729
+ #: lib/src/facts/linux/filesystem_resolver.cc
730
+ msgid ""
731
+ "facter was built without libblkid support: partition attributes are not "
732
+ "available."
733
+ msgstr ""
734
+
735
+ #. debug
736
+ #: lib/src/facts/linux/filesystem_resolver.cc
737
+ msgid "blkid_get_dev failed: partition attributes are unavailable for '{1}'."
738
+ msgstr ""
739
+
740
+ #. debug
741
+ #: lib/src/facts/linux/filesystem_resolver.cc
742
+ msgid ""
743
+ "cannot determine size of partition '{1}': '{2}' is not an integral value."
744
+ msgstr ""
745
+
746
+ #. debug
747
+ #: lib/src/facts/linux/networking_resolver.cc
748
+ msgid ""
749
+ "Could not find the 'ip' command. Network bindings will not be populated from "
750
+ "routing table"
751
+ msgstr ""
752
+
753
+ #. warning
754
+ #: lib/src/facts/linux/networking_resolver.cc
755
+ msgid ""
756
+ "Could not process routing table entry: Expected a destination followed by "
757
+ "key/value pairs, got '{1}'"
758
+ msgstr ""
759
+
760
+ #. debug
761
+ #: lib/src/facts/linux/networking_resolver.cc
762
+ msgid ""
763
+ "Could not find the 'ip' command. Physical macaddress for bonded interfaces "
764
+ "will be incorrect."
765
+ msgstr ""
766
+
767
+ #. debug
768
+ #: lib/src/facts/map_value.cc
769
+ msgid "null value cannot be added to map."
770
+ msgstr ""
771
+
772
+ #. debug
773
+ #: lib/src/facts/openbsd/dmi_resolver.cc
774
+ msgid "sysctl_lookup failed: {1} ({2})."
775
+ msgstr ""
776
+
777
+ #. debug
778
+ #: lib/src/facts/openbsd/memory_resolver.cc
779
+ #: lib/src/facts/osx/memory_resolver.cc
780
+ msgid "sysctl failed: {1} ({2}): system page size is unknown."
781
+ msgstr ""
782
+
783
+ #. debug
784
+ #: lib/src/facts/openbsd/memory_resolver.cc
785
+ msgid "sysctl uvmexp failed: {1} ({2}): free memory is not available."
786
+ msgstr ""
787
+
788
+ #. debug
789
+ #: lib/src/facts/openbsd/memory_resolver.cc
790
+ msgid "swapctl: SWAP_STATS failed: {1} ({2})"
791
+ msgstr ""
792
+
793
+ #. debug
794
+ #: lib/src/facts/openbsd/memory_resolver.cc
795
+ msgid "sysctl failed: {1} ({2}): encrypted swap fact not available."
796
+ msgstr ""
797
+
798
+ #. debug
799
+ #: lib/src/facts/osx/dmi_resolver.cc
800
+ msgid "sysctl failed: {1} ({2}): DMI facts are unavailable."
801
+ msgstr ""
802
+
803
+ #. debug
804
+ #: lib/src/facts/osx/memory_resolver.cc
805
+ msgid "sysctl failed: {1} ({2}): total memory size is not available."
806
+ msgstr ""
807
+
808
+ #. debug
809
+ #: lib/src/facts/osx/memory_resolver.cc
810
+ msgid "host_statistics64 failed: {1} ({2}): free memory size is not available."
811
+ msgstr ""
812
+
813
+ #. debug
814
+ #: lib/src/facts/osx/memory_resolver.cc
815
+ msgid "sysctl failed: {1} ({2}): swap data is not available."
816
+ msgstr ""
817
+
818
+ #. debug
819
+ #: lib/src/facts/osx/processor_resolver.cc
820
+ msgid "sysctlbyname failed: logical processor count is unavailable."
821
+ msgstr ""
822
+
823
+ #. debug
824
+ #: lib/src/facts/osx/processor_resolver.cc
825
+ msgid ""
826
+ "sysctlbyname failed: {1} ({2}): physical processor count is unavailable."
827
+ msgstr ""
828
+
829
+ #. debug
830
+ #: lib/src/facts/osx/processor_resolver.cc
831
+ msgid "sysctlbyname failed: {1} ({2}): processor models are unavailable."
832
+ msgstr ""
833
+
834
+ #. debug
835
+ #: lib/src/facts/osx/processor_resolver.cc
836
+ msgid "sysctlbyname failed: {1} ({2}): processor speed is unavailable."
837
+ msgstr ""
838
+
839
+ #. warning
840
+ #: lib/src/facts/posix/identity_resolver.cc
841
+ msgid "getpwuid_r failed: {1} ({2})"
842
+ msgstr ""
843
+
844
+ #. warning
845
+ #: lib/src/facts/posix/identity_resolver.cc
846
+ msgid "effective uid {1} does not have a passwd entry."
847
+ msgstr ""
848
+
849
+ #. warning
850
+ #: lib/src/facts/posix/identity_resolver.cc
851
+ msgid "getgrgid_r failed: {1} ({2})"
852
+ msgstr ""
853
+
854
+ #. warning
855
+ #: lib/src/facts/posix/identity_resolver.cc
856
+ msgid "effective gid {1} does not have a group entry."
857
+ msgstr ""
858
+
859
+ #. warning
860
+ #: lib/src/facts/posix/kernel_resolver.cc
861
+ #: lib/src/facts/solaris/kernel_resolver.cc
862
+ msgid "uname failed: {1} ({2}): kernel facts are unavailable."
863
+ msgstr ""
864
+
865
+ #. warning
866
+ #: lib/src/facts/posix/networking_resolver.cc
867
+ msgid "gethostname failed: {1} ({2}): hostname is unavailable."
868
+ msgstr ""
869
+
870
+ #. debug
871
+ #: lib/src/facts/posix/networking_resolver.cc
872
+ msgid "using the FQDN returned by gethostname: {1}."
873
+ msgstr ""
874
+
875
+ #. warning
876
+ #: lib/src/facts/posix/networking_resolver.cc
877
+ msgid ""
878
+ "getaddrinfo failed: {1} ({2}): hostname may not be externally resolvable."
879
+ msgstr ""
880
+
881
+ #. debug
882
+ #: lib/src/facts/posix/networking_resolver.cc
883
+ msgid ""
884
+ "hostname \"{1}\" could not be resolved: hostname may not be externally "
885
+ "resolvable."
886
+ msgstr ""
887
+
888
+ #. debug
889
+ #: lib/src/facts/posix/operatingsystem_resolver.cc
890
+ msgid "uname failed: {1} ({2}): OS hardware is unavailable."
891
+ msgstr ""
892
+
893
+ #. debug
894
+ #: lib/src/facts/posix/ssh_resolver.cc
895
+ msgid "{1} could not be located."
896
+ msgstr ""
897
+
898
+ #. debug
899
+ #: lib/src/facts/posix/ssh_resolver.cc
900
+ msgid "{1} could not be read."
901
+ msgstr ""
902
+
903
+ #. debug
904
+ #: lib/src/facts/posix/ssh_resolver.cc
905
+ msgid "unexpected contents for {1}."
906
+ msgstr ""
907
+
908
+ #. debug
909
+ #: lib/src/facts/posix/ssh_resolver.cc
910
+ msgid "failed to decode SSH key \"{1}\"."
911
+ msgstr ""
912
+
913
+ #: lib/src/facts/posix/ssh_resolver.cc
914
+ msgid "SSHFP %1% 1 %2%"
915
+ msgstr ""
916
+
917
+ #: lib/src/facts/posix/ssh_resolver.cc
918
+ msgid "SSHFP %1% 2 %2%"
919
+ msgstr ""
920
+
921
+ #. info
922
+ #: lib/src/facts/posix/ssh_resolver.cc
923
+ msgid ""
924
+ "facter was built without OpenSSL support: SSH fingerprint information is "
925
+ "unavailable."
926
+ msgstr ""
927
+
928
+ #. warning
929
+ #: lib/src/facts/posix/timezone_resolver.cc
930
+ msgid "localtime_r failed: timezone is unavailable."
931
+ msgstr ""
932
+
933
+ #. warning
934
+ #: lib/src/facts/posix/timezone_resolver.cc
935
+ msgid "strftime failed: timezone is unavailable."
936
+ msgstr ""
937
+
938
+ #. debug
939
+ #: lib/src/facts/posix/xen_resolver.cc
940
+ msgid "failure executing {1}: {2}"
941
+ msgstr ""
942
+
943
+ #. debug
944
+ #: lib/src/facts/resolvers/ec2_resolver.cc
945
+ #: lib/src/facts/resolvers/gce_resolver.cc
946
+ msgid "request for {1} returned a status code of {2}."
947
+ msgstr ""
948
+
949
+ #. info
950
+ #: lib/src/facts/resolvers/ec2_resolver.cc
951
+ msgid "EC2 facts are unavailable: facter was built without libcurl support."
952
+ msgstr ""
953
+
954
+ #. debug
955
+ #: lib/src/facts/resolvers/ec2_resolver.cc
956
+ msgid "EC2 facts are unavailable: not running under an EC2 instance."
957
+ msgstr ""
958
+
959
+ #. debug
960
+ #: lib/src/facts/resolvers/ec2_resolver.cc
961
+ msgid "querying EC2 instance metadata at {1}."
962
+ msgstr ""
963
+
964
+ #. debug
965
+ #: lib/src/facts/resolvers/ec2_resolver.cc
966
+ msgid ""
967
+ "EC2 facts are unavailable: not running under an EC2 instance or EC2 is not "
968
+ "responding in a timely manner."
969
+ msgstr ""
970
+
971
+ #. error
972
+ #: lib/src/facts/resolvers/ec2_resolver.cc
973
+ msgid "EC2 metadata request failed: {1}"
974
+ msgstr ""
975
+
976
+ #. debug
977
+ #: lib/src/facts/resolvers/ec2_resolver.cc
978
+ msgid "querying EC2 instance user data at {1}."
979
+ msgstr ""
980
+
981
+ #. error
982
+ #: lib/src/facts/resolvers/ec2_resolver.cc
983
+ msgid "EC2 user data request failed: {1}"
984
+ msgstr ""
985
+
986
+ #. debug
987
+ #: lib/src/facts/resolvers/gce_resolver.cc
988
+ msgid "not running under a GCE instance."
989
+ msgstr ""
990
+
991
+ #. info
992
+ #: lib/src/facts/resolvers/gce_resolver.cc
993
+ msgid "GCE facts are unavailable: facter was built without libcurl support."
994
+ msgstr ""
995
+
996
+ #. debug
997
+ #: lib/src/facts/resolvers/gce_resolver.cc
998
+ msgid "querying GCE metadata."
999
+ msgstr ""
1000
+
1001
+ #. error
1002
+ #: lib/src/facts/resolvers/gce_resolver.cc
1003
+ msgid "failed to parse GCE metadata: {1}."
1004
+ msgstr ""
1005
+
1006
+ #. error
1007
+ #: lib/src/facts/resolvers/gce_resolver.cc
1008
+ msgid "GCE metadata request failed: {1}"
1009
+ msgstr ""
1010
+
1011
+ #. debug
1012
+ #: lib/src/facts/resolvers/networking_resolver.cc
1013
+ msgid ""
1014
+ "no primary interface found: using the first interface with an assigned "
1015
+ "address as the primary interface."
1016
+ msgstr ""
1017
+
1018
+ #: lib/src/facts/resolvers/networking_resolver.cc
1019
+ #, c-format
1020
+ msgid "%02x:%02x:%02x:%02x:%02x:%02x"
1021
+ msgstr ""
1022
+
1023
+ #. error
1024
+ #: lib/src/facts/resolvers/ruby_resolver.cc
1025
+ msgid "error while resolving ruby {1} fact: {2}"
1026
+ msgstr ""
1027
+
1028
+ #: lib/src/facts/resolvers/uptime_resolver.cc
1029
+ #, c-format
1030
+ msgid "%d:%02d hours"
1031
+ msgstr ""
1032
+
1033
+ #: lib/src/facts/resolvers/uptime_resolver.cc
1034
+ #, c-format
1035
+ msgid "%d days"
1036
+ msgstr ""
1037
+
1038
+ #. debug
1039
+ #: lib/src/facts/solaris/disk_resolver.cc
1040
+ msgid "disk information is unavailable: {1}."
1041
+ msgstr ""
1042
+
1043
+ #. error
1044
+ #: lib/src/facts/solaris/filesystem_resolver.cc
1045
+ msgid "fopen of /etc/mnttab failed: {1} ({2}): mountpoint data is unavailable."
1046
+ msgstr ""
1047
+
1048
+ #. debug
1049
+ #: lib/src/facts/solaris/memory_resolver.cc
1050
+ msgid "failed to read memory facts from kstat api: {1}."
1051
+ msgstr ""
1052
+
1053
+ #. debug
1054
+ #: lib/src/facts/solaris/memory_resolver.cc
1055
+ msgid "swapctl failed: {1} ({2}): swap information is unavailable"
1056
+ msgstr ""
1057
+
1058
+ #. debug
1059
+ #: lib/src/facts/solaris/memory_resolver.cc
1060
+ msgid "swapctl with SC_LIST failed: {1} ({2}): swap information is unavailable"
1061
+ msgstr ""
1062
+
1063
+ #. debug
1064
+ #: lib/src/facts/solaris/networking_resolver.cc
1065
+ msgid "socket failed {1} ({2}): interface information is unavailable."
1066
+ msgstr ""
1067
+
1068
+ #. debug
1069
+ #: lib/src/facts/solaris/networking_resolver.cc
1070
+ msgid ""
1071
+ "ioctl with SIOCGLIFNUM failed: {1} ({2}): interface information is "
1072
+ "unavailable."
1073
+ msgstr ""
1074
+
1075
+ #. debug
1076
+ #: lib/src/facts/solaris/networking_resolver.cc
1077
+ msgid ""
1078
+ "ioctl with SIOCGLIFCONF failed: {1} ({2}): interface information is "
1079
+ "unavailable."
1080
+ msgstr ""
1081
+
1082
+ #. debug
1083
+ #: lib/src/facts/solaris/networking_resolver.cc
1084
+ msgid ""
1085
+ "socket failed: {1} ({2}): netmask and network for interface {3} are "
1086
+ "unavailable."
1087
+ msgstr ""
1088
+
1089
+ #. debug
1090
+ #: lib/src/facts/solaris/networking_resolver.cc
1091
+ msgid ""
1092
+ "ioctl with SIOCGLIFNETMASK failed: {1} ({2}): netmask and network for "
1093
+ "interface {3} are unavailable."
1094
+ msgstr ""
1095
+
1096
+ #. debug
1097
+ #: lib/src/facts/solaris/networking_resolver.cc
1098
+ msgid ""
1099
+ "socket failed: {1} ({2}): link level address for interface {3} is "
1100
+ "unavailable."
1101
+ msgstr ""
1102
+
1103
+ #. debug
1104
+ #: lib/src/facts/solaris/networking_resolver.cc
1105
+ msgid ""
1106
+ "ioctl with SIOCGARP failed: {1} ({2}): link level address for {3} is "
1107
+ "unavailable."
1108
+ msgstr ""
1109
+
1110
+ #. debug
1111
+ #: lib/src/facts/solaris/networking_resolver.cc
1112
+ msgid "socket failed: {1} ({2}): MTU for interface {3} is unavailable."
1113
+ msgstr ""
1114
+
1115
+ #. debug
1116
+ #: lib/src/facts/solaris/networking_resolver.cc
1117
+ msgid ""
1118
+ "ioctl with SIOCGLIFMTU failed: {1} ({2}): MTU for interface {3} is "
1119
+ "unavailable."
1120
+ msgstr ""
1121
+
1122
+ #. debug
1123
+ #: lib/src/facts/solaris/processor_resolver.cc
1124
+ msgid "failed to read processor data entry: {1}."
1125
+ msgstr ""
1126
+
1127
+ #. debug
1128
+ #: lib/src/facts/solaris/processor_resolver.cc
1129
+ msgid "failed to read processor data from kstat api: {1}."
1130
+ msgstr ""
1131
+
1132
+ #. warning
1133
+ #: lib/src/facts/windows/collection.cc
1134
+ msgid "external facts unavailable, %1%"
1135
+ msgstr ""
1136
+
1137
+ #. debug
1138
+ #: lib/src/facts/windows/collection.cc
1139
+ msgid "HOME environment variable not set, external facts unavailable"
1140
+ msgstr ""
1141
+
1142
+ #. error
1143
+ #: lib/src/facts/windows/collection.cc
1144
+ msgid "failed adding platform facts that require WMI: {1}"
1145
+ msgstr ""
1146
+
1147
+ #. debug
1148
+ #: lib/src/facts/windows/dmi_resolver.cc
1149
+ msgid "WMI query returned no results for {1} with value {2}."
1150
+ msgstr ""
1151
+
1152
+ #. debug
1153
+ #: lib/src/facts/windows/dmi_resolver.cc
1154
+ msgid "WMI query returned no results for {1} with values {2} and {3}."
1155
+ msgstr ""
1156
+
1157
+ #. debug
1158
+ #: lib/src/facts/windows/identity_resolver.cc
1159
+ msgid "failure resolving identity facts: {1}"
1160
+ msgstr ""
1161
+
1162
+ #. debug
1163
+ #: lib/src/facts/windows/kernel_resolver.cc
1164
+ msgid "failed to retrieve kernel facts: {1}"
1165
+ msgstr ""
1166
+
1167
+ #. debug
1168
+ #: lib/src/facts/windows/memory_resolver.cc
1169
+ msgid "resolving memory facts failed: {1}"
1170
+ msgstr ""
1171
+
1172
+ #. debug
1173
+ #: lib/src/facts/windows/networking_resolver.cc
1174
+ msgid "failure resolving hostname: {1}"
1175
+ msgstr ""
1176
+
1177
+ #. debug
1178
+ #: lib/src/facts/windows/networking_resolver.cc
1179
+ msgid "failed creating IPv4 mask of length {1}"
1180
+ msgstr ""
1181
+
1182
+ #. debug
1183
+ #: lib/src/facts/windows/networking_resolver.cc
1184
+ msgid "failed creating IPv6 mask with component of length {1}"
1185
+ msgstr ""
1186
+
1187
+ #. debug
1188
+ #: lib/src/facts/windows/networking_resolver.cc
1189
+ msgid "failure getting networking::domain fact: {1}"
1190
+ msgstr ""
1191
+
1192
+ #. debug
1193
+ #: lib/src/facts/windows/networking_resolver.cc
1194
+ msgid "failure resolving networking facts: {1}"
1195
+ msgstr ""
1196
+
1197
+ #. debug
1198
+ #: lib/src/facts/windows/networking_resolver.cc
1199
+ msgid "failed to retrieve dhcp v4 server address for {1}: {2}"
1200
+ msgstr ""
1201
+
1202
+ #. debug
1203
+ #: lib/src/facts/windows/networking_resolver.cc
1204
+ msgid "failed to retrieve ip{1} address for {2}: {3}"
1205
+ msgstr ""
1206
+
1207
+ #. debug
1208
+ #: lib/src/facts/windows/operating_system_resolver.cc
1209
+ msgid "error finding SYSTEMROOT: {1}"
1210
+ msgstr ""
1211
+
1212
+ #. debug
1213
+ #: lib/src/facts/windows/processor_resolver.cc
1214
+ msgid "WMI processor Name, Architecture query returned no results."
1215
+ msgstr ""
1216
+
1217
+ #. debug
1218
+ #: lib/src/facts/windows/processor_resolver.cc
1219
+ msgid "Unable to determine processor type: unknown architecture"
1220
+ msgstr ""
1221
+
1222
+ #. warning
1223
+ #: lib/src/facts/windows/timezone_resolver.cc
1224
+ msgid "localtime failed: timezone is unavailable: {1} ({2})"
1225
+ msgstr ""
1226
+
1227
+ #. warning
1228
+ #: lib/src/facts/windows/timezone_resolver.cc
1229
+ msgid "wcsftime failed: timezone is unavailable: {1} ({2})"
1230
+ msgstr ""
1231
+
1232
+ #. log
1233
+ #: lib/src/logging/logging.cc
1234
+ msgid "locale environment variables were bad; continuing with LANG=C LC_ALL=C"
1235
+ msgstr ""
1236
+
1237
+ #. log
1238
+ #: lib/src/logging/logging.cc
1239
+ msgid ""
1240
+ "Could not initialize locale, even with LC_* variables cleared. Continuing "
1241
+ "without localization support"
1242
+ msgstr ""
1243
+
1244
+ #: lib/src/logging/logging.cc
1245
+ msgid ""
1246
+ "could not initialize logging, even with locale variables reset to LANG=C "
1247
+ "LC_ALL=C: {1}"
1248
+ msgstr ""
1249
+
1250
+ #: lib/src/ruby/aggregate_resolution.cc
1251
+ msgid "expected chunk name to be a Symbol"
1252
+ msgstr ""
1253
+
1254
+ #: lib/src/ruby/aggregate_resolution.cc lib/src/ruby/resolution.cc
1255
+ #: lib/src/ruby/simple_resolution.cc
1256
+ msgid "a block must be provided"
1257
+ msgstr ""
1258
+
1259
+ #: lib/src/ruby/aggregate_resolution.cc lib/src/ruby/fact.cc
1260
+ msgid "expected a Symbol for options key"
1261
+ msgstr ""
1262
+
1263
+ #: lib/src/ruby/aggregate_resolution.cc
1264
+ msgid "expected a Symbol or Array of Symbol for require option"
1265
+ msgstr ""
1266
+
1267
+ #: lib/src/ruby/aggregate_resolution.cc lib/src/ruby/fact.cc
1268
+ msgid "unexpected option {1}"
1269
+ msgstr ""
1270
+
1271
+ #: lib/src/ruby/aggregate_resolution.cc lib/src/ruby/fact.cc
1272
+ #: lib/src/ruby/module.cc
1273
+ msgid "wrong number of arguments ({1} for 2)"
1274
+ msgstr ""
1275
+
1276
+ #: lib/src/ruby/aggregate_resolution.cc
1277
+ msgid "wrong number of arguments ({1} for 3)"
1278
+ msgstr ""
1279
+
1280
+ #: lib/src/ruby/aggregate_resolution.cc
1281
+ msgid "cannot merge {1}:{2} and {3}:{4}"
1282
+ msgstr ""
1283
+
1284
+ #: lib/src/ruby/chunk.cc
1285
+ msgid "chunk dependency cycle detected"
1286
+ msgstr ""
1287
+
1288
+ #: lib/src/ruby/fact.cc
1289
+ msgid "cycle detected while requesting value of fact \"{1}\""
1290
+ msgstr ""
1291
+
1292
+ #. error
1293
+ #: lib/src/ruby/fact.cc
1294
+ msgid "error while resolving custom fact \"{1}\": {2}"
1295
+ msgstr ""
1296
+
1297
+ #: lib/src/ruby/fact.cc
1298
+ msgid "expected resolution name to be a String"
1299
+ msgstr ""
1300
+
1301
+ #: lib/src/ruby/fact.cc
1302
+ msgid "expected resolution name to be a Symbol or String"
1303
+ msgstr ""
1304
+
1305
+ #: lib/src/ruby/fact.cc
1306
+ msgid "expected a Hash for the options"
1307
+ msgstr ""
1308
+
1309
+ #: lib/src/ruby/fact.cc
1310
+ msgid "expected a Symbol for type option"
1311
+ msgstr ""
1312
+
1313
+ #: lib/src/ruby/fact.cc
1314
+ msgid "expected simple or aggregate for resolution type but was given {1}"
1315
+ msgstr ""
1316
+
1317
+ #. warning
1318
+ #: lib/src/ruby/fact.cc
1319
+ msgid "timeout option is not supported for custom facts and will be ignored."
1320
+ msgstr ""
1321
+
1322
+ #: lib/src/ruby/fact.cc
1323
+ msgid ""
1324
+ "fact \"{1}\" already has the maximum number of resolutions allowed ({2})."
1325
+ msgstr ""
1326
+
1327
+ #: lib/src/ruby/fact.cc
1328
+ msgid ""
1329
+ "cannot define an aggregate resolution with name \"{1}\": a simple resolution "
1330
+ "with the same name already exists"
1331
+ msgstr ""
1332
+
1333
+ #: lib/src/ruby/fact.cc
1334
+ msgid ""
1335
+ "cannot define a simple resolution with name \"{1}\": an aggregate resolution "
1336
+ "with the same name already exists"
1337
+ msgstr ""
1338
+
1339
+ #: lib/src/ruby/fact.cc lib/src/ruby/module.cc
1340
+ msgid "expected a String or Symbol for fact name"
1341
+ msgstr ""
1342
+
1343
+ #. warning
1344
+ #: lib/src/ruby/module.cc lib/src/ruby/ruby.cc
1345
+ msgid "{1}: facts requiring Ruby will not be resolved."
1346
+ msgstr ""
1347
+
1348
+ #: lib/src/ruby/module.cc
1349
+ msgid "could not initialize facter due to a locale error: {1}"
1350
+ msgstr ""
1351
+
1352
+ #: lib/src/ruby/module.cc
1353
+ msgid "Ruby API is not initialized."
1354
+ msgstr ""
1355
+
1356
+ #. warning
1357
+ #: lib/src/ruby/module.cc
1358
+ msgid "{1}: Ruby cleanup ended prematurely"
1359
+ msgstr ""
1360
+
1361
+ #. debug
1362
+ #: lib/src/ruby/module.cc
1363
+ msgid "loading all custom facts."
1364
+ msgstr ""
1365
+
1366
+ #. debug
1367
+ #: lib/src/ruby/module.cc
1368
+ msgid "loading custom fact directories from config file"
1369
+ msgstr ""
1370
+
1371
+ #. debug
1372
+ #: lib/src/ruby/module.cc
1373
+ msgid "searching for custom facts in {1}."
1374
+ msgstr ""
1375
+
1376
+ #. error
1377
+ #: lib/src/ruby/module.cc
1378
+ msgid "{1} uncaught exception: {2}"
1379
+ msgstr ""
1380
+
1381
+ #: lib/src/ruby/module.cc
1382
+ msgid "loading external fact directories from config file"
1383
+ msgstr ""
1384
+
1385
+ #: lib/src/ruby/module.cc
1386
+ msgid "unexpected self value {1}"
1387
+ msgstr ""
1388
+
1389
+ #: lib/src/ruby/module.cc
1390
+ msgid "execution of command \"{1}\" failed: command not found."
1391
+ msgstr ""
1392
+
1393
+ #: lib/src/ruby/module.cc
1394
+ msgid "execution of command \"{1}\" failed."
1395
+ msgstr ""
1396
+
1397
+ #. debug
1398
+ #: lib/src/ruby/module.cc
1399
+ msgid "searching for custom fact \"{1}\"."
1400
+ msgstr ""
1401
+
1402
+ #. debug
1403
+ #: lib/src/ruby/module.cc
1404
+ msgid "searching for {1} in {2}."
1405
+ msgstr ""
1406
+
1407
+ #. debug
1408
+ #: lib/src/ruby/module.cc
1409
+ msgid "custom fact \"{1}\" was not found."
1410
+ msgstr ""
1411
+
1412
+ #. info
1413
+ #: lib/src/ruby/module.cc
1414
+ msgid "loading custom facts from {1}."
1415
+ msgstr ""
1416
+
1417
+ #. error
1418
+ #: lib/src/ruby/module.cc
1419
+ msgid "error while resolving custom facts in {1}: {2}"
1420
+ msgstr ""
1421
+
1422
+ #: lib/src/ruby/module.cc
1423
+ msgid "invalid log level specified."
1424
+ msgstr ""
1425
+
1426
+ #: lib/src/ruby/resolution.cc
1427
+ msgid "a block is unexpected when passing a Hash"
1428
+ msgstr ""
1429
+
1430
+ #: lib/src/ruby/resolution.cc
1431
+ msgid "expected a String or Symbol for confine key"
1432
+ msgstr ""
1433
+
1434
+ #: lib/src/ruby/resolution.cc
1435
+ msgid "expected argument to be a String, Symbol, or Hash"
1436
+ msgstr ""
1437
+
1438
+ #: lib/src/ruby/resolution.cc lib/src/ruby/simple_resolution.cc
1439
+ msgid "wrong number of arguments ({1} for 1)"
1440
+ msgstr ""
1441
+
1442
+ #. warning
1443
+ #: lib/src/ruby/resolution.cc
1444
+ msgid "timeout= is not supported for custom facts and will be ignored."
1445
+ msgstr ""
1446
+
1447
+ #. warning
1448
+ #: lib/src/ruby/ruby.cc
1449
+ msgid "Could not load puppet; some facts may be unavailable: {1}"
1450
+ msgstr ""
1451
+
1452
+ #. debug
1453
+ #: lib/src/ruby/ruby.cc
1454
+ msgid "cannot lookup element \"{1}\": container is not an array or hash"
1455
+ msgstr ""
1456
+
1457
+ #: lib/src/ruby/simple_resolution.cc
1458
+ msgid "expected a non-empty String for first argument"
1459
+ msgstr ""
1460
+
1461
+ #: lib/src/ruby/simple_resolution.cc
1462
+ msgid "a block is unexpected when passing a String"
1463
+ msgstr ""
1464
+
1465
+ #: lib/src/util/solaris/k_stat.cc
1466
+ msgid "kstat_open failed"
1467
+ msgstr ""
1468
+
1469
+ #: lib/src/util/solaris/k_stat.cc
1470
+ msgid "kstat_lookup of module {1}/{2}/{3} failed: {4} ({5})"
1471
+ msgstr ""
1472
+
1473
+ #: lib/src/util/solaris/k_stat.cc
1474
+ msgid "kstat_read failed: {1} ({2})"
1475
+ msgstr ""
1476
+
1477
+ #: lib/src/util/solaris/k_stat.cc
1478
+ msgid "kstat_data_lookup failed for {1}"
1479
+ msgstr ""
1480
+
1481
+ #: lib/src/util/solaris/k_stat.cc
1482
+ msgid "invalid datatype {1} {2}"
1483
+ msgstr ""
1484
+
1485
+ #: lib/src/util/windows/wsa.cc
1486
+ msgid "%1% (%2%)"
1487
+ msgstr ""
1488
+
1489
+ #. debug
1490
+ #: lib/src/util/windows/wsa.cc
1491
+ msgid "initializing Winsock"
1492
+ msgstr ""
1493
+
1494
+ #: lib/src/util/windows/wsa.cc
1495
+ msgid "WSAStartup failed with error"
1496
+ msgstr ""
1497
+
1498
+ #: lib/src/util/windows/wsa.cc
1499
+ msgid "could not find a usable version of Winsock.dll"
1500
+ msgstr ""
1501
+
1502
+ #: lib/src/util/windows/wsa.cc
1503
+ msgid "address to string translation failed"
1504
+ msgstr ""
1505
+
1506
+ #: lib/src/util/windows/wsa.cc
1507
+ msgid "string to address translation failed"
1508
+ msgstr ""