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,45 @@
1
+ /**
2
+ * @file
3
+ * Declares the scoped kstat resource.
4
+ */
5
+ #pragma once
6
+
7
+ #include <leatherman/util/scoped_resource.hpp>
8
+ #include <kstat.h>
9
+
10
+ namespace facter { namespace util { namespace solaris {
11
+
12
+ /**
13
+ * kstat exceptions
14
+ */
15
+ struct kstat_exception : std::runtime_error
16
+ {
17
+ /**
18
+ * Constructs a kstat_exception.
19
+ * @param message The exception message.
20
+ */
21
+ explicit kstat_exception(std::string const& message);
22
+ };
23
+
24
+ /**
25
+ * Represents a scoped kstat pointer that automatically is freed when it goes out of scope.
26
+ */
27
+ struct scoped_kstat : leatherman::util::scoped_resource<kstat_ctl*>
28
+ {
29
+ /**
30
+ * Default constructor.
31
+ * This constructor will handle calling kstat_open.
32
+ */
33
+ scoped_kstat();
34
+
35
+ /**
36
+ * Constructs a scoped_descriptor.
37
+ * @param ctrl The kstat pointer to free when destroyed
38
+ */
39
+ explicit scoped_kstat(kstat_ctl* ctrl);
40
+
41
+ private:
42
+ static void close(kstat_ctl* ctrl);
43
+ };
44
+
45
+ }}} // namespace facter::util::solaris
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @file
3
+ * Defines helpers for parsing various version strings
4
+ */
5
+ #pragma once
6
+
7
+ #include <string>
8
+ #include <tuple>
9
+
10
+ namespace facter { namespace util { namespace versions {
11
+ /**
12
+ * Helper function for parsing X.Y from an arbitrary version
13
+ * string. If there is a .Z component, it will be ignored.
14
+ * @param version the version string to parse
15
+ * @return A tuple of <maj, min>
16
+ */
17
+ inline std::tuple<std::string, std::string> major_minor(const std::string& version)
18
+ {
19
+ std::string major, minor;
20
+ auto pos = version.find('.');
21
+ if (pos != std::string::npos) {
22
+ auto second = version.find('.', pos+1);
23
+ decltype(second) end;
24
+ major = version.substr(0, pos);
25
+ if (second != std::string::npos) {
26
+ end = second - (pos + 1);
27
+ } else {
28
+ end = std::string::npos;
29
+ }
30
+ minor = version.substr(pos+1, end);
31
+ }
32
+ return std::make_tuple(std::move(major), std::move(minor));
33
+ }
34
+ }}} // namespace facter::util::versions
@@ -0,0 +1,92 @@
1
+ /**
2
+ * @file
3
+ * Declares utility functions for interacting with Winsock
4
+ */
5
+ #pragma once
6
+
7
+ #include <leatherman/windows/windows.hpp>
8
+ #include <string>
9
+ #include <stdexcept>
10
+
11
+ namespace facter { namespace util { namespace windows {
12
+
13
+ /**
14
+ * Exception thrown when wsa initialization fails.
15
+ */
16
+ struct wsa_exception : std::runtime_error
17
+ {
18
+ /**
19
+ * Constructs a wsa_exception.
20
+ * @param message The exception message.
21
+ */
22
+ explicit wsa_exception(std::string const& message);
23
+ };
24
+
25
+ /**
26
+ * A class for initiating use of the Winsock DLL, providing wrappers for WSA calls.
27
+ */
28
+ struct wsa
29
+ {
30
+ /**
31
+ * Initializes Winsock. Throws a wsa_exception on failure.
32
+ */
33
+ wsa();
34
+
35
+ /**
36
+ * Do WSA cleanup.
37
+ */
38
+ ~wsa();
39
+
40
+ /**
41
+ * Use default move constructer.
42
+ */
43
+ wsa(wsa&&) = default;
44
+
45
+ /**
46
+ * Use default move assignment.
47
+ * @return Returns this instance.
48
+ */
49
+ wsa& operator=(wsa&&) = default;
50
+
51
+ /**
52
+ * This wraps calling WSAAddressToString to translate a sockaddr structure to an IPv4 or IPv6 string.
53
+ * Throws an exception if passed an IPv6 argument on Windows Server 2003 and IPv6 support isn't installed.
54
+ * See https://social.technet.microsoft.com/Forums/windowsserver/en-US/7166dcbe-d493-4da1-8441-5b5d6aa0d21c/ipv6-and-windows-server-2003
55
+ * @param addr The socket address structure.
56
+ * @return An IPv4 or IPv6 string, or an empty string if addr is uninitialized.
57
+ */
58
+ std::string saddress_to_string(SOCKET_ADDRESS const& addr) const;
59
+
60
+ /**
61
+ * This adapts sockaddr structs to the SOCKET_ADDRESS wrapper.
62
+ * @param addr A sockaddr-like structure (sockaddr, sockaddr_in, sockaddr_in6).
63
+ * @return An IPv4 or IPv6 string.
64
+ */
65
+ template<typename T>
66
+ std::string address_to_string(T &addr) const
67
+ {
68
+ return saddress_to_string(SOCKET_ADDRESS{reinterpret_cast<sockaddr *>(&addr), sizeof(T)});
69
+ }
70
+
71
+ /**
72
+ * This wraps calling WSAStringToAddress to translate a an IPv4 or IPv6 string to a sockaddr structure.
73
+ * @tparam T The expected sockaddr structure, either sockaddr_in or sockaddr_in6.
74
+ * @tparam ADDRESS_FAMILY The expected address family, either AF_INET or AF_INET6.
75
+ * @param addr An IPv4 or IPv6 string.
76
+ * @return A sockaddr structure containing the IPv4 or IPv6 sockaddr data.
77
+ */
78
+ template<typename T, int ADDRESS_FAMILY>
79
+ T string_to_address(std::string const& addr) const
80
+ {
81
+ T sock = {ADDRESS_FAMILY};
82
+ string_fill_sockaddr(reinterpret_cast<sockaddr*>(&sock), addr, sizeof(T));
83
+ return sock;
84
+ }
85
+
86
+ private:
87
+ wsa(wsa const&) = delete;
88
+ wsa& operator=(wsa const&) = delete;
89
+ void string_fill_sockaddr(sockaddr *sock, std::string const& addr, int size) const;
90
+ };
91
+
92
+ }}} // namespace facter::util::windows
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @file
3
+ * Declares helper methods for dealing with YAML
4
+ */
5
+ #pragma once
6
+
7
+ #include <string>
8
+
9
+ namespace YAML {
10
+ class Node;
11
+ }
12
+
13
+ namespace facter { namespace facts {
14
+ struct collection;
15
+ struct array_value;
16
+ struct map_value;
17
+ }}
18
+
19
+ namespace facter { namespace util { namespace yaml {
20
+ /**
21
+ * Adds a YAML value into a Facter collection.
22
+ */
23
+ void add_value(std::string const& name, YAML::Node const& node, facts::collection& facts,
24
+ facts::array_value* array_parent = nullptr, facts::map_value* map_parent = nullptr);
25
+ }}}
@@ -0,0 +1,2017 @@
1
+ # CORE FACTS SCHEMA
2
+ # Copyright (C) 2016 Puppet, LLC
3
+ # This file is distributed under the same license as the FACTER package.
4
+ # FIRST AUTHOR <docs@puppet.com>, 2016.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: FACTER \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
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
+
21
+
22
+ #. aio_agent_version description
23
+ msgid "Return the version of the puppet-agent package that installed facter."
24
+ msgstr ""
25
+
26
+ #. aio_agent_version resolution
27
+ msgid "All platforms: use the compile-time enabled version definition."
28
+ msgstr ""
29
+
30
+ #. architecture description
31
+ msgid "Return the operating system's hardware architecture."
32
+ msgstr ""
33
+
34
+ #. architecture resolution
35
+ msgid "POSIX platforms: use the `uname` function to retrieve the OS hardware architecture."
36
+ msgstr ""
37
+
38
+ #. architecture resolution
39
+ msgid "Windows: use the `GetNativeSystemInfo` function to retrieve the OS hardware architecture."
40
+ msgstr ""
41
+
42
+ #. architecture caveats
43
+ msgid "Linux: Debian, Gentoo, kFreeBSD, and Ubuntu use "amd64" for "x86_64" and Gentoo uses "x86" for "i386"."
44
+ msgstr ""
45
+
46
+ #. augeas description
47
+ msgid "Return information about augeas."
48
+ msgstr ""
49
+
50
+ #. augeas resolution
51
+ msgid "All platforms: query augparse for augeas metadata."
52
+ msgstr ""
53
+
54
+ #. augeasversion description
55
+ msgid "Return the version of augeas."
56
+ msgstr ""
57
+
58
+ #. augeasversion resolution
59
+ msgid "All platforms: query augparse for the augeas version."
60
+ msgstr ""
61
+
62
+ #. blockdevices description
63
+ msgid "Return a comma-separated list of block devices."
64
+ msgstr ""
65
+
66
+ #. blockdevices resolution
67
+ msgid "Linux: parse the contents of `/sys/block/<device>/`."
68
+ msgstr ""
69
+
70
+ #. blockdevices resolution
71
+ msgid "Solaris: use the `kstat` function to query disk information."
72
+ msgstr ""
73
+
74
+ #. blockdevices caveats
75
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
76
+ msgstr ""
77
+
78
+ #. blockdevice_<devicename>_model description
79
+ msgid "Return the model name of block devices attached to the system."
80
+ msgstr ""
81
+
82
+ #. blockdevice_<devicename>_model resolution
83
+ msgid "Linux: parse the contents of `/sys/block/<device>/device/model` to retrieve the model name/number for a device."
84
+ msgstr ""
85
+
86
+ #. blockdevice_<devicename>_model resolution
87
+ msgid "Solaris: use the `kstat` function to query disk information."
88
+ msgstr ""
89
+
90
+ #. blockdevice_<devicename>_model caveats
91
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
92
+ msgstr ""
93
+
94
+ #. blockdevice_<devicename>_size description
95
+ msgid "Return the size of a block device in bytes."
96
+ msgstr ""
97
+
98
+ #. blockdevice_<devicename>_size resolution
99
+ msgid "Linux: parse the contents of `/sys/block/<device>/size` to receive the size (multiplying by 512 to correct for blocks-to-bytes)."
100
+ msgstr ""
101
+
102
+ #. blockdevice_<devicename>_size resolution
103
+ msgid "Solaris: use the `kstat` function to query disk information."
104
+ msgstr ""
105
+
106
+ #. blockdevice_<devicename>_size caveats
107
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
108
+ msgstr ""
109
+
110
+ #. blockdevice_<devicename>_vendor description
111
+ msgid "Return the vendor name of block devices attached to the system."
112
+ msgstr ""
113
+
114
+ #. blockdevice_<devicename>_vendor resolution
115
+ msgid "Linux: parse the contents of `/sys/block/<device>/device/vendor` to retrieve the vendor for a device."
116
+ msgstr ""
117
+
118
+ #. blockdevice_<devicename>_vendor resolution
119
+ msgid "Solaris: use the `kstat` function to query disk information."
120
+ msgstr ""
121
+
122
+ #. blockdevice_<devicename>_vendor caveats
123
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
124
+ msgstr ""
125
+
126
+ #. bios_release_date description
127
+ msgid "Return the release date of the system BIOS."
128
+ msgstr ""
129
+
130
+ #. bios_release_date resolution
131
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/bios_date` to retrieve the system BIOS release date."
132
+ msgstr ""
133
+
134
+ #. bios_release_date resolution
135
+ msgid "Solaris: use the `smbios` utility to retrieve the system BIOS release date."
136
+ msgstr ""
137
+
138
+ #. bios_release_date caveats
139
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
140
+ msgstr ""
141
+
142
+ #. bios_vendor description
143
+ msgid "Return the vendor of the system BIOS."
144
+ msgstr ""
145
+
146
+ #. bios_vendor resolution
147
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/bios_vendor` to retrieve the system BIOS vendor."
148
+ msgstr ""
149
+
150
+ #. bios_vendor resolution
151
+ msgid "Solaris: use the `smbios` utility to retrieve the system BIOS vendor."
152
+ msgstr ""
153
+
154
+ #. bios_vendor caveats
155
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
156
+ msgstr ""
157
+
158
+ #. bios_version description
159
+ msgid "Return the version of the system BIOS."
160
+ msgstr ""
161
+
162
+ #. bios_version resolution
163
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/bios_version` to retrieve the system BIOS version."
164
+ msgstr ""
165
+
166
+ #. bios_version resolution
167
+ msgid "Solaris: use the `smbios` utility to retrieve the system BIOS version."
168
+ msgstr ""
169
+
170
+ #. bios_version caveats
171
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
172
+ msgstr ""
173
+
174
+ #. boardassettag description
175
+ msgid "Return the system board asset tag."
176
+ msgstr ""
177
+
178
+ #. boardassettag resolution
179
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/board_asset_tag` to retrieve the system board asset tag."
180
+ msgstr ""
181
+
182
+ #. boardassettag caveats
183
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
184
+ msgstr ""
185
+
186
+ #. boardmanufacturer description
187
+ msgid "Return the system board manufacturer."
188
+ msgstr ""
189
+
190
+ #. boardmanufacturer resolution
191
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/board_vendor` to retrieve the system board manufacturer."
192
+ msgstr ""
193
+
194
+ #. boardmanufacturer caveats
195
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
196
+ msgstr ""
197
+
198
+ #. boardproductname description
199
+ msgid "Return the system board product name."
200
+ msgstr ""
201
+
202
+ #. boardproductname resolution
203
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/board_name` to retrieve the system board product name."
204
+ msgstr ""
205
+
206
+ #. boardproductname caveats
207
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
208
+ msgstr ""
209
+
210
+ #. boardserialnumber description
211
+ msgid "Return the system board serial number."
212
+ msgstr ""
213
+
214
+ #. boardserialnumber resolution
215
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/board_serial` to retrieve the system board serial number."
216
+ msgstr ""
217
+
218
+ #. boardserialnumber caveats
219
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
220
+ msgstr ""
221
+
222
+ #. chassisassettag description
223
+ msgid "Return the system chassis asset tag."
224
+ msgstr ""
225
+
226
+ #. chassisassettag resolution
227
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/chassis_asset_tag` to retrieve the system chassis asset tag."
228
+ msgstr ""
229
+
230
+ #. chassisassettag resolution
231
+ msgid "Solaris: use the `smbios` utility to retrieve the system chassis asset tag."
232
+ msgstr ""
233
+
234
+ #. chassisassettag caveats
235
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
236
+ msgstr ""
237
+
238
+ #. chassistype description
239
+ msgid "Return the system chassis type."
240
+ msgstr ""
241
+
242
+ #. chassistype resolution
243
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/chassis_type` to retrieve the system chassis type."
244
+ msgstr ""
245
+
246
+ #. chassistype resolution
247
+ msgid "Solaris: use the `smbios` utility to retrieve the system chassis type."
248
+ msgstr ""
249
+
250
+ #. chassistype caveats
251
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
252
+ msgstr ""
253
+
254
+ #. dhcp_servers description
255
+ msgid "Return the DHCP servers for the system."
256
+ msgstr ""
257
+
258
+ #. dhcp_servers resolution
259
+ msgid "Linux: parse `dhclient` lease files or use the `dhcpcd` utility to retrieve the DHCP servers."
260
+ msgstr ""
261
+
262
+ #. dhcp_servers resolution
263
+ msgid "Mac OSX: use the `ipconfig` utility to retrieve the DHCP servers."
264
+ msgstr ""
265
+
266
+ #. dhcp_servers resolution
267
+ msgid "Solaris: use the `dhcpinfo` utility to retrieve the DHCP servers."
268
+ msgstr ""
269
+
270
+ #. dhcp_servers resolution
271
+ msgid "Windows: use the `GetAdaptersAddresses` (Windows Server 2003: `GetAdaptersInfo`) function to retrieve the DHCP servers."
272
+ msgstr ""
273
+
274
+ #. disks description
275
+ msgid "Return the disk (block) devices attached to the system."
276
+ msgstr ""
277
+
278
+ #. disks resolution
279
+ msgid "Linux: parse the contents of `/sys/block/<device>/`."
280
+ msgstr ""
281
+
282
+ #. disks resolution
283
+ msgid "Solaris: use the `kstat` function to query disk information."
284
+ msgstr ""
285
+
286
+ #. disks caveats
287
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
288
+ msgstr ""
289
+
290
+ #. dmi description
291
+ msgid "Return the system management information."
292
+ msgstr ""
293
+
294
+ #. dmi resolution
295
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/` to retrieve system management information."
296
+ msgstr ""
297
+
298
+ #. dmi resolution
299
+ msgid "Mac OSX: use the `sysctl` function to retrieve system management information."
300
+ msgstr ""
301
+
302
+ #. dmi resolution
303
+ msgid "Solaris: use the `smbios`, `prtconf`, and `uname` utilities to retrieve system management information."
304
+ msgstr ""
305
+
306
+ #. dmi resolution
307
+ msgid "Windows: use WMI to retrieve system management information."
308
+ msgstr ""
309
+
310
+ #. dmi caveats
311
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
312
+ msgstr ""
313
+
314
+ #. domain description
315
+ msgid "Return the network domain of the system."
316
+ msgstr ""
317
+
318
+ #. domain resolution
319
+ msgid "POSIX platforms: use the `getaddrinfo` function to retrieve the network domain."
320
+ msgstr ""
321
+
322
+ #. domain resolution
323
+ msgid "Windows: query the registry to retrieve the network domain; falls back to the primary interface's domain if not set in the registry."
324
+ msgstr ""
325
+
326
+ #. ec2_metadata description
327
+ msgid "Return the Amazon Elastic Compute Cloud (EC2) instance metadata."
328
+ msgstr ""
329
+
330
+ #. ec2_metadata description
331
+ msgid "Please see the [EC2 instance metadata documentation](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) for the contents of this fact."
332
+ msgstr ""
333
+
334
+ #. ec2_metadata resolution
335
+ msgid "EC2: query the EC2 metadata endpoint and parse the response."
336
+ msgstr ""
337
+
338
+ #. ec2_metadata caveats
339
+ msgid "All platforms: `libfacter` must be built with `libcurl` support."
340
+ msgstr ""
341
+
342
+ #. ec2_userdata description
343
+ msgid "Return the Amazon Elastic Compute Cloud (EC2) instance user data."
344
+ msgstr ""
345
+
346
+ #. ec2_userdata description
347
+ msgid "Please see the [EC2 instance user data documentation](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) for the contents of this fact."
348
+ msgstr ""
349
+
350
+ #. ec2_userdata resolution
351
+ msgid "EC2: query the EC2 user data endpoint and parse the response."
352
+ msgstr ""
353
+
354
+ #. ec2_userdata caveats
355
+ msgid "All platforms: `libfacter` must be built with `libcurl` support."
356
+ msgstr ""
357
+
358
+ #. env_windows_installdir description
359
+ msgid "Return the path of the directory in which Puppet was installed."
360
+ msgstr ""
361
+
362
+ #. env_windows_installdir resolution
363
+ msgid "Windows: This fact is specific to the Windows MSI generated environment, and is"
364
+ msgstr ""
365
+
366
+ #. env_windows_installdir resolution
367
+ msgid " set using the `environment.bat` script that configures the runtime environment"
368
+ msgstr ""
369
+
370
+ #. env_windows_installdir resolution
371
+ msgid " for all Puppet executables. Please see [the original commit in the puppet_for_the_win repo](https://github.com/puppetlabs/puppet_for_the_win/commit/0cc32c1a09550c13d725b200d3c0cc17d93ec262) for more information."
372
+ msgstr ""
373
+
374
+ #. env_windows_installdir caveats
375
+ msgid "This fact is specific to Windows, and will not resolve on any other platform."
376
+ msgstr ""
377
+
378
+ #. facterversion description
379
+ msgid "Return the version of facter."
380
+ msgstr ""
381
+
382
+ #. facterversion resolution
383
+ msgid "All platforms: use the built-in version of libfacter."
384
+ msgstr ""
385
+
386
+ #. filesystems description
387
+ msgid "Return the usable file systems for block or disk devices."
388
+ msgstr ""
389
+
390
+ #. filesystems resolution
391
+ msgid "Linux: parse the contents of `/proc/filesystems` to retrieve the usable file systems."
392
+ msgstr ""
393
+
394
+ #. filesystems resolution
395
+ msgid "Mac OSX: use the `getfsstat` function to retrieve the usable file systems."
396
+ msgstr ""
397
+
398
+ #. filesystems resolution
399
+ msgid "Solaris: use the `sysdef` utility to retrieve the usable file systems."
400
+ msgstr ""
401
+
402
+ #. filesystems caveats
403
+ msgid "Linux: The proc file system must be mounted."
404
+ msgstr ""
405
+
406
+ #. filesystems caveats
407
+ msgid "Mac OSX: The usable file systems is limited to the file system of mounted devices."
408
+ msgstr ""
409
+
410
+ #. fqdn description
411
+ msgid "Return the fully qualified domain name (FQDN) of the system."
412
+ msgstr ""
413
+
414
+ #. fqdn resolution
415
+ msgid "POSIX platforms: use the `getaddrinfo` function to retrieve the FQDN or use host and domain names."
416
+ msgstr ""
417
+
418
+ #. fqdn resolution
419
+ msgid "Windows: use the host and domain names to build the FQDN."
420
+ msgstr ""
421
+
422
+ #. gce description
423
+ msgid "Return the Google Compute Engine (GCE) metadata."
424
+ msgstr ""
425
+
426
+ #. gce description
427
+ msgid "Please see the [GCE metadata documentation](https://cloud.google.com/compute/docs/metadata) for the contents of this fact."
428
+ msgstr ""
429
+
430
+ #. gce resolution
431
+ msgid "GCE: query the GCE metadata endpoint and parse the response."
432
+ msgstr ""
433
+
434
+ #. gce caveats
435
+ msgid "All platforms: `libfacter` must be built with `libcurl` support."
436
+ msgstr ""
437
+
438
+ #. gid description
439
+ msgid "Return the group identifier (GID) of the user running facter."
440
+ msgstr ""
441
+
442
+ #. gid resolution
443
+ msgid "POSIX platforms: use the `getegid` fuction to retrieve the group identifier."
444
+ msgstr ""
445
+
446
+ #. hardwareisa description
447
+ msgid "Return the hardware instruction set architecture (ISA)."
448
+ msgstr ""
449
+
450
+ #. hardwareisa resolution
451
+ msgid "POSIX platforms: use `uname` to retrieve the hardware ISA."
452
+ msgstr ""
453
+
454
+ #. hardwareisa resolution
455
+ msgid "Windows: use WMI to retrieve the hardware ISA."
456
+ msgstr ""
457
+
458
+ #. hardwaremodel description
459
+ msgid "Return the operating system's hardware model."
460
+ msgstr ""
461
+
462
+ #. hardwaremodel resolution
463
+ msgid "POSIX platforms: use the `uname` function to retrieve the OS hardware model."
464
+ msgstr ""
465
+
466
+ #. hardwaremodel resolution
467
+ msgid "Windows: use the `GetNativeSystemInfo` function to retrieve the OS hardware model."
468
+ msgstr ""
469
+
470
+ #. hostname description
471
+ msgid "Return the host name of the system."
472
+ msgstr ""
473
+
474
+ #. hostname resolution
475
+ msgid "POSIX platforms: use the `gethostname` function to retrieve the host name"
476
+ msgstr ""
477
+
478
+ #. hostname resolution
479
+ msgid "Windows: use the `GetComputerNameExW` function to retrieve the host name."
480
+ msgstr ""
481
+
482
+ #. id description
483
+ msgid "Return the user identifier (UID) of the user running facter."
484
+ msgstr ""
485
+
486
+ #. id resolution
487
+ msgid "POSIX platforms: use the `geteuid` fuction to retrieve the user identifier."
488
+ msgstr ""
489
+
490
+ #. identity description
491
+ msgid "Return the identity information of the user running facter."
492
+ msgstr ""
493
+
494
+ #. identity resolution
495
+ msgid "POSIX platforms: use the `getegid`, `getpwuid_r`, `geteuid`, and `getgrgid_r` functions to retrieve the identity information; use the result of the `geteuid() == 0` test as the value of the privileged element"
496
+ msgstr ""
497
+
498
+ #. identity resolution
499
+ msgid "Windows: use the `GetUserNameExW` function to retrieve the identity information; use the `GetTokenInformation` to get the current process token elevation status and use it as the value of the privileged element on versions of Windows supporting the token elevation, on older versions of Windows use the `CheckTokenMembership` to test whether the well known local Administrators group SID is enabled in the current thread impersonation token and use the test result as the value of the privileged element"
500
+ msgstr ""
501
+
502
+ #. interfaces description
503
+ msgid "Return the comma-separated list of network interface names."
504
+ msgstr ""
505
+
506
+ #. interfaces resolution
507
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface names."
508
+ msgstr ""
509
+
510
+ #. interfaces resolution
511
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface names."
512
+ msgstr ""
513
+
514
+ #. interfaces resolution
515
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface names."
516
+ msgstr ""
517
+
518
+ #. interfaces resolution
519
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface names."
520
+ msgstr ""
521
+
522
+ #. ipaddress description
523
+ msgid "Return the IPv4 address for the default network interface."
524
+ msgstr ""
525
+
526
+ #. ipaddress resolution
527
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface address."
528
+ msgstr ""
529
+
530
+ #. ipaddress resolution
531
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface address."
532
+ msgstr ""
533
+
534
+ #. ipaddress resolution
535
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface address."
536
+ msgstr ""
537
+
538
+ #. ipaddress resolution
539
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface address."
540
+ msgstr ""
541
+
542
+ #. ipaddress6 description
543
+ msgid "Return the IPv6 address for the default network interface."
544
+ msgstr ""
545
+
546
+ #. ipaddress6 resolution
547
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface address."
548
+ msgstr ""
549
+
550
+ #. ipaddress6 resolution
551
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface address."
552
+ msgstr ""
553
+
554
+ #. ipaddress6 resolution
555
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface address."
556
+ msgstr ""
557
+
558
+ #. ipaddress6 resolution
559
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface address."
560
+ msgstr ""
561
+
562
+ #. ipaddress6_<interface> description
563
+ msgid "Return the IPv6 address for a network interface."
564
+ msgstr ""
565
+
566
+ #. ipaddress6_<interface> resolution
567
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface address."
568
+ msgstr ""
569
+
570
+ #. ipaddress6_<interface> resolution
571
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface address."
572
+ msgstr ""
573
+
574
+ #. ipaddress6_<interface> resolution
575
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface address."
576
+ msgstr ""
577
+
578
+ #. ipaddress6_<interface> resolution
579
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface address."
580
+ msgstr ""
581
+
582
+ #. ipaddress_<interface> description
583
+ msgid "Return the IPv4 address for a network interface."
584
+ msgstr ""
585
+
586
+ #. ipaddress_<interface> resolution
587
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface address."
588
+ msgstr ""
589
+
590
+ #. ipaddress_<interface> resolution
591
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface address."
592
+ msgstr ""
593
+
594
+ #. ipaddress_<interface> resolution
595
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface address."
596
+ msgstr ""
597
+
598
+ #. ipaddress_<interface> resolution
599
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface address."
600
+ msgstr ""
601
+
602
+ #. is_virtual description
603
+ msgid "Return whether or not the host is a virtual machine."
604
+ msgstr ""
605
+
606
+ #. is_virtual resolution
607
+ msgid "Linux: use procfs or utilities such as `vmware` and `virt-what` to retrieve virtual machine status."
608
+ msgstr ""
609
+
610
+ #. is_virtual resolution
611
+ msgid "Mac OSX: use the system profiler to retrieve virtual machine status."
612
+ msgstr ""
613
+
614
+ #. is_virtual resolution
615
+ msgid "Solaris: use the `zonename` utility to retrieve virtual machine status."
616
+ msgstr ""
617
+
618
+ #. is_virtual resolution
619
+ msgid "Windows: use WMI to retrieve virtual machine status."
620
+ msgstr ""
621
+
622
+ #. kernel description
623
+ msgid "Return the kernel's name."
624
+ msgstr ""
625
+
626
+ #. kernel resolution
627
+ msgid "POSIX platforms: use the `uname` function to retrieve the kernel name."
628
+ msgstr ""
629
+
630
+ #. kernel resolution
631
+ msgid "Windows: use the value of `windows` for all Windows versions."
632
+ msgstr ""
633
+
634
+ #. kernelmajversion description
635
+ msgid "Return the kernel's major version."
636
+ msgstr ""
637
+
638
+ #. kernelmajversion resolution
639
+ msgid "POSIX platforms: use the `uname` function to retrieve the kernel's major version."
640
+ msgstr ""
641
+
642
+ #. kernelmajversion resolution
643
+ msgid "Windows: use the file version of `kernel32.dll` to retrieve the kernel's major version."
644
+ msgstr ""
645
+
646
+ #. kernelrelease description
647
+ msgid "Return the kernel's release."
648
+ msgstr ""
649
+
650
+ #. kernelrelease resolution
651
+ msgid "POSIX platforms: use the `uname` function to retrieve the kernel's release."
652
+ msgstr ""
653
+
654
+ #. kernelrelease resolution
655
+ msgid "Windows: use the file version of `kernel32.dll` to retrieve the kernel's release."
656
+ msgstr ""
657
+
658
+ #. kernelversion description
659
+ msgid "Return the kernel's version."
660
+ msgstr ""
661
+
662
+ #. kernelversion resolution
663
+ msgid "POSIX platforms: use the `uname` function to retrieve the kernel's version."
664
+ msgstr ""
665
+
666
+ #. kernelversion resolution
667
+ msgid "Windows: use the file version of `kernel32.dll` to retrieve the kernel's version."
668
+ msgstr ""
669
+
670
+ #. ldom description
671
+ msgid "Return Solaris LDom information from the `virtinfo` utility."
672
+ msgstr ""
673
+
674
+ #. ldom resolution
675
+ msgid "Solaris: use the `virtinfo` utility to retrieve LDom information."
676
+ msgstr ""
677
+
678
+ #. ldom_<name> description
679
+ msgid "Return Solaris LDom information."
680
+ msgstr ""
681
+
682
+ #. ldom_<name> resolution
683
+ msgid "Solaris: use the `virtinfo` utility to retrieve LDom information."
684
+ msgstr ""
685
+
686
+ #. load_averages description
687
+ msgid "Return the load average over the last 1, 5 and 15 minutes."
688
+ msgstr ""
689
+
690
+ #. load_averages resolution
691
+ msgid "POSIX platforms: use `getloadavg` function to retrieve the system load averages."
692
+ msgstr ""
693
+
694
+ #. lsbdistcodename description
695
+ msgid "Return the Linux Standard Base (LSB) distribution code name."
696
+ msgstr ""
697
+
698
+ #. lsbdistcodename resolution
699
+ msgid "Linux: use the `lsb_release` utility to retrieve the LSB distribution code name."
700
+ msgstr ""
701
+
702
+ #. lsbdistcodename caveats
703
+ msgid "Linux: Requires that the `lsb_release` utility be installed."
704
+ msgstr ""
705
+
706
+ #. lsbdistdescription description
707
+ msgid "Return the Linux Standard Base (LSB) distribution description."
708
+ msgstr ""
709
+
710
+ #. lsbdistdescription resolution
711
+ msgid "Linux: use the `lsb_release` utility to retrieve the LSB distribution description."
712
+ msgstr ""
713
+
714
+ #. lsbdistdescription caveats
715
+ msgid "Linux: Requires that the `lsb_release` utility be installed."
716
+ msgstr ""
717
+
718
+ #. lsbdistid description
719
+ msgid "Return the Linux Standard Base (LSB) distribution identifier."
720
+ msgstr ""
721
+
722
+ #. lsbdistid resolution
723
+ msgid "Linux: use the `lsb_release` utility to retrieve the LSB distribution identifier."
724
+ msgstr ""
725
+
726
+ #. lsbdistid caveats
727
+ msgid "Linux: Requires that the `lsb_release` utility be installed."
728
+ msgstr ""
729
+
730
+ #. lsbdistrelease description
731
+ msgid "Return the Linux Standard Base (LSB) distribution release."
732
+ msgstr ""
733
+
734
+ #. lsbdistrelease resolution
735
+ msgid "Linux: use the `lsb_release` utility to retrieve the LSB distribution release."
736
+ msgstr ""
737
+
738
+ #. lsbdistrelease caveats
739
+ msgid "Linux: Requires that the `lsb_release` utility be installed."
740
+ msgstr ""
741
+
742
+ #. lsbmajdistrelease description
743
+ msgid "Return the Linux Standard Base (LSB) major distribution release."
744
+ msgstr ""
745
+
746
+ #. lsbmajdistrelease resolution
747
+ msgid "Linux: use the `lsb_release` utility to retrieve the LSB major distribution release."
748
+ msgstr ""
749
+
750
+ #. lsbmajdistrelease caveats
751
+ msgid "Linux: Requires that the `lsb_release` utility be installed."
752
+ msgstr ""
753
+
754
+ #. lsbminordistrelease description
755
+ msgid "Return the Linux Standard Base (LSB) minor distribution release."
756
+ msgstr ""
757
+
758
+ #. lsbminordistrelease resolution
759
+ msgid "Linux: use the `lsb_release` utility to retrieve the LSB minor distribution release."
760
+ msgstr ""
761
+
762
+ #. lsbminordistrelease caveats
763
+ msgid "Linux: Requires that the `lsb_release` utility be installed."
764
+ msgstr ""
765
+
766
+ #. lsbrelease description
767
+ msgid "Return the Linux Standard Base (LSB) release."
768
+ msgstr ""
769
+
770
+ #. lsbrelease resolution
771
+ msgid "Linux: use the `lsb_release` utility to retrieve the LSB release."
772
+ msgstr ""
773
+
774
+ #. lsbrelease caveats
775
+ msgid "Linux: Requires that the `lsb_release` utility be installed."
776
+ msgstr ""
777
+
778
+ #. macaddress description
779
+ msgid "Return the MAC address for the default network interface."
780
+ msgstr ""
781
+
782
+ #. macaddress resolution
783
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface address."
784
+ msgstr ""
785
+
786
+ #. macaddress resolution
787
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface address."
788
+ msgstr ""
789
+
790
+ #. macaddress resolution
791
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface address."
792
+ msgstr ""
793
+
794
+ #. macaddress resolution
795
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface address."
796
+ msgstr ""
797
+
798
+ #. macaddress_<interface> description
799
+ msgid "Return the MAC address for a network interface."
800
+ msgstr ""
801
+
802
+ #. macaddress_<interface> resolution
803
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface address."
804
+ msgstr ""
805
+
806
+ #. macaddress_<interface> resolution
807
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface address."
808
+ msgstr ""
809
+
810
+ #. macaddress_<interface> resolution
811
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface address."
812
+ msgstr ""
813
+
814
+ #. macaddress_<interface> resolution
815
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface address."
816
+ msgstr ""
817
+
818
+ #. macosx_buildversion description
819
+ msgid "Return the Mac OSX build version."
820
+ msgstr ""
821
+
822
+ #. macosx_buildversion resolution
823
+ msgid "Mac OSX: use the `sw_vers` utility to retrieve the Mac OSX build version."
824
+ msgstr ""
825
+
826
+ #. macosx_productname description
827
+ msgid "Return the Mac OSX product name."
828
+ msgstr ""
829
+
830
+ #. macosx_productname resolution
831
+ msgid "Mac OSX: use the `sw_vers` utility to retrieve the Mac OSX product name."
832
+ msgstr ""
833
+
834
+ #. macosx_productversion description
835
+ msgid "Return the Mac OSX product version."
836
+ msgstr ""
837
+
838
+ #. macosx_productversion resolution
839
+ msgid "Mac OSX: use the `sw_vers` utility to retrieve the Mac OSX product version."
840
+ msgstr ""
841
+
842
+ #. macosx_productversion_major description
843
+ msgid "Return the Mac OSX product major version."
844
+ msgstr ""
845
+
846
+ #. macosx_productversion_major resolution
847
+ msgid "Mac OSX: use the `sw_vers` utility to retrieve the Mac OSX product major version."
848
+ msgstr ""
849
+
850
+ #. macosx_productversion_minor description
851
+ msgid "Return the Mac OSX product minor version."
852
+ msgstr ""
853
+
854
+ #. macosx_productversion_minor resolution
855
+ msgid "Mac OSX: use the `sw_vers` utility to retrieve the Mac OSX product minor version."
856
+ msgstr ""
857
+
858
+ #. manufacturer description
859
+ msgid "Return the system manufacturer."
860
+ msgstr ""
861
+
862
+ #. manufacturer resolution
863
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/sys_vendor` to retrieve the system manufacturer."
864
+ msgstr ""
865
+
866
+ #. manufacturer resolution
867
+ msgid "Solaris: use the `prtconf` utility to retrieve the system manufacturer."
868
+ msgstr ""
869
+
870
+ #. manufacturer resolution
871
+ msgid "Windows: use WMI to retrieve the system manufacturer."
872
+ msgstr ""
873
+
874
+ #. manufacturer caveats
875
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
876
+ msgstr ""
877
+
878
+ #. memory description
879
+ msgid "Return the system memory information."
880
+ msgstr ""
881
+
882
+ #. memory resolution
883
+ msgid "Linux: parse the contents of `/proc/meminfo` to retrieve the system memory information."
884
+ msgstr ""
885
+
886
+ #. memory resolution
887
+ msgid "Mac OSX: use the `sysctl` function to retrieve the system memory information."
888
+ msgstr ""
889
+
890
+ #. memory resolution
891
+ msgid "Solaris: use the `kstat` function to retrieve the system memory information."
892
+ msgstr ""
893
+
894
+ #. memory resolution
895
+ msgid "Windows: use the `GetPerformanceInfo` function to retrieve the system memory information."
896
+ msgstr ""
897
+
898
+ #. memoryfree description
899
+ msgid "Return the display size of the free system memory (e.g. "1 GiB")."
900
+ msgstr ""
901
+
902
+ #. memoryfree resolution
903
+ msgid "Linux: parse the contents of `/proc/meminfo` to retrieve the free system memory."
904
+ msgstr ""
905
+
906
+ #. memoryfree resolution
907
+ msgid "Mac OSX: use the `sysctl` function to retrieve the free system memory."
908
+ msgstr ""
909
+
910
+ #. memoryfree resolution
911
+ msgid "Solaris: use the `kstat` function to retrieve the free system memory."
912
+ msgstr ""
913
+
914
+ #. memoryfree resolution
915
+ msgid "Windows: use the `GetPerformanceInfo` function to retrieve the free system memory."
916
+ msgstr ""
917
+
918
+ #. memoryfree_mb description
919
+ msgid "Return the size of the free system memory, in mebibytes."
920
+ msgstr ""
921
+
922
+ #. memoryfree_mb resolution
923
+ msgid "Linux: parse the contents of `/proc/meminfo` to retrieve the free system memory."
924
+ msgstr ""
925
+
926
+ #. memoryfree_mb resolution
927
+ msgid "Mac OSX: use the `sysctl` function to retrieve the free system memory."
928
+ msgstr ""
929
+
930
+ #. memoryfree_mb resolution
931
+ msgid "Solaris: use the `kstat` function to retrieve the free system memory."
932
+ msgstr ""
933
+
934
+ #. memoryfree_mb resolution
935
+ msgid "Windows: use the `GetPerformanceInfo` function to retrieve the free system memory."
936
+ msgstr ""
937
+
938
+ #. memorysize description
939
+ msgid "Return the display size of the total system memory (e.g. "1 GiB")."
940
+ msgstr ""
941
+
942
+ #. memorysize resolution
943
+ msgid "Linux: parse the contents of `/proc/meminfo` to retrieve the total system memory."
944
+ msgstr ""
945
+
946
+ #. memorysize resolution
947
+ msgid "Mac OSX: use the `sysctl` function to retrieve the total system memory."
948
+ msgstr ""
949
+
950
+ #. memorysize resolution
951
+ msgid "Solaris: use the `kstat` function to retrieve the total system memory."
952
+ msgstr ""
953
+
954
+ #. memorysize resolution
955
+ msgid "Windows: use the `GetPerformanceInfo` function to retrieve the total system memory."
956
+ msgstr ""
957
+
958
+ #. memorysize_mb description
959
+ msgid "Return the size of the total system memory, in mebibytes."
960
+ msgstr ""
961
+
962
+ #. memorysize_mb resolution
963
+ msgid "Linux: parse the contents of `/proc/meminfo` to retrieve the total system memory."
964
+ msgstr ""
965
+
966
+ #. memorysize_mb resolution
967
+ msgid "Mac OSX: use the `sysctl` function to retrieve the total system memory."
968
+ msgstr ""
969
+
970
+ #. memorysize_mb resolution
971
+ msgid "Solaris: use the `kstat` function to retrieve the total system memory."
972
+ msgstr ""
973
+
974
+ #. memorysize_mb resolution
975
+ msgid "Windows: use the `GetPerformanceInfo` function to retrieve the total system memory."
976
+ msgstr ""
977
+
978
+ #. mountpoints description
979
+ msgid "Return the current mount points of the system."
980
+ msgstr ""
981
+
982
+ #. mountpoints resolution
983
+ msgid "Linux: use the `setmntent` function to retrieve the mount points."
984
+ msgstr ""
985
+
986
+ #. mountpoints resolution
987
+ msgid "Mac OSX: use the `getfsstat` function to retrieve the mount points."
988
+ msgstr ""
989
+
990
+ #. mountpoints resolution
991
+ msgid "Solaris: parse the contents of `/etc/mnttab` to retrieve the mount points."
992
+ msgstr ""
993
+
994
+ #. mtu_<interface> description
995
+ msgid "Return the Maximum Transmission Unit (MTU) for a network interface."
996
+ msgstr ""
997
+
998
+ #. mtu_<interface> resolution
999
+ msgid "Linux: use the `ioctl` function to retrieve the network interface MTU."
1000
+ msgstr ""
1001
+
1002
+ #. mtu_<interface> resolution
1003
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface MTU."
1004
+ msgstr ""
1005
+
1006
+ #. mtu_<interface> resolution
1007
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface MTU."
1008
+ msgstr ""
1009
+
1010
+ #. mtu_<interface> resolution
1011
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface MTU."
1012
+ msgstr ""
1013
+
1014
+ #. netmask description
1015
+ msgid "Return the IPv4 netmask for the default network interface."
1016
+ msgstr ""
1017
+
1018
+ #. netmask resolution
1019
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface netmask."
1020
+ msgstr ""
1021
+
1022
+ #. netmask resolution
1023
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface netmask."
1024
+ msgstr ""
1025
+
1026
+ #. netmask resolution
1027
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface netmask."
1028
+ msgstr ""
1029
+
1030
+ #. netmask resolution
1031
+ msgid "Windows: use the `GetAdaptersAddresses` (Windows Server 2003: `GetAdaptersInfo`) function to retrieve the network interface netmask."
1032
+ msgstr ""
1033
+
1034
+ #. netmask6 description
1035
+ msgid "Return the IPv6 netmask for the default network interface."
1036
+ msgstr ""
1037
+
1038
+ #. netmask6 resolution
1039
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface netmask."
1040
+ msgstr ""
1041
+
1042
+ #. netmask6 resolution
1043
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface netmask."
1044
+ msgstr ""
1045
+
1046
+ #. netmask6 resolution
1047
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface netmask."
1048
+ msgstr ""
1049
+
1050
+ #. netmask6 resolution
1051
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface netmask."
1052
+ msgstr ""
1053
+
1054
+ #. netmask6 caveats
1055
+ msgid "Windows Server 2003: IPv6 netmasks are not supported."
1056
+ msgstr ""
1057
+
1058
+ #. netmask6_<interface> description
1059
+ msgid "Return the IPv6 netmask for a network interface."
1060
+ msgstr ""
1061
+
1062
+ #. netmask6_<interface> resolution
1063
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface netmask."
1064
+ msgstr ""
1065
+
1066
+ #. netmask6_<interface> resolution
1067
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface netmask."
1068
+ msgstr ""
1069
+
1070
+ #. netmask6_<interface> resolution
1071
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface netmask."
1072
+ msgstr ""
1073
+
1074
+ #. netmask6_<interface> resolution
1075
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface netmask."
1076
+ msgstr ""
1077
+
1078
+ #. netmask6_<interface> caveats
1079
+ msgid "Windows Server 2003: IPv6 netmasks are not supported."
1080
+ msgstr ""
1081
+
1082
+ #. netmask_<interface> description
1083
+ msgid "Return the IPv4 netmask for a network interface."
1084
+ msgstr ""
1085
+
1086
+ #. netmask_<interface> resolution
1087
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface netmask."
1088
+ msgstr ""
1089
+
1090
+ #. netmask_<interface> resolution
1091
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface netmask."
1092
+ msgstr ""
1093
+
1094
+ #. netmask_<interface> resolution
1095
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface netmask."
1096
+ msgstr ""
1097
+
1098
+ #. netmask_<interface> resolution
1099
+ msgid "Windows: use the `GetAdaptersAddresses` (Windows Server 2003: `GetAdaptersInfo`) function to retrieve the network interface netmask."
1100
+ msgstr ""
1101
+
1102
+ #. network description
1103
+ msgid "Return the IPv4 network for the default network interface."
1104
+ msgstr ""
1105
+
1106
+ #. network resolution
1107
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface network."
1108
+ msgstr ""
1109
+
1110
+ #. network resolution
1111
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface network."
1112
+ msgstr ""
1113
+
1114
+ #. network resolution
1115
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface network."
1116
+ msgstr ""
1117
+
1118
+ #. network resolution
1119
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface network."
1120
+ msgstr ""
1121
+
1122
+ #. network6 description
1123
+ msgid "Return the IPv6 network for the default network interface."
1124
+ msgstr ""
1125
+
1126
+ #. network6 resolution
1127
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface network."
1128
+ msgstr ""
1129
+
1130
+ #. network6 resolution
1131
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface network."
1132
+ msgstr ""
1133
+
1134
+ #. network6 resolution
1135
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface network."
1136
+ msgstr ""
1137
+
1138
+ #. network6 resolution
1139
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface network."
1140
+ msgstr ""
1141
+
1142
+ #. network6_<interface> description
1143
+ msgid "Return the IPv6 network for a network interface."
1144
+ msgstr ""
1145
+
1146
+ #. network6_<interface> resolution
1147
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface network."
1148
+ msgstr ""
1149
+
1150
+ #. network6_<interface> resolution
1151
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface network."
1152
+ msgstr ""
1153
+
1154
+ #. network6_<interface> resolution
1155
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface network."
1156
+ msgstr ""
1157
+
1158
+ #. network6_<interface> resolution
1159
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface network."
1160
+ msgstr ""
1161
+
1162
+ #. network_<interface> description
1163
+ msgid "Return the IPv4 network for a network interface."
1164
+ msgstr ""
1165
+
1166
+ #. network_<interface> resolution
1167
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interface network."
1168
+ msgstr ""
1169
+
1170
+ #. network_<interface> resolution
1171
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interface network."
1172
+ msgstr ""
1173
+
1174
+ #. network_<interface> resolution
1175
+ msgid "Solaris: use the `ioctl` function to retrieve the network interface network."
1176
+ msgstr ""
1177
+
1178
+ #. network_<interface> resolution
1179
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interface network."
1180
+ msgstr ""
1181
+
1182
+ #. networking description
1183
+ msgid "Return the networking information for the system."
1184
+ msgstr ""
1185
+
1186
+ #. networking resolution
1187
+ msgid "Linux: use the `getifaddrs` function to retrieve the network interfaces."
1188
+ msgstr ""
1189
+
1190
+ #. networking resolution
1191
+ msgid "Mac OSX: use the `getifaddrs` function to retrieve the network interfaces."
1192
+ msgstr ""
1193
+
1194
+ #. networking resolution
1195
+ msgid "Solaris: use the `ioctl` function to retrieve the network interfaces."
1196
+ msgstr ""
1197
+
1198
+ #. networking resolution
1199
+ msgid "Windows: use the `GetAdaptersAddresses` function to retrieve the network interfaces."
1200
+ msgstr ""
1201
+
1202
+ #. networking caveats
1203
+ msgid "Windows Server 2003: the `GetAdaptersInfo` function is used for DHCP and netmask lookup. This function does not support IPv6 netmasks."
1204
+ msgstr ""
1205
+
1206
+ #. operatingsystem description
1207
+ msgid "Return the name of the operating system."
1208
+ msgstr ""
1209
+
1210
+ #. operatingsystem resolution
1211
+ msgid "All platforms: default to the kernel name."
1212
+ msgstr ""
1213
+
1214
+ #. operatingsystem resolution
1215
+ msgid "Linux: use various release files in `/etc` to retrieve the OS name."
1216
+ msgstr ""
1217
+
1218
+ #. operatingsystemmajrelease description
1219
+ msgid "Return the major release of the operating system."
1220
+ msgstr ""
1221
+
1222
+ #. operatingsystemmajrelease resolution
1223
+ msgid "All platforms: default to the major version of the kernel release."
1224
+ msgstr ""
1225
+
1226
+ #. operatingsystemmajrelease resolution
1227
+ msgid "Linux: parse the contents of release files in `/etc` to retrieve the OS major release."
1228
+ msgstr ""
1229
+
1230
+ #. operatingsystemmajrelease resolution
1231
+ msgid "Solaris: parse the contents of `/etc/release` to retrieve the OS major release."
1232
+ msgstr ""
1233
+
1234
+ #. operatingsystemmajrelease resolution
1235
+ msgid "Windows: use WMI to retrieve the OS major release."
1236
+ msgstr ""
1237
+
1238
+ #. operatingsystemmajrelease caveats
1239
+ msgid "Linux: for Ubuntu, the major release is X.Y (e.g. "10.4")."
1240
+ msgstr ""
1241
+
1242
+ #. operatingsystemrelease description
1243
+ msgid "Return the release of the operating system."
1244
+ msgstr ""
1245
+
1246
+ #. operatingsystemrelease resolution
1247
+ msgid "All platforms: default to the kernel release."
1248
+ msgstr ""
1249
+
1250
+ #. operatingsystemrelease resolution
1251
+ msgid "Linux: parse the contents of release files in `/etc` to retrieve the OS release."
1252
+ msgstr ""
1253
+
1254
+ #. operatingsystemrelease resolution
1255
+ msgid "Solaris: parse the contents of `/etc/release` to retrieve the OS release."
1256
+ msgstr ""
1257
+
1258
+ #. operatingsystemrelease resolution
1259
+ msgid "Windows: use WMI to retrieve the OS release."
1260
+ msgstr ""
1261
+
1262
+ #. os description
1263
+ msgid "Return information about the host operating system."
1264
+ msgstr ""
1265
+
1266
+ #. os resolution
1267
+ msgid "Linux: use the `lsb_release` utility and parse the contents of release files in `/etc` to retrieve the OS information."
1268
+ msgstr ""
1269
+
1270
+ #. os resolution
1271
+ msgid "OSX: use the `sw_vers` utility to retrieve the OS information."
1272
+ msgstr ""
1273
+
1274
+ #. os resolution
1275
+ msgid "Solaris: parse the contents of `/etc/release` to retrieve the OS information."
1276
+ msgstr ""
1277
+
1278
+ #. os resolution
1279
+ msgid "Windows: use WMI to retrieve the OS information."
1280
+ msgstr ""
1281
+
1282
+ #. osfamily description
1283
+ msgid "Return the family of the operating system."
1284
+ msgstr ""
1285
+
1286
+ #. osfamily resolution
1287
+ msgid "All platforms: default to the kernel name."
1288
+ msgstr ""
1289
+
1290
+ #. osfamily resolution
1291
+ msgid "Linux: map various Linux distributions to their base distribution (e.g. Ubuntu is a "Debian" distro)."
1292
+ msgstr ""
1293
+
1294
+ #. osfamily resolution
1295
+ msgid "Solaris: map various Solaris-based operating systems to the "Solaris" family."
1296
+ msgstr ""
1297
+
1298
+ #. osfamily resolution
1299
+ msgid "Windows: use "windows" as the family name."
1300
+ msgstr ""
1301
+
1302
+ #. partitions description
1303
+ msgid "Return the disk partitions of the system."
1304
+ msgstr ""
1305
+
1306
+ #. partitions resolution
1307
+ msgid "Linux: use `libblkid` to retrieve the disk partitions."
1308
+ msgstr ""
1309
+
1310
+ #. partitions caveats
1311
+ msgid "Linux: `libfacter` must be built with `libblkid` support."
1312
+ msgstr ""
1313
+
1314
+ #. path description
1315
+ msgid "Return the PATH environment variable."
1316
+ msgstr ""
1317
+
1318
+ #. path resolution
1319
+ msgid "All platforms: retrieve the value of the PATH environment variable."
1320
+ msgstr ""
1321
+
1322
+ #. physicalprocessorcount description
1323
+ msgid "Return the count of physical processors."
1324
+ msgstr ""
1325
+
1326
+ #. physicalprocessorcount resolution
1327
+ msgid "Linux: parse the contents `/sys/devices/system/cpu/` and `/proc/cpuinfo` to retrieve the count of physical processors."
1328
+ msgstr ""
1329
+
1330
+ #. physicalprocessorcount resolution
1331
+ msgid "Mac OSX: use the `sysctl` function to retrieve the count of physical processors."
1332
+ msgstr ""
1333
+
1334
+ #. physicalprocessorcount resolution
1335
+ msgid "Solaris: use the `kstat` function to retrieve the count of physical processors."
1336
+ msgstr ""
1337
+
1338
+ #. physicalprocessorcount resolution
1339
+ msgid "Windows: use WMI to retrieve the count of physical processors."
1340
+ msgstr ""
1341
+
1342
+ #. physicalprocessorcount caveats
1343
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
1344
+ msgstr ""
1345
+
1346
+ #. processor<N> description
1347
+ msgid "Return the model string of processor N."
1348
+ msgstr ""
1349
+
1350
+ #. processor<N> resolution
1351
+ msgid "Linux: parse the contents of `/proc/cpuinfo` to retrieve the processor model string."
1352
+ msgstr ""
1353
+
1354
+ #. processor<N> resolution
1355
+ msgid "Mac OSX: use the `sysctl` function to retrieve the processor model string."
1356
+ msgstr ""
1357
+
1358
+ #. processor<N> resolution
1359
+ msgid "Solaris: use the `kstat` function to retrieve the processor model string."
1360
+ msgstr ""
1361
+
1362
+ #. processor<N> resolution
1363
+ msgid "Windows: use WMI to retrieve the processor model string."
1364
+ msgstr ""
1365
+
1366
+ #. processorcount description
1367
+ msgid "Return the count of logical processors."
1368
+ msgstr ""
1369
+
1370
+ #. processorcount resolution
1371
+ msgid "Linux: parse the contents `/sys/devices/system/cpu/` and `/proc/cpuinfo` to retrieve the count of logical processors."
1372
+ msgstr ""
1373
+
1374
+ #. processorcount resolution
1375
+ msgid "Mac OSX: use the `sysctl` function to retrieve the count of logical processors."
1376
+ msgstr ""
1377
+
1378
+ #. processorcount resolution
1379
+ msgid "Solaris: use the `kstat` function to retrieve the count of logical processors."
1380
+ msgstr ""
1381
+
1382
+ #. processorcount resolution
1383
+ msgid "Windows: use WMI to retrieve the count of logical processors."
1384
+ msgstr ""
1385
+
1386
+ #. processorcount caveats
1387
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
1388
+ msgstr ""
1389
+
1390
+ #. processors description
1391
+ msgid "Return information about the system's processors."
1392
+ msgstr ""
1393
+
1394
+ #. processors resolution
1395
+ msgid "Linux: parse the contents `/sys/devices/system/cpu/` and `/proc/cpuinfo` to retrieve the processor information."
1396
+ msgstr ""
1397
+
1398
+ #. processors resolution
1399
+ msgid "Mac OSX: use the `sysctl` function to retrieve the processor information."
1400
+ msgstr ""
1401
+
1402
+ #. processors resolution
1403
+ msgid "Solaris: use the `kstat` function to retrieve the processor information."
1404
+ msgstr ""
1405
+
1406
+ #. processors resolution
1407
+ msgid "Windows: use WMI to retrieve the processor information."
1408
+ msgstr ""
1409
+
1410
+ #. productname description
1411
+ msgid "Return the system product name."
1412
+ msgstr ""
1413
+
1414
+ #. productname resolution
1415
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/product_name` to retrieve the system product name."
1416
+ msgstr ""
1417
+
1418
+ #. productname resolution
1419
+ msgid "Mac OSX: use the `sysctl` function to retrieve the system product name."
1420
+ msgstr ""
1421
+
1422
+ #. productname resolution
1423
+ msgid "Solaris: use the `smbios` utility to retrieve the system product name."
1424
+ msgstr ""
1425
+
1426
+ #. productname resolution
1427
+ msgid "Windows: use WMI to retrieve the system product name."
1428
+ msgstr ""
1429
+
1430
+ #. productname caveats
1431
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
1432
+ msgstr ""
1433
+
1434
+ #. ruby description
1435
+ msgid "Return information about the Ruby loaded by facter."
1436
+ msgstr ""
1437
+
1438
+ #. ruby resolution
1439
+ msgid "All platforms: Use `RbConfig`, `RUBY_PLATFORM`, and `RUBY_VERSION` to retrieve information about Ruby."
1440
+ msgstr ""
1441
+
1442
+ #. ruby caveats
1443
+ msgid "All platforms: facter must be able to locate `libruby`."
1444
+ msgstr ""
1445
+
1446
+ #. rubyplatform description
1447
+ msgid "Return the platform Ruby was built for."
1448
+ msgstr ""
1449
+
1450
+ #. rubyplatform resolution
1451
+ msgid "All platforms: use `RUBY_PLATFORM` from the Ruby loaded by facter."
1452
+ msgstr ""
1453
+
1454
+ #. rubyplatform caveats
1455
+ msgid "All platforms: facter must be able to locate `libruby`."
1456
+ msgstr ""
1457
+
1458
+ #. rubysitedir description
1459
+ msgid "Return the path to Ruby's site library directory."
1460
+ msgstr ""
1461
+
1462
+ #. rubysitedir resolution
1463
+ msgid "All platforms: use `RbConfig` from the Ruby loaded by facter."
1464
+ msgstr ""
1465
+
1466
+ #. rubysitedir caveats
1467
+ msgid "All platforms: facter must be able to locate `libruby`."
1468
+ msgstr ""
1469
+
1470
+ #. rubyversion description
1471
+ msgid "Return the version of Ruby."
1472
+ msgstr ""
1473
+
1474
+ #. rubyversion resolution
1475
+ msgid "All platforms: use `RUBY_VERSION` from the Ruby loaded by facter."
1476
+ msgstr ""
1477
+
1478
+ #. rubyversion caveats
1479
+ msgid "All platforms: facter must be able to locate `libruby`."
1480
+ msgstr ""
1481
+
1482
+ #. selinux description
1483
+ msgid "Return whether Security-Enhanced Linux (SELinux) is enabled."
1484
+ msgstr ""
1485
+
1486
+ #. selinux resolution
1487
+ msgid "Linux: parse the contents of `/proc/self/mounts` to determine if SELinux is enabled."
1488
+ msgstr ""
1489
+
1490
+ #. selinux_config_mode description
1491
+ msgid "Return the configured Security-Enhanced Linux (SELinux) mode."
1492
+ msgstr ""
1493
+
1494
+ #. selinux_config_mode resolution
1495
+ msgid "Linux: parse the contents of `/etc/selinux/config` to retrieve the configured SELinux mode."
1496
+ msgstr ""
1497
+
1498
+ #. selinux_config_policy description
1499
+ msgid "Return the configured Security-Enhanced Linux (SELinux) policy."
1500
+ msgstr ""
1501
+
1502
+ #. selinux_config_policy resolution
1503
+ msgid "Linux: parse the contents of `/etc/selinux/config` to retrieve the configured SELinux policy."
1504
+ msgstr ""
1505
+
1506
+ #. selinux_current_mode description
1507
+ msgid "Return the current Security-Enhanced Linux (SELinux) mode."
1508
+ msgstr ""
1509
+
1510
+ #. selinux_current_mode resolution
1511
+ msgid "Linux: parse the contents of `<mountpoint>/enforce` to retrieve the current SELinux mode."
1512
+ msgstr ""
1513
+
1514
+ #. selinux_enforced description
1515
+ msgid "Return whether Security-Enhanced Linux (SELinux) is enforced."
1516
+ msgstr ""
1517
+
1518
+ #. selinux_enforced resolution
1519
+ msgid "Linux: parse the contents of `<mountpoint>/enforce` to retrieve the current SELinux mode."
1520
+ msgstr ""
1521
+
1522
+ #. selinux_policyversion description
1523
+ msgid "Return the Security-Enhanced Linux (SELinux) policy version."
1524
+ msgstr ""
1525
+
1526
+ #. selinux_policyversion resolution
1527
+ msgid "Linux: parse the contents of `<mountpoint>/policyvers` to retrieve the SELinux policy version."
1528
+ msgstr ""
1529
+
1530
+ #. serialnumber description
1531
+ msgid "Return the system product serial number."
1532
+ msgstr ""
1533
+
1534
+ #. serialnumber resolution
1535
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/product_name` to retrieve the system product serial number."
1536
+ msgstr ""
1537
+
1538
+ #. serialnumber resolution
1539
+ msgid "Solaris: use the `smbios` utility to retrieve the system product serial number."
1540
+ msgstr ""
1541
+
1542
+ #. serialnumber resolution
1543
+ msgid "Windows: use WMI to retrieve the system product serial number."
1544
+ msgstr ""
1545
+
1546
+ #. serialnumber caveats
1547
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
1548
+ msgstr ""
1549
+
1550
+ #. solaris_zones description
1551
+ msgid "Return information about Solaris zones."
1552
+ msgstr ""
1553
+
1554
+ #. solaris_zones resolution
1555
+ msgid "Solaris: use the `zoneadm` and `zonename` utilities to retrieve information about the Solaris zones."
1556
+ msgstr ""
1557
+
1558
+ #. sp_<name> description
1559
+ msgid "Return Mac OSX system profiler information."
1560
+ msgstr ""
1561
+
1562
+ #. sp_<name> resolution
1563
+ msgid "Mac OSX: use the `system_profiler` utility to retrieve system profiler information."
1564
+ msgstr ""
1565
+
1566
+ #. ssh description
1567
+ msgid "Return SSH public keys and fingerprints."
1568
+ msgstr ""
1569
+
1570
+ #. ssh resolution
1571
+ msgid "POSIX platforms: parse SSH public key files and derive fingerprints."
1572
+ msgstr ""
1573
+
1574
+ #. ssh caveats
1575
+ msgid "POSIX platforms: facter must be built with OpenSSL support."
1576
+ msgstr ""
1577
+
1578
+ #. ssh<algorithm>key description
1579
+ msgid "Return the SSH public key for the algorithm."
1580
+ msgstr ""
1581
+
1582
+ #. ssh<algorithm>key resolution
1583
+ msgid "POSIX platforms: parse SSH public key files."
1584
+ msgstr ""
1585
+
1586
+ #. ssh<algorithm>key caveats
1587
+ msgid "POSIX platforms: facter must be built with OpenSSL support."
1588
+ msgstr ""
1589
+
1590
+ #. sshfp_<algorithm> description
1591
+ msgid "Return the SSH fingerprints for the algorithm's public key."
1592
+ msgstr ""
1593
+
1594
+ #. sshfp_<algorithm> resolution
1595
+ msgid "POSIX platforms: derive the SHA1 and SHA256 fingerprints; delimit with a new line character."
1596
+ msgstr ""
1597
+
1598
+ #. sshfp_<algorithm> caveats
1599
+ msgid "POSIX platforms: facter must be built with OpenSSL support."
1600
+ msgstr ""
1601
+
1602
+ #. swapencrypted description
1603
+ msgid "Return whether or not the swap is encrypted."
1604
+ msgstr ""
1605
+
1606
+ #. swapencrypted resolution
1607
+ msgid "Mac OSX: use the `sysctl` function to retrieve swap encryption status."
1608
+ msgstr ""
1609
+
1610
+ #. swapfree description
1611
+ msgid "Return the display size of the free swap memory (e.g. "1 GiB")."
1612
+ msgstr ""
1613
+
1614
+ #. swapfree resolution
1615
+ msgid "Linux: parse the contents of `/proc/meminfo` to retrieve the free swap memory."
1616
+ msgstr ""
1617
+
1618
+ #. swapfree resolution
1619
+ msgid "Mac OSX: use the `sysctl` function to retrieve the free swap memory."
1620
+ msgstr ""
1621
+
1622
+ #. swapfree resolution
1623
+ msgid "Solaris: use the `swapctl` function to retrieve the free swap memory."
1624
+ msgstr ""
1625
+
1626
+ #. swapfree_mb description
1627
+ msgid "Return the size of the free swap memory, in mebibytes."
1628
+ msgstr ""
1629
+
1630
+ #. swapfree_mb resolution
1631
+ msgid "Linux: parse the contents of `/proc/meminfo` to retrieve the free swap memory."
1632
+ msgstr ""
1633
+
1634
+ #. swapfree_mb resolution
1635
+ msgid "Mac OSX: use the `sysctl` function to retrieve the free swap memory."
1636
+ msgstr ""
1637
+
1638
+ #. swapfree_mb resolution
1639
+ msgid "Solaris: use the `swapctl` function to retrieve the free swap memory."
1640
+ msgstr ""
1641
+
1642
+ #. swapsize description
1643
+ msgid "Return the display size of the total swap memory (e.g. "1 GiB")."
1644
+ msgstr ""
1645
+
1646
+ #. swapsize resolution
1647
+ msgid "Linux: parse the contents of `/proc/meminfo` to retrieve the total swap memory."
1648
+ msgstr ""
1649
+
1650
+ #. swapsize resolution
1651
+ msgid "Mac OSX: use the `sysctl` function to retrieve the total swap memory."
1652
+ msgstr ""
1653
+
1654
+ #. swapsize resolution
1655
+ msgid "Solaris: use the `swapctl` function to retrieve the total swap memory."
1656
+ msgstr ""
1657
+
1658
+ #. swapsize_mb description
1659
+ msgid "Return the size of the total swap memory, in mebibytes."
1660
+ msgstr ""
1661
+
1662
+ #. swapsize_mb resolution
1663
+ msgid "Linux: parse the contents of `/proc/meminfo` to retrieve the total swap memory."
1664
+ msgstr ""
1665
+
1666
+ #. swapsize_mb resolution
1667
+ msgid "Mac OSX: use the `sysctl` function to retrieve the total swap memory."
1668
+ msgstr ""
1669
+
1670
+ #. swapsize_mb resolution
1671
+ msgid "Solaris: use the `swapctl` function to retrieve the total swap memory."
1672
+ msgstr ""
1673
+
1674
+ #. system32 description
1675
+ msgid "Return the path to the System32 directory on Windows."
1676
+ msgstr ""
1677
+
1678
+ #. system32 resolution
1679
+ msgid "Windows: use the `SHGetFolderPath` function to retrieve the path to the System32 directory."
1680
+ msgstr ""
1681
+
1682
+ #. system_profiler description
1683
+ msgid "Return information from the Mac OSX system profiler."
1684
+ msgstr ""
1685
+
1686
+ #. system_profiler resolution
1687
+ msgid "Mac OSX: use the `system_profiler` utility to retrieve system profiler information."
1688
+ msgstr ""
1689
+
1690
+ #. system_uptime description
1691
+ msgid "Return the system uptime information."
1692
+ msgstr ""
1693
+
1694
+ #. system_uptime resolution
1695
+ msgid "Linux: use the `sysinfo` function to retrieve the system uptime."
1696
+ msgstr ""
1697
+
1698
+ #. system_uptime resolution
1699
+ msgid "POSIX platforms: use the `uptime` utility to retrieve the system uptime."
1700
+ msgstr ""
1701
+
1702
+ #. system_uptime resolution
1703
+ msgid "Solaris: use the `kstat` function to retrieve the system uptime."
1704
+ msgstr ""
1705
+
1706
+ #. system_uptime resolution
1707
+ msgid "Windows: use WMI to retrieve the system uptime."
1708
+ msgstr ""
1709
+
1710
+ #. timezone description
1711
+ msgid "Return the system timezone."
1712
+ msgstr ""
1713
+
1714
+ #. timezone resolution
1715
+ msgid "POSIX platforms: use the `localtime_r` function to retrieve the system timezone."
1716
+ msgstr ""
1717
+
1718
+ #. timezone resolution
1719
+ msgid "Windows: use the `localtime_s` function to retrieve the system timezone."
1720
+ msgstr ""
1721
+
1722
+ #. uptime description
1723
+ msgid "Return the system uptime."
1724
+ msgstr ""
1725
+
1726
+ #. uptime resolution
1727
+ msgid "Linux: use the `sysinfo` function to retrieve the system uptime."
1728
+ msgstr ""
1729
+
1730
+ #. uptime resolution
1731
+ msgid "POSIX platforms: use the `uptime` utility to retrieve the system uptime."
1732
+ msgstr ""
1733
+
1734
+ #. uptime resolution
1735
+ msgid "Solaris: use the `kstat` function to retrieve the system uptime."
1736
+ msgstr ""
1737
+
1738
+ #. uptime resolution
1739
+ msgid "Windows: use WMI to retrieve the system uptime."
1740
+ msgstr ""
1741
+
1742
+ #. uptime_days description
1743
+ msgid "Return the system uptime days."
1744
+ msgstr ""
1745
+
1746
+ #. uptime_days resolution
1747
+ msgid "Linux: use the `sysinfo` function to retrieve the system uptime days."
1748
+ msgstr ""
1749
+
1750
+ #. uptime_days resolution
1751
+ msgid "POSIX platforms: use the `uptime` utility to retrieve the system uptime days."
1752
+ msgstr ""
1753
+
1754
+ #. uptime_days resolution
1755
+ msgid "Solaris: use the `kstat` function to retrieve the system uptime days."
1756
+ msgstr ""
1757
+
1758
+ #. uptime_days resolution
1759
+ msgid "Windows: use WMI to retrieve the system uptime days."
1760
+ msgstr ""
1761
+
1762
+ #. uptime_hours description
1763
+ msgid "Return the system uptime hours."
1764
+ msgstr ""
1765
+
1766
+ #. uptime_hours resolution
1767
+ msgid "Linux: use the `sysinfo` function to retrieve the system uptime hours."
1768
+ msgstr ""
1769
+
1770
+ #. uptime_hours resolution
1771
+ msgid "POSIX platforms: use the `uptime` utility to retrieve the system uptime hours."
1772
+ msgstr ""
1773
+
1774
+ #. uptime_hours resolution
1775
+ msgid "Solaris: use the `kstat` function to retrieve the system uptime hours."
1776
+ msgstr ""
1777
+
1778
+ #. uptime_hours resolution
1779
+ msgid "Windows: use WMI to retrieve the system uptime hours."
1780
+ msgstr ""
1781
+
1782
+ #. uptime_seconds description
1783
+ msgid "Return the system uptime seconds."
1784
+ msgstr ""
1785
+
1786
+ #. uptime_seconds resolution
1787
+ msgid "Linux: use the `sysinfo` function to retrieve the system uptime seconds."
1788
+ msgstr ""
1789
+
1790
+ #. uptime_seconds resolution
1791
+ msgid "POSIX platforms: use the `uptime` utility to retrieve the system uptime seconds."
1792
+ msgstr ""
1793
+
1794
+ #. uptime_seconds resolution
1795
+ msgid "Solaris: use the `kstat` function to retrieve the system uptime seconds."
1796
+ msgstr ""
1797
+
1798
+ #. uptime_seconds resolution
1799
+ msgid "Windows: use WMI to retrieve the system uptime seconds."
1800
+ msgstr ""
1801
+
1802
+ #. uuid description
1803
+ msgid "Return the system product unique identifier."
1804
+ msgstr ""
1805
+
1806
+ #. uuid resolution
1807
+ msgid "Linux: parse the contents of `/sys/class/dmi/id/product_uuid` to retrieve the system product unique identifier."
1808
+ msgstr ""
1809
+
1810
+ #. uuid resolution
1811
+ msgid "Solaris: use the `smbios` utility to retrieve the system product unique identifier."
1812
+ msgstr ""
1813
+
1814
+ #. uuid caveats
1815
+ msgid "Linux: kernel 2.6+ is required due to the reliance on sysfs."
1816
+ msgstr ""
1817
+
1818
+ #. virtual description
1819
+ msgid "Return the hypervisor name for virtual machines or "physical" for physical machines."
1820
+ msgstr ""
1821
+
1822
+ #. virtual resolution
1823
+ msgid "Linux: use procfs or utilities such as `vmware` and `virt-what` to retrieve virtual machine name."
1824
+ msgstr ""
1825
+
1826
+ #. virtual resolution
1827
+ msgid "Mac OSX: use the system profiler to retrieve virtual machine name."
1828
+ msgstr ""
1829
+
1830
+ #. virtual resolution
1831
+ msgid "Solaris: use the `zonename` utility to retrieve virtual machine name."
1832
+ msgstr ""
1833
+
1834
+ #. virtual resolution
1835
+ msgid "Windows: use WMI to retrieve virtual machine name."
1836
+ msgstr ""
1837
+
1838
+ #. xen description
1839
+ msgid "Return metadata for the Xen hypervisor."
1840
+ msgstr ""
1841
+
1842
+ #. xen resolution
1843
+ msgid "POSIX platforms: use `/usr/lib/xen-common/bin/xen-toolstack` to locate xen admin commands if available, otherwise fallback to `/usr/sbin/xl` or `/usr/sbin/xm`. Use the found command to execute the `list` query."
1844
+ msgstr ""
1845
+
1846
+ #. xen caveats
1847
+ msgid "POSIX platforms: confined to Xen privileged virtual machines."
1848
+ msgstr ""
1849
+
1850
+ #. xendomains description
1851
+ msgid "Return a list of comma-separated active Xen domain names."
1852
+ msgstr ""
1853
+
1854
+ #. xendomains resolution
1855
+ msgid "POSIX platforms: see the `xen` structured fact."
1856
+ msgstr ""
1857
+
1858
+ #. xendomains caveats
1859
+ msgid "POSIX platforms: confined to Xen privileged virtual machines."
1860
+ msgstr ""
1861
+
1862
+ #. zfs_featurenumbers description
1863
+ msgid "Return the comma-delimited feature numbers for ZFS."
1864
+ msgstr ""
1865
+
1866
+ #. zfs_featurenumbers resolution
1867
+ msgid "Solaris: use the `zfs` utility to retrieve the feature numbers for ZFS"
1868
+ msgstr ""
1869
+
1870
+ #. zfs_featurenumbers caveats
1871
+ msgid "Solaris: the `zfs` utility must be present."
1872
+ msgstr ""
1873
+
1874
+ #. zfs_version description
1875
+ msgid "Return the version for ZFS."
1876
+ msgstr ""
1877
+
1878
+ #. zfs_version resolution
1879
+ msgid "Solaris: use the `zfs` utility to retrieve the version for ZFS"
1880
+ msgstr ""
1881
+
1882
+ #. zfs_version caveats
1883
+ msgid "Solaris: the `zfs` utility must be present."
1884
+ msgstr ""
1885
+
1886
+ #. zone_<name>_brand description
1887
+ msgid "Return the brand for the Solaris zone."
1888
+ msgstr ""
1889
+
1890
+ #. zone_<name>_brand resolution
1891
+ msgid "Solaris: use the `zoneadm` utility to retrieve the brand for the Solaris zone."
1892
+ msgstr ""
1893
+
1894
+ #. zone_<name>_brand caveats
1895
+ msgid "Solaris: the `zoneadm` utility must be present."
1896
+ msgstr ""
1897
+
1898
+ #. zone_<name>_iptype description
1899
+ msgid "Return the IP type for the Solaris zone."
1900
+ msgstr ""
1901
+
1902
+ #. zone_<name>_iptype resolution
1903
+ msgid "Solaris: use the `zoneadm` utility to retrieve the IP type for the Solaris zone."
1904
+ msgstr ""
1905
+
1906
+ #. zone_<name>_iptype caveats
1907
+ msgid "Solaris: the `zoneadm` utility must be present."
1908
+ msgstr ""
1909
+
1910
+ #. zone_<name>_name description
1911
+ msgid "Return the name for the Solaris zone."
1912
+ msgstr ""
1913
+
1914
+ #. zone_<name>_name resolution
1915
+ msgid "Solaris: use the `zoneadm` utility to retrieve the name for the Solaris zone."
1916
+ msgstr ""
1917
+
1918
+ #. zone_<name>_name caveats
1919
+ msgid "Solaris: the `zoneadm` utility must be present."
1920
+ msgstr ""
1921
+
1922
+ #. zone_<name>_uuid description
1923
+ msgid "Return the unique identifier for the Solaris zone."
1924
+ msgstr ""
1925
+
1926
+ #. zone_<name>_uuid resolution
1927
+ msgid "Solaris: use the `zoneadm` utility to retrieve the unique identifier for the Solaris zone."
1928
+ msgstr ""
1929
+
1930
+ #. zone_<name>_uuid caveats
1931
+ msgid "Solaris: the `zoneadm` utility must be present."
1932
+ msgstr ""
1933
+
1934
+ #. zone_<name>_id description
1935
+ msgid "Return the zone identifier for the Solaris zone."
1936
+ msgstr ""
1937
+
1938
+ #. zone_<name>_id resolution
1939
+ msgid "Solaris: use the `zoneadm` utility to retrieve the zone identifier for the Solaris zone."
1940
+ msgstr ""
1941
+
1942
+ #. zone_<name>_id caveats
1943
+ msgid "Solaris: the `zoneadm` utility must be present."
1944
+ msgstr ""
1945
+
1946
+ #. zone_<name>_path description
1947
+ msgid "Return the zone path for the Solaris zone."
1948
+ msgstr ""
1949
+
1950
+ #. zone_<name>_path resolution
1951
+ msgid "Solaris: use the `zoneadm` utility to retrieve the zone path for the Solaris zone."
1952
+ msgstr ""
1953
+
1954
+ #. zone_<name>_path caveats
1955
+ msgid "Solaris: the `zoneadm` utility must be present."
1956
+ msgstr ""
1957
+
1958
+ #. zone_<name>_status description
1959
+ msgid "Return the zone state for the Solaris zone."
1960
+ msgstr ""
1961
+
1962
+ #. zone_<name>_status resolution
1963
+ msgid "Solaris: use the `zoneadm` utility to retrieve the zone state for the Solaris zone."
1964
+ msgstr ""
1965
+
1966
+ #. zone_<name>_status caveats
1967
+ msgid "Solaris: the `zoneadm` utility must be present."
1968
+ msgstr ""
1969
+
1970
+ #. zonename description
1971
+ msgid "Return the name of the current Solaris zone."
1972
+ msgstr ""
1973
+
1974
+ #. zonename resolution
1975
+ msgid "Solaris: use the `zonename` utility to retrieve the current zone name."
1976
+ msgstr ""
1977
+
1978
+ #. zonename caveats
1979
+ msgid "Solaris: the `zonename` utility must be present."
1980
+ msgstr ""
1981
+
1982
+ #. zones description
1983
+ msgid "Return the count of Solaris zones."
1984
+ msgstr ""
1985
+
1986
+ #. zones resolution
1987
+ msgid "Solaris: use the `zoneadm` utility to retrieve the count of Solaris zones."
1988
+ msgstr ""
1989
+
1990
+ #. zones caveats
1991
+ msgid "Solaris: the `zoneadm` utility must be present."
1992
+ msgstr ""
1993
+
1994
+ #. zpool_featurenumbers description
1995
+ msgid "Return the comma-delimited feature numbers for ZFS storage pools."
1996
+ msgstr ""
1997
+
1998
+ #. zpool_featurenumbers resolution
1999
+ msgid "Solaris: use the `zpool` utility to retrieve the feature numbers for ZFS storage pools"
2000
+ msgstr ""
2001
+
2002
+ #. zpool_featurenumbers caveats
2003
+ msgid "Solaris: the `zpool` utility must be present."
2004
+ msgstr ""
2005
+
2006
+ #. zpool_version description
2007
+ msgid "Return the version for ZFS storage pools."
2008
+ msgstr ""
2009
+
2010
+ #. zpool_version resolution
2011
+ msgid "Solaris: use the `zpool` utility to retrieve the version for ZFS storage pools"
2012
+ msgstr ""
2013
+
2014
+ #. zpool_version caveats
2015
+ msgid "Solaris: the `zpool` utility must be present."
2016
+ msgstr ""
2017
+