puppet 7.3.0-x86-mingw32 → 7.7.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

Files changed (677) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +31 -25
  3. data/ext/build_defaults.yaml +0 -1
  4. data/install.rb +11 -11
  5. data/lib/hiera_puppet.rb +1 -1
  6. data/lib/puppet.rb +37 -37
  7. data/lib/puppet/agent.rb +6 -6
  8. data/lib/puppet/agent/disabler.rb +1 -1
  9. data/lib/puppet/agent/locker.rb +2 -2
  10. data/lib/puppet/application.rb +6 -6
  11. data/lib/puppet/application/agent.rb +18 -11
  12. data/lib/puppet/application/apply.rb +6 -5
  13. data/lib/puppet/application/catalog.rb +1 -1
  14. data/lib/puppet/application/config.rb +1 -1
  15. data/lib/puppet/application/describe.rb +1 -1
  16. data/lib/puppet/application/device.rb +8 -7
  17. data/lib/puppet/application/doc.rb +7 -7
  18. data/lib/puppet/application/epp.rb +2 -2
  19. data/lib/puppet/application/face_base.rb +2 -2
  20. data/lib/puppet/application/facts.rb +1 -1
  21. data/lib/puppet/application/filebucket.rb +2 -2
  22. data/lib/puppet/application/generate.rb +1 -1
  23. data/lib/puppet/application/help.rb +1 -1
  24. data/lib/puppet/application/indirection_base.rb +1 -1
  25. data/lib/puppet/application/lookup.rb +6 -6
  26. data/lib/puppet/application/module.rb +1 -1
  27. data/lib/puppet/application/node.rb +1 -1
  28. data/lib/puppet/application/parser.rb +2 -2
  29. data/lib/puppet/application/plugin.rb +1 -1
  30. data/lib/puppet/application/report.rb +1 -1
  31. data/lib/puppet/application/resource.rb +3 -2
  32. data/lib/puppet/application/script.rb +6 -5
  33. data/lib/puppet/application/ssl.rb +13 -2
  34. data/lib/puppet/application_support.rb +4 -4
  35. data/lib/puppet/compilable_resource_type.rb +1 -1
  36. data/lib/puppet/concurrent/lock.rb +1 -1
  37. data/lib/puppet/configurer.rb +4 -4
  38. data/lib/puppet/configurer/downloader.rb +4 -3
  39. data/lib/puppet/configurer/fact_handler.rb +3 -3
  40. data/lib/puppet/configurer/plugin_handler.rb +1 -1
  41. data/lib/puppet/confine.rb +1 -1
  42. data/lib/puppet/confine/boolean.rb +1 -1
  43. data/lib/puppet/confine/exists.rb +1 -1
  44. data/lib/puppet/confine/false.rb +1 -1
  45. data/lib/puppet/confine/feature.rb +1 -1
  46. data/lib/puppet/confine/true.rb +1 -1
  47. data/lib/puppet/confine/variable.rb +1 -1
  48. data/lib/puppet/confine_collection.rb +1 -1
  49. data/lib/puppet/confiner.rb +1 -1
  50. data/lib/puppet/context.rb +2 -2
  51. data/lib/puppet/context/trusted_information.rb +1 -1
  52. data/lib/puppet/daemon.rb +2 -2
  53. data/lib/puppet/data_binding.rb +1 -1
  54. data/lib/puppet/datatypes/error.rb +1 -1
  55. data/lib/puppet/defaults.rb +15 -11
  56. data/lib/puppet/environments.rb +17 -2
  57. data/lib/puppet/etc.rb +1 -1
  58. data/lib/puppet/external/pson/common.rb +1 -1
  59. data/lib/puppet/external/pson/pure.rb +3 -3
  60. data/lib/puppet/face.rb +1 -1
  61. data/lib/puppet/face/catalog.rb +1 -1
  62. data/lib/puppet/face/config.rb +2 -2
  63. data/lib/puppet/face/epp.rb +6 -6
  64. data/lib/puppet/face/facts.rb +18 -8
  65. data/lib/puppet/face/generate.rb +2 -2
  66. data/lib/puppet/face/help.rb +3 -3
  67. data/lib/puppet/face/module.rb +3 -3
  68. data/lib/puppet/face/module/install.rb +2 -2
  69. data/lib/puppet/face/node.rb +1 -1
  70. data/lib/puppet/face/parser.rb +4 -4
  71. data/lib/puppet/face/plugin.rb +2 -2
  72. data/lib/puppet/face/report.rb +1 -1
  73. data/lib/puppet/face/resource.rb +1 -1
  74. data/lib/puppet/feature/base.rb +2 -2
  75. data/lib/puppet/feature/bolt.rb +1 -1
  76. data/lib/puppet/feature/cfpropertylist.rb +1 -1
  77. data/lib/puppet/feature/eventlog.rb +1 -1
  78. data/lib/puppet/feature/hiera_eyaml.rb +1 -1
  79. data/lib/puppet/feature/hocon.rb +1 -1
  80. data/lib/puppet/feature/libuser.rb +2 -2
  81. data/lib/puppet/feature/msgpack.rb +1 -1
  82. data/lib/puppet/feature/pe_license.rb +1 -1
  83. data/lib/puppet/feature/selinux.rb +1 -1
  84. data/lib/puppet/feature/ssh.rb +1 -1
  85. data/lib/puppet/feature/telnet.rb +1 -1
  86. data/lib/puppet/feature/zlib.rb +1 -1
  87. data/lib/puppet/ffi/posix.rb +2 -2
  88. data/lib/puppet/ffi/posix/constants.rb +1 -1
  89. data/lib/puppet/ffi/posix/functions.rb +1 -1
  90. data/lib/puppet/ffi/windows.rb +4 -4
  91. data/lib/puppet/ffi/windows/api_types.rb +3 -3
  92. data/lib/puppet/ffi/windows/constants.rb +2 -2
  93. data/lib/puppet/ffi/windows/functions.rb +1 -1
  94. data/lib/puppet/ffi/windows/structs.rb +1 -1
  95. data/lib/puppet/file_bucket/dipper.rb +4 -4
  96. data/lib/puppet/file_bucket/file.rb +3 -3
  97. data/lib/puppet/file_serving/base.rb +2 -2
  98. data/lib/puppet/file_serving/configuration.rb +10 -10
  99. data/lib/puppet/file_serving/configuration/parser.rb +2 -2
  100. data/lib/puppet/file_serving/content.rb +3 -3
  101. data/lib/puppet/file_serving/fileset.rb +16 -4
  102. data/lib/puppet/file_serving/http_metadata.rb +1 -1
  103. data/lib/puppet/file_serving/metadata.rb +6 -6
  104. data/lib/puppet/file_serving/mount.rb +4 -4
  105. data/lib/puppet/file_serving/mount/file.rb +1 -1
  106. data/lib/puppet/file_serving/mount/locales.rb +1 -1
  107. data/lib/puppet/file_serving/mount/modules.rb +1 -1
  108. data/lib/puppet/file_serving/mount/pluginfacts.rb +1 -1
  109. data/lib/puppet/file_serving/mount/plugins.rb +1 -1
  110. data/lib/puppet/file_serving/mount/tasks.rb +1 -1
  111. data/lib/puppet/file_serving/terminus_helper.rb +2 -2
  112. data/lib/puppet/file_serving/terminus_selector.rb +1 -1
  113. data/lib/puppet/file_system.rb +9 -9
  114. data/lib/puppet/file_system/jruby.rb +1 -1
  115. data/lib/puppet/file_system/memory_file.rb +8 -1
  116. data/lib/puppet/file_system/path_pattern.rb +1 -1
  117. data/lib/puppet/file_system/uniquefile.rb +1 -1
  118. data/lib/puppet/file_system/windows.rb +4 -2
  119. data/lib/puppet/forge.rb +5 -5
  120. data/lib/puppet/forge/cache.rb +1 -1
  121. data/lib/puppet/forge/errors.rb +3 -3
  122. data/lib/puppet/forge/repository.rb +4 -4
  123. data/lib/puppet/functions.rb +1 -1
  124. data/lib/puppet/functions/all.rb +1 -1
  125. data/lib/puppet/functions/camelcase.rb +1 -1
  126. data/lib/puppet/functions/capitalize.rb +2 -2
  127. data/lib/puppet/functions/downcase.rb +2 -2
  128. data/lib/puppet/functions/get.rb +5 -5
  129. data/lib/puppet/functions/group_by.rb +13 -5
  130. data/lib/puppet/functions/lest.rb +1 -1
  131. data/lib/puppet/functions/new.rb +100 -100
  132. data/lib/puppet/functions/partition.rb +12 -4
  133. data/lib/puppet/functions/require.rb +5 -5
  134. data/lib/puppet/functions/sort.rb +3 -3
  135. data/lib/puppet/functions/tree_each.rb +7 -9
  136. data/lib/puppet/functions/type.rb +4 -4
  137. data/lib/puppet/functions/upcase.rb +2 -2
  138. data/lib/puppet/functions/versioncmp.rb +1 -1
  139. data/lib/puppet/generate/models/type/type.rb +1 -1
  140. data/lib/puppet/generate/type.rb +2 -2
  141. data/lib/puppet/gettext/config.rb +3 -3
  142. data/lib/puppet/gettext/module_translations.rb +1 -1
  143. data/lib/puppet/graph.rb +6 -6
  144. data/lib/puppet/graph/simple_graph.rb +2 -2
  145. data/lib/puppet/http.rb +26 -26
  146. data/lib/puppet/http/factory.rb +6 -2
  147. data/lib/puppet/http/proxy.rb +1 -1
  148. data/lib/puppet/http/resolver/server_list.rb +15 -4
  149. data/lib/puppet/http/service/compiler.rb +73 -1
  150. data/lib/puppet/http/service/file_server.rb +3 -2
  151. data/lib/puppet/indirector.rb +5 -5
  152. data/lib/puppet/indirector/catalog/compiler.rb +7 -6
  153. data/lib/puppet/indirector/catalog/json.rb +2 -2
  154. data/lib/puppet/indirector/catalog/msgpack.rb +2 -2
  155. data/lib/puppet/indirector/catalog/rest.rb +2 -2
  156. data/lib/puppet/indirector/catalog/store_configs.rb +2 -2
  157. data/lib/puppet/indirector/catalog/yaml.rb +2 -2
  158. data/lib/puppet/indirector/code.rb +1 -1
  159. data/lib/puppet/indirector/data_binding/hiera.rb +1 -1
  160. data/lib/puppet/indirector/data_binding/none.rb +1 -1
  161. data/lib/puppet/indirector/direct_file_server.rb +2 -2
  162. data/lib/puppet/indirector/envelope.rb +1 -1
  163. data/lib/puppet/indirector/errors.rb +1 -1
  164. data/lib/puppet/indirector/exec.rb +2 -2
  165. data/lib/puppet/indirector/face.rb +1 -1
  166. data/lib/puppet/indirector/facts/facter.rb +3 -2
  167. data/lib/puppet/indirector/facts/json.rb +3 -3
  168. data/lib/puppet/indirector/facts/memory.rb +2 -2
  169. data/lib/puppet/indirector/facts/network_device.rb +2 -2
  170. data/lib/puppet/indirector/facts/rest.rb +2 -2
  171. data/lib/puppet/indirector/facts/store_configs.rb +2 -2
  172. data/lib/puppet/indirector/facts/yaml.rb +3 -3
  173. data/lib/puppet/indirector/file_bucket_file/file.rb +4 -4
  174. data/lib/puppet/indirector/file_bucket_file/rest.rb +2 -2
  175. data/lib/puppet/indirector/file_bucket_file/selector.rb +1 -1
  176. data/lib/puppet/indirector/file_content.rb +1 -1
  177. data/lib/puppet/indirector/file_content/file.rb +3 -3
  178. data/lib/puppet/indirector/file_content/file_server.rb +3 -3
  179. data/lib/puppet/indirector/file_content/rest.rb +3 -3
  180. data/lib/puppet/indirector/file_content/selector.rb +4 -4
  181. data/lib/puppet/indirector/file_metadata.rb +1 -1
  182. data/lib/puppet/indirector/file_metadata/file.rb +3 -3
  183. data/lib/puppet/indirector/file_metadata/file_server.rb +3 -3
  184. data/lib/puppet/indirector/file_metadata/http.rb +3 -3
  185. data/lib/puppet/indirector/file_metadata/rest.rb +4 -3
  186. data/lib/puppet/indirector/file_metadata/selector.rb +4 -4
  187. data/lib/puppet/indirector/file_server.rb +4 -4
  188. data/lib/puppet/indirector/generic_http.rb +1 -1
  189. data/lib/puppet/indirector/hiera.rb +1 -1
  190. data/lib/puppet/indirector/indirection.rb +5 -5
  191. data/lib/puppet/indirector/json.rb +2 -2
  192. data/lib/puppet/indirector/memory.rb +1 -1
  193. data/lib/puppet/indirector/msgpack.rb +2 -2
  194. data/lib/puppet/indirector/node/exec.rb +2 -2
  195. data/lib/puppet/indirector/node/json.rb +2 -2
  196. data/lib/puppet/indirector/node/memory.rb +2 -2
  197. data/lib/puppet/indirector/node/msgpack.rb +2 -2
  198. data/lib/puppet/indirector/node/plain.rb +2 -2
  199. data/lib/puppet/indirector/node/rest.rb +2 -2
  200. data/lib/puppet/indirector/node/store_configs.rb +2 -2
  201. data/lib/puppet/indirector/node/yaml.rb +2 -2
  202. data/lib/puppet/indirector/none.rb +1 -1
  203. data/lib/puppet/indirector/plain.rb +1 -1
  204. data/lib/puppet/indirector/report/json.rb +2 -2
  205. data/lib/puppet/indirector/report/msgpack.rb +2 -2
  206. data/lib/puppet/indirector/report/processor.rb +3 -3
  207. data/lib/puppet/indirector/report/rest.rb +1 -1
  208. data/lib/puppet/indirector/report/yaml.rb +2 -2
  209. data/lib/puppet/indirector/request.rb +3 -3
  210. data/lib/puppet/indirector/resource/ral.rb +1 -1
  211. data/lib/puppet/indirector/resource/store_configs.rb +2 -2
  212. data/lib/puppet/indirector/terminus.rb +5 -5
  213. data/lib/puppet/indirector/yaml.rb +2 -2
  214. data/lib/puppet/info_service.rb +3 -3
  215. data/lib/puppet/info_service/class_information_service.rb +3 -3
  216. data/lib/puppet/info_service/plan_information_service.rb +1 -1
  217. data/lib/puppet/info_service/task_information_service.rb +1 -1
  218. data/lib/puppet/interface.rb +10 -10
  219. data/lib/puppet/interface/documentation.rb +1 -1
  220. data/lib/puppet/loaders.rb +21 -25
  221. data/lib/puppet/metatype/manager.rb +3 -3
  222. data/lib/puppet/module.rb +5 -4
  223. data/lib/puppet/module/plan.rb +1 -1
  224. data/lib/puppet/module/task.rb +1 -1
  225. data/lib/puppet/module_tool.rb +10 -10
  226. data/lib/puppet/module_tool/applications.rb +7 -7
  227. data/lib/puppet/module_tool/applications/application.rb +2 -2
  228. data/lib/puppet/module_tool/applications/checksummer.rb +2 -2
  229. data/lib/puppet/module_tool/applications/installer.rb +7 -7
  230. data/lib/puppet/module_tool/applications/unpacker.rb +2 -2
  231. data/lib/puppet/module_tool/applications/upgrader.rb +5 -5
  232. data/lib/puppet/module_tool/checksums.rb +1 -1
  233. data/lib/puppet/module_tool/contents_description.rb +1 -1
  234. data/lib/puppet/module_tool/dependency.rb +2 -2
  235. data/lib/puppet/module_tool/errors.rb +6 -6
  236. data/lib/puppet/module_tool/install_directory.rb +2 -2
  237. data/lib/puppet/module_tool/installed_modules.rb +2 -2
  238. data/lib/puppet/module_tool/local_tarball.rb +2 -2
  239. data/lib/puppet/module_tool/metadata.rb +3 -3
  240. data/lib/puppet/module_tool/tar.rb +4 -4
  241. data/lib/puppet/network/format.rb +1 -1
  242. data/lib/puppet/network/format_handler.rb +3 -3
  243. data/lib/puppet/network/format_support.rb +1 -1
  244. data/lib/puppet/network/formats.rb +2 -2
  245. data/lib/puppet/network/http.rb +17 -14
  246. data/lib/puppet/network/http/api.rb +11 -7
  247. data/lib/puppet/network/http/api/indirected_routes.rb +1 -1
  248. data/lib/puppet/network/http/api/master.rb +3 -2
  249. data/lib/puppet/network/http/api/master/v3.rb +2 -25
  250. data/lib/puppet/network/http/api/master/v3/environments.rb +2 -33
  251. data/lib/puppet/network/http/api/server.rb +10 -0
  252. data/lib/puppet/network/http/api/server/v3.rb +39 -0
  253. data/lib/puppet/network/http/api/server/v3/environments.rb +48 -0
  254. data/lib/puppet/network/http/connection.rb +1 -1
  255. data/lib/puppet/network/http/error.rb +1 -1
  256. data/lib/puppet/network/http/handler.rb +3 -3
  257. data/lib/puppet/network/http_pool.rb +1 -1
  258. data/lib/puppet/node.rb +3 -3
  259. data/lib/puppet/node/environment.rb +15 -8
  260. data/lib/puppet/node/facts.rb +3 -3
  261. data/lib/puppet/pal/pal_api.rb +10 -10
  262. data/lib/puppet/pal/pal_impl.rb +3 -3
  263. data/lib/puppet/parameter.rb +4 -4
  264. data/lib/puppet/parameter/boolean.rb +1 -1
  265. data/lib/puppet/parameter/package_options.rb +1 -1
  266. data/lib/puppet/parameter/path.rb +1 -1
  267. data/lib/puppet/parameter/value.rb +1 -1
  268. data/lib/puppet/parameter/value_collection.rb +1 -1
  269. data/lib/puppet/parser.rb +10 -10
  270. data/lib/puppet/parser/ast.rb +8 -8
  271. data/lib/puppet/parser/ast/hostclass.rb +1 -1
  272. data/lib/puppet/parser/ast/pops_bridge.rb +2 -2
  273. data/lib/puppet/parser/catalog_compiler.rb +2 -2
  274. data/lib/puppet/parser/compiler.rb +5 -5
  275. data/lib/puppet/parser/e4_parser_adapter.rb +1 -1
  276. data/lib/puppet/parser/functions.rb +4 -4
  277. data/lib/puppet/parser/functions/digest.rb +1 -1
  278. data/lib/puppet/parser/functions/file.rb +1 -1
  279. data/lib/puppet/parser/functions/fqdn_rand.rb +14 -6
  280. data/lib/puppet/parser/functions/versioncmp.rb +1 -1
  281. data/lib/puppet/parser/parser_factory.rb +2 -2
  282. data/lib/puppet/parser/resource.rb +3 -3
  283. data/lib/puppet/parser/scope.rb +3 -3
  284. data/lib/puppet/parser/script_compiler.rb +2 -2
  285. data/lib/puppet/parser/templatewrapper.rb +2 -2
  286. data/lib/puppet/parser/type_loader.rb +1 -1
  287. data/lib/puppet/plugins/configuration.rb +5 -5
  288. data/lib/puppet/pops.rb +57 -57
  289. data/lib/puppet/pops/evaluator/deferred_resolver.rb +1 -1
  290. data/lib/puppet/pops/evaluator/evaluator_impl.rb +7 -7
  291. data/lib/puppet/pops/evaluator/external_syntax_support.rb +1 -1
  292. data/lib/puppet/pops/loader/base_loader.rb +42 -32
  293. data/lib/puppet/pops/loader/dependency_loader.rb +2 -2
  294. data/lib/puppet/pops/loader/loader.rb +15 -5
  295. data/lib/puppet/pops/loader/module_loaders.rb +8 -8
  296. data/lib/puppet/pops/loader/predefined_loader.rb +4 -0
  297. data/lib/puppet/pops/loader/runtime3_type_loader.rb +1 -1
  298. data/lib/puppet/pops/loader/static_loader.rb +4 -0
  299. data/lib/puppet/pops/loader/task_instantiator.rb +1 -1
  300. data/lib/puppet/pops/loaders.rb +4 -4
  301. data/lib/puppet/pops/lookup/invocation.rb +1 -1
  302. data/lib/puppet/pops/model/ast_transformer.rb +1 -1
  303. data/lib/puppet/pops/model/pn_transformer.rb +1 -1
  304. data/lib/puppet/pops/parser/eparser.rb +2 -2
  305. data/lib/puppet/pops/parser/evaluating_parser.rb +1 -1
  306. data/lib/puppet/pops/parser/lexer2.rb +5 -9
  307. data/lib/puppet/pops/parser/lexer_support.rb +1 -1
  308. data/lib/puppet/pops/parser/parser_support.rb +4 -4
  309. data/lib/puppet/pops/puppet_stack.rb +1 -1
  310. data/lib/puppet/pops/serialization/json.rb +1 -1
  311. data/lib/puppet/pops/serialization/json_path.rb +1 -1
  312. data/lib/puppet/pops/time/timespan.rb +1 -1
  313. data/lib/puppet/pops/types/p_type_set_type.rb +1 -1
  314. data/lib/puppet/pops/types/string_converter.rb +1 -1
  315. data/lib/puppet/pops/types/type_calculator.rb +1 -1
  316. data/lib/puppet/pops/types/type_formatter.rb +1 -1
  317. data/lib/puppet/pops/types/type_parser.rb +1 -1
  318. data/lib/puppet/pops/types/types.rb +1 -1
  319. data/lib/puppet/pops/validation/checker4_0.rb +1 -2
  320. data/lib/puppet/property.rb +3 -3
  321. data/lib/puppet/property/boolean.rb +1 -1
  322. data/lib/puppet/property/ensure.rb +1 -1
  323. data/lib/puppet/property/keyvalue.rb +1 -1
  324. data/lib/puppet/property/list.rb +2 -2
  325. data/lib/puppet/property/ordered_list.rb +1 -1
  326. data/lib/puppet/provider.rb +2 -2
  327. data/lib/puppet/provider/confine.rb +2 -2
  328. data/lib/puppet/provider/exec.rb +2 -2
  329. data/lib/puppet/provider/exec/posix.rb +1 -1
  330. data/lib/puppet/provider/exec/windows.rb +1 -1
  331. data/lib/puppet/provider/file/posix.rb +1 -1
  332. data/lib/puppet/provider/file/windows.rb +1 -1
  333. data/lib/puppet/provider/group/aix.rb +1 -1
  334. data/lib/puppet/provider/group/directoryservice.rb +1 -1
  335. data/lib/puppet/provider/group/groupadd.rb +15 -10
  336. data/lib/puppet/provider/group/ldap.rb +1 -1
  337. data/lib/puppet/provider/group/pw.rb +1 -1
  338. data/lib/puppet/provider/group/windows_adsi.rb +1 -1
  339. data/lib/puppet/provider/ldap.rb +2 -2
  340. data/lib/puppet/provider/nameservice.rb +1 -1
  341. data/lib/puppet/provider/nameservice/directoryservice.rb +3 -3
  342. data/lib/puppet/provider/nameservice/objectadd.rb +1 -1
  343. data/lib/puppet/provider/nameservice/pw.rb +1 -1
  344. data/lib/puppet/provider/package.rb +1 -1
  345. data/lib/puppet/provider/package/aix.rb +2 -2
  346. data/lib/puppet/provider/package/appdmg.rb +2 -2
  347. data/lib/puppet/provider/package/apple.rb +1 -1
  348. data/lib/puppet/provider/package/apt.rb +32 -4
  349. data/lib/puppet/provider/package/aptitude.rb +6 -0
  350. data/lib/puppet/provider/package/dnfmodule.rb +2 -2
  351. data/lib/puppet/provider/package/dpkg.rb +1 -1
  352. data/lib/puppet/provider/package/gem.rb +3 -3
  353. data/lib/puppet/provider/package/hpux.rb +1 -1
  354. data/lib/puppet/provider/package/macports.rb +2 -2
  355. data/lib/puppet/provider/package/nim.rb +2 -2
  356. data/lib/puppet/provider/package/openbsd.rb +1 -1
  357. data/lib/puppet/provider/package/opkg.rb +1 -1
  358. data/lib/puppet/provider/package/pacman.rb +1 -1
  359. data/lib/puppet/provider/package/pip.rb +3 -3
  360. data/lib/puppet/provider/package/pkg.rb +2 -2
  361. data/lib/puppet/provider/package/pkgdmg.rb +3 -3
  362. data/lib/puppet/provider/package/pkgin.rb +1 -1
  363. data/lib/puppet/provider/package/pkgng.rb +1 -1
  364. data/lib/puppet/provider/package/portage.rb +1 -1
  365. data/lib/puppet/provider/package/portupgrade.rb +1 -1
  366. data/lib/puppet/provider/package/puppet_gem.rb +12 -1
  367. data/lib/puppet/provider/package/puppetserver_gem.rb +0 -0
  368. data/lib/puppet/provider/package/rpm.rb +2 -2
  369. data/lib/puppet/provider/package/sun.rb +1 -1
  370. data/lib/puppet/provider/package/windows.rb +3 -3
  371. data/lib/puppet/provider/package/windows/exe_package.rb +1 -1
  372. data/lib/puppet/provider/package/windows/msi_package.rb +1 -1
  373. data/lib/puppet/provider/package/windows/package.rb +4 -4
  374. data/lib/puppet/provider/package/yum.rb +3 -3
  375. data/lib/puppet/provider/package_targetable.rb +1 -1
  376. data/lib/puppet/provider/parsedfile.rb +3 -3
  377. data/lib/puppet/provider/service/base.rb +6 -4
  378. data/lib/puppet/provider/service/daemontools.rb +0 -1
  379. data/lib/puppet/provider/service/debian.rb +5 -5
  380. data/lib/puppet/provider/service/init.rb +1 -1
  381. data/lib/puppet/provider/service/launchd.rb +9 -3
  382. data/lib/puppet/provider/service/service.rb +28 -3
  383. data/lib/puppet/provider/service/smf.rb +0 -24
  384. data/lib/puppet/provider/service/src.rb +2 -2
  385. data/lib/puppet/provider/service/systemd.rb +12 -7
  386. data/lib/puppet/provider/service/windows.rb +38 -0
  387. data/lib/puppet/provider/user/aix.rb +2 -2
  388. data/lib/puppet/provider/user/directoryservice.rb +2 -2
  389. data/lib/puppet/provider/user/ldap.rb +1 -1
  390. data/lib/puppet/provider/user/openbsd.rb +1 -1
  391. data/lib/puppet/provider/user/pw.rb +1 -1
  392. data/lib/puppet/provider/user/user_role_add.rb +2 -2
  393. data/lib/puppet/provider/user/useradd.rb +65 -11
  394. data/lib/puppet/provider/user/windows_adsi.rb +1 -1
  395. data/lib/puppet/reference/configuration.rb +1 -1
  396. data/lib/puppet/reference/indirection.rb +4 -4
  397. data/lib/puppet/reference/report.rb +1 -1
  398. data/lib/puppet/reports.rb +1 -1
  399. data/lib/puppet/reports/http.rb +2 -2
  400. data/lib/puppet/reports/log.rb +1 -1
  401. data/lib/puppet/reports/store.rb +2 -2
  402. data/lib/puppet/resource.rb +4 -4
  403. data/lib/puppet/resource/catalog.rb +5 -5
  404. data/lib/puppet/resource/status.rb +2 -2
  405. data/lib/puppet/resource/type.rb +4 -4
  406. data/lib/puppet/resource/type_collection.rb +4 -4
  407. data/lib/puppet/runtime.rb +1 -1
  408. data/lib/puppet/scheduler.rb +4 -4
  409. data/lib/puppet/settings.rb +31 -30
  410. data/lib/puppet/settings/autosign_setting.rb +1 -1
  411. data/lib/puppet/settings/base_setting.rb +2 -2
  412. data/lib/puppet/settings/certificate_revocation_setting.rb +1 -1
  413. data/lib/puppet/settings/config_file.rb +1 -1
  414. data/lib/puppet/settings/environment_conf.rb +1 -0
  415. data/lib/puppet/settings/errors.rb +1 -1
  416. data/lib/puppet/settings/priority_setting.rb +3 -3
  417. data/lib/puppet/ssl.rb +11 -11
  418. data/lib/puppet/ssl/base.rb +3 -3
  419. data/lib/puppet/ssl/certificate.rb +1 -1
  420. data/lib/puppet/ssl/certificate_request.rb +2 -2
  421. data/lib/puppet/ssl/certificate_request_attributes.rb +2 -2
  422. data/lib/puppet/ssl/oids.rb +1 -1
  423. data/lib/puppet/ssl/openssl_loader.rb +1 -1
  424. data/lib/puppet/ssl/ssl_context.rb +1 -1
  425. data/lib/puppet/ssl/ssl_provider.rb +1 -1
  426. data/lib/puppet/ssl/state_machine.rb +2 -2
  427. data/lib/puppet/ssl/verifier.rb +5 -1
  428. data/lib/puppet/syntax_checkers/base64.rb +1 -1
  429. data/lib/puppet/syntax_checkers/epp.rb +1 -1
  430. data/lib/puppet/syntax_checkers/json.rb +1 -1
  431. data/lib/puppet/syntax_checkers/pp.rb +1 -1
  432. data/lib/puppet/transaction.rb +11 -11
  433. data/lib/puppet/transaction/event.rb +4 -4
  434. data/lib/puppet/transaction/event_manager.rb +1 -1
  435. data/lib/puppet/transaction/persistence.rb +1 -1
  436. data/lib/puppet/transaction/report.rb +2 -2
  437. data/lib/puppet/transaction/resource_harness.rb +1 -1
  438. data/lib/puppet/type.rb +14 -14
  439. data/lib/puppet/type/component.rb +3 -3
  440. data/lib/puppet/type/file.rb +37 -19
  441. data/lib/puppet/type/file/checksum.rb +1 -1
  442. data/lib/puppet/type/file/checksum_value.rb +2 -2
  443. data/lib/puppet/type/file/content.rb +2 -2
  444. data/lib/puppet/type/file/data_sync.rb +2 -2
  445. data/lib/puppet/type/file/ensure.rb +1 -1
  446. data/lib/puppet/type/file/group.rb +1 -1
  447. data/lib/puppet/type/file/mode.rb +1 -1
  448. data/lib/puppet/type/file/selcontext.rb +2 -2
  449. data/lib/puppet/type/file/source.rb +4 -4
  450. data/lib/puppet/type/filebucket.rb +1 -1
  451. data/lib/puppet/type/group.rb +2 -2
  452. data/lib/puppet/type/package.rb +5 -5
  453. data/lib/puppet/type/resources.rb +2 -2
  454. data/lib/puppet/type/service.rb +10 -29
  455. data/lib/puppet/type/tidy.rb +24 -5
  456. data/lib/puppet/type/user.rb +4 -4
  457. data/lib/puppet/util.rb +43 -34
  458. data/lib/puppet/util/at_fork.rb +3 -3
  459. data/lib/puppet/util/at_fork/solaris.rb +1 -1
  460. data/lib/puppet/util/autoload.rb +4 -4
  461. data/lib/puppet/util/checksums.rb +3 -3
  462. data/lib/puppet/util/colors.rb +1 -1
  463. data/lib/puppet/util/command_line.rb +6 -6
  464. data/lib/puppet/util/command_line/puppet_option_parser.rb +2 -2
  465. data/lib/puppet/util/execution.rb +2 -2
  466. data/lib/puppet/util/feature.rb +2 -2
  467. data/lib/puppet/util/filetype.rb +1 -1
  468. data/lib/puppet/util/http_proxy.rb +1 -1
  469. data/lib/puppet/util/inifile.rb +2 -2
  470. data/lib/puppet/util/instance_loader.rb +3 -3
  471. data/lib/puppet/util/json_lockfile.rb +1 -1
  472. data/lib/puppet/util/ldap/connection.rb +1 -1
  473. data/lib/puppet/util/ldap/generator.rb +1 -1
  474. data/lib/puppet/util/ldap/manager.rb +3 -3
  475. data/lib/puppet/util/limits.rb +1 -1
  476. data/lib/puppet/util/log.rb +6 -6
  477. data/lib/puppet/util/log/destinations.rb +1 -1
  478. data/lib/puppet/util/logging.rb +2 -2
  479. data/lib/puppet/util/metric.rb +2 -2
  480. data/lib/puppet/util/monkey_patches.rb +14 -3
  481. data/lib/puppet/util/network_device/base.rb +3 -3
  482. data/lib/puppet/util/network_device/config.rb +2 -2
  483. data/lib/puppet/util/network_device/transport.rb +1 -1
  484. data/lib/puppet/util/network_device/transport/base.rb +2 -2
  485. data/lib/puppet/util/package/version/range.rb +6 -6
  486. data/lib/puppet/util/package/version/range/eq.rb +1 -1
  487. data/lib/puppet/util/package/version/range/gt.rb +1 -1
  488. data/lib/puppet/util/package/version/range/gt_eq.rb +1 -1
  489. data/lib/puppet/util/package/version/range/lt.rb +1 -1
  490. data/lib/puppet/util/package/version/range/lt_eq.rb +1 -1
  491. data/lib/puppet/util/package/version/range/min_max.rb +1 -1
  492. data/lib/puppet/util/package/version/range/simple.rb +1 -1
  493. data/lib/puppet/util/package/version/rpm.rb +1 -1
  494. data/lib/puppet/util/pidlock.rb +1 -1
  495. data/lib/puppet/util/plist.rb +1 -1
  496. data/lib/puppet/util/posix.rb +1 -1
  497. data/lib/puppet/util/profiler.rb +3 -3
  498. data/lib/puppet/util/profiler/aggregate.rb +2 -2
  499. data/lib/puppet/util/profiler/object_counts.rb +1 -1
  500. data/lib/puppet/util/profiler/wall_clock.rb +1 -1
  501. data/lib/puppet/util/provider_features.rb +2 -2
  502. data/lib/puppet/util/rdoc.rb +2 -2
  503. data/lib/puppet/util/rdoc/generators/puppet_generator.rb +2 -2
  504. data/lib/puppet/util/rdoc/parser.rb +6 -6
  505. data/lib/puppet/util/rdoc/parser/puppet_parser_rdoc2.rb +1 -1
  506. data/lib/puppet/util/reference.rb +1 -1
  507. data/lib/puppet/util/resource_template.rb +2 -2
  508. data/lib/puppet/util/rubygems.rb +1 -1
  509. data/lib/puppet/util/selinux.rb +30 -4
  510. data/lib/puppet/util/skip_tags.rb +1 -1
  511. data/lib/puppet/util/storage.rb +1 -1
  512. data/lib/puppet/util/suidmanager.rb +2 -2
  513. data/lib/puppet/util/symbolic_file_mode.rb +1 -1
  514. data/lib/puppet/util/tag_set.rb +1 -1
  515. data/lib/puppet/util/tagging.rb +1 -1
  516. data/lib/puppet/util/watched_file.rb +1 -1
  517. data/lib/puppet/util/watcher.rb +3 -3
  518. data/lib/puppet/util/windows.rb +20 -20
  519. data/lib/puppet/util/windows/access_control_entry.rb +1 -1
  520. data/lib/puppet/util/windows/adsi.rb +47 -1
  521. data/lib/puppet/util/windows/daemon.rb +1 -1
  522. data/lib/puppet/util/windows/error.rb +2 -2
  523. data/lib/puppet/util/windows/file.rb +1 -1
  524. data/lib/puppet/util/windows/monkey_patches/process.rb +2 -2
  525. data/lib/puppet/util/windows/principal.rb +10 -3
  526. data/lib/puppet/util/windows/process.rb +2 -2
  527. data/lib/puppet/util/windows/registry.rb +1 -1
  528. data/lib/puppet/util/windows/root_certs.rb +2 -2
  529. data/lib/puppet/util/windows/security.rb +1 -1
  530. data/lib/puppet/util/windows/security_descriptor.rb +1 -1
  531. data/lib/puppet/util/windows/service.rb +1 -1
  532. data/lib/puppet/util/windows/sid.rb +5 -3
  533. data/lib/puppet/util/windows/user.rb +1 -1
  534. data/lib/puppet/vendor.rb +1 -1
  535. data/lib/puppet/version.rb +1 -1
  536. data/lib/puppet/x509.rb +4 -4
  537. data/lib/puppet/x509/cert_provider.rb +1 -1
  538. data/lib/puppet/x509/pem_store.rb +1 -1
  539. data/lib/puppet_pal.rb +2 -2
  540. data/locales/puppet.pot +173 -157
  541. data/man/man5/puppet.conf.5 +263 -240
  542. data/man/man8/puppet-agent.8 +1 -1
  543. data/man/man8/puppet-apply.8 +1 -1
  544. data/man/man8/puppet-catalog.8 +1 -1
  545. data/man/man8/puppet-config.8 +1 -1
  546. data/man/man8/puppet-describe.8 +1 -1
  547. data/man/man8/puppet-device.8 +1 -1
  548. data/man/man8/puppet-doc.8 +1 -1
  549. data/man/man8/puppet-epp.8 +1 -1
  550. data/man/man8/puppet-facts.8 +5 -2
  551. data/man/man8/puppet-filebucket.8 +1 -1
  552. data/man/man8/puppet-generate.8 +1 -1
  553. data/man/man8/puppet-help.8 +1 -1
  554. data/man/man8/puppet-lookup.8 +1 -1
  555. data/man/man8/puppet-module.8 +1 -1
  556. data/man/man8/puppet-node.8 +1 -1
  557. data/man/man8/puppet-parser.8 +1 -1
  558. data/man/man8/puppet-plugin.8 +1 -1
  559. data/man/man8/puppet-report.8 +1 -1
  560. data/man/man8/puppet-resource.8 +1 -1
  561. data/man/man8/puppet-script.8 +1 -1
  562. data/man/man8/puppet-ssl.8 +5 -1
  563. data/man/man8/puppet.8 +2 -2
  564. data/spec/fixtures/ssl/127.0.0.1-key.pem +107 -57
  565. data/spec/fixtures/ssl/127.0.0.1.pem +52 -31
  566. data/spec/fixtures/ssl/bad-basic-constraints.pem +57 -35
  567. data/spec/fixtures/ssl/bad-int-basic-constraints.pem +57 -35
  568. data/spec/fixtures/ssl/ca.pem +57 -35
  569. data/spec/fixtures/ssl/crl.pem +28 -18
  570. data/spec/fixtures/ssl/ec-key.pem +11 -11
  571. data/spec/fixtures/ssl/ec.pem +33 -24
  572. data/spec/fixtures/ssl/encrypted-ec-key.pem +12 -12
  573. data/spec/fixtures/ssl/encrypted-key.pem +108 -58
  574. data/spec/fixtures/ssl/intermediate-agent-crl.pem +28 -19
  575. data/spec/fixtures/ssl/intermediate-agent.pem +57 -36
  576. data/spec/fixtures/ssl/intermediate-crl.pem +31 -21
  577. data/spec/fixtures/ssl/intermediate.pem +57 -36
  578. data/spec/fixtures/ssl/pluto-key.pem +107 -57
  579. data/spec/fixtures/ssl/pluto.pem +52 -30
  580. data/spec/fixtures/ssl/request-key.pem +107 -57
  581. data/spec/fixtures/ssl/request.pem +47 -26
  582. data/spec/fixtures/ssl/revoked-key.pem +107 -57
  583. data/spec/fixtures/ssl/revoked.pem +52 -30
  584. data/spec/fixtures/ssl/signed-key.pem +107 -57
  585. data/spec/fixtures/ssl/signed.pem +52 -30
  586. data/spec/fixtures/ssl/tampered-cert.pem +52 -30
  587. data/spec/fixtures/ssl/tampered-csr.pem +47 -26
  588. data/spec/fixtures/ssl/unknown-127.0.0.1-key.pem +107 -57
  589. data/spec/fixtures/ssl/unknown-127.0.0.1.pem +50 -29
  590. data/spec/fixtures/ssl/unknown-ca-key.pem +107 -57
  591. data/spec/fixtures/ssl/unknown-ca.pem +55 -33
  592. data/spec/fixtures/unit/provider/service/systemd/list_unit_files_services_vendor_preset +9 -0
  593. data/spec/integration/application/agent_spec.rb +33 -0
  594. data/spec/integration/application/plugin_spec.rb +1 -1
  595. data/spec/integration/http/client_spec.rb +12 -0
  596. data/spec/integration/indirector/direct_file_server_spec.rb +1 -3
  597. data/spec/integration/parser/collection_spec.rb +10 -0
  598. data/spec/integration/type/file_spec.rb +5 -5
  599. data/spec/integration/util/windows/adsi_spec.rb +18 -0
  600. data/spec/integration/util/windows/principal_spec.rb +21 -0
  601. data/spec/integration/util/windows/registry_spec.rb +6 -0
  602. data/spec/lib/puppet/test_ca.rb +2 -2
  603. data/spec/lib/puppet_spec/files.rb +1 -1
  604. data/spec/shared_contexts/provider.rb +16 -0
  605. data/spec/spec_helper.rb +11 -1
  606. data/spec/unit/application/agent_spec.rb +7 -2
  607. data/spec/unit/application/facts_spec.rb +58 -7
  608. data/spec/unit/application/ssl_spec.rb +23 -0
  609. data/spec/unit/configurer/downloader_spec.rb +6 -0
  610. data/spec/unit/configurer_spec.rb +23 -0
  611. data/spec/unit/environments_spec.rb +164 -88
  612. data/spec/unit/file_bucket/dipper_spec.rb +1 -1
  613. data/spec/unit/file_serving/fileset_spec.rb +60 -0
  614. data/spec/unit/file_system_spec.rb +9 -0
  615. data/spec/unit/gettext/config_spec.rb +12 -0
  616. data/spec/unit/http/factory_spec.rb +19 -0
  617. data/spec/unit/http/service/compiler_spec.rb +123 -0
  618. data/spec/unit/indirector/catalog/compiler_spec.rb +14 -10
  619. data/spec/unit/indirector/facts/facter_spec.rb +9 -0
  620. data/spec/unit/module_spec.rb +1 -1
  621. data/spec/unit/network/http/api/master_spec.rb +38 -0
  622. data/spec/unit/network/http/api/{master → server}/v3/environments_spec.rb +2 -2
  623. data/spec/unit/network/http/api/{master → server}/v3_spec.rb +19 -19
  624. data/spec/unit/network/http/api_spec.rb +11 -11
  625. data/spec/unit/parser/functions/fqdn_rand_spec.rb +15 -1
  626. data/spec/unit/pops/loaders/dependency_loader_spec.rb +1 -1
  627. data/spec/unit/pops/lookup/context_spec.rb +1 -1
  628. data/spec/unit/pops/parser/lexer2_spec.rb +0 -4
  629. data/spec/unit/pops/types/type_parser_spec.rb +2 -1
  630. data/spec/unit/pops/validator/validator_spec.rb +20 -43
  631. data/spec/unit/provider/group/groupadd_spec.rb +5 -2
  632. data/spec/unit/provider/package/apt_spec.rb +24 -15
  633. data/spec/unit/provider/package/aptitude_spec.rb +1 -1
  634. data/spec/unit/provider/package/dnfmodule_spec.rb +13 -4
  635. data/spec/unit/provider/package/gem_spec.rb +3 -1
  636. data/spec/unit/provider/package/pip2_spec.rb +3 -1
  637. data/spec/unit/provider/package/pip3_spec.rb +3 -1
  638. data/spec/unit/provider/package/pip_spec.rb +3 -1
  639. data/spec/unit/provider/package/pkg_spec.rb +44 -44
  640. data/spec/unit/provider/package/puppet_gem_spec.rb +31 -1
  641. data/spec/unit/provider/package/puppetserver_gem_spec.rb +2 -0
  642. data/spec/unit/provider/service/base_spec.rb +8 -8
  643. data/spec/unit/provider/service/bsd_spec.rb +0 -4
  644. data/spec/unit/provider/service/daemontools_spec.rb +1 -1
  645. data/spec/unit/provider/service/debian_spec.rb +15 -17
  646. data/spec/unit/provider/service/gentoo_spec.rb +19 -14
  647. data/spec/unit/provider/service/init_spec.rb +29 -20
  648. data/spec/unit/provider/service/launchd_spec.rb +10 -12
  649. data/spec/unit/provider/service/openbsd_spec.rb +21 -35
  650. data/spec/unit/provider/service/openrc_spec.rb +15 -14
  651. data/spec/unit/provider/service/openwrt_spec.rb +3 -1
  652. data/spec/unit/provider/service/redhat_spec.rb +20 -19
  653. data/spec/unit/provider/service/smf_spec.rb +6 -5
  654. data/spec/unit/provider/service/src_spec.rb +5 -10
  655. data/spec/unit/provider/service/systemd_spec.rb +68 -29
  656. data/spec/unit/provider/service/upstart_spec.rb +25 -20
  657. data/spec/unit/provider/service/windows_spec.rb +202 -0
  658. data/spec/unit/provider/user/useradd_spec.rb +70 -3
  659. data/spec/unit/resource/catalog_spec.rb +1 -1
  660. data/spec/unit/ssl/certificate_request_spec.rb +4 -10
  661. data/spec/unit/ssl/state_machine_spec.rb +19 -5
  662. data/spec/unit/transaction/additional_resource_generator_spec.rb +0 -2
  663. data/spec/unit/transaction_spec.rb +18 -20
  664. data/spec/unit/type/file/selinux_spec.rb +3 -3
  665. data/spec/unit/type/service_spec.rb +10 -154
  666. data/spec/unit/type/tidy_spec.rb +17 -7
  667. data/spec/unit/util/at_fork_spec.rb +9 -9
  668. data/spec/unit/util/posix_spec.rb +1 -1
  669. data/spec/unit/util/selinux_spec.rb +87 -16
  670. data/spec/unit/util/windows/sid_spec.rb +6 -0
  671. data/tasks/generate_cert_fixtures.rake +2 -2
  672. metadata +15 -16
  673. data/spec/lib/matchers/include.rb +0 -27
  674. data/spec/lib/matchers/include_spec.rb +0 -32
  675. data/spec/unit/pops/parser/parse_application_spec.rb +0 -13
  676. data/spec/unit/pops/parser/parse_capabilities_spec.rb +0 -23
  677. data/spec/unit/pops/parser/parse_site_spec.rb +0 -43
@@ -1,7 +1,7 @@
1
1
  module Puppet::Util::Watcher
2
- require 'puppet/util/watcher/timer'
3
- require 'puppet/util/watcher/change_watcher'
4
- require 'puppet/util/watcher/periodic_watcher'
2
+ require_relative 'watcher/timer'
3
+ require_relative 'watcher/change_watcher'
4
+ require_relative 'watcher/periodic_watcher'
5
5
 
6
6
  module Common
7
7
  def self.file_ctime_change_watcher(filename)
@@ -1,4 +1,4 @@
1
- require 'puppet/util/platform'
1
+ require_relative '../../puppet/util/platform'
2
2
 
3
3
  module Puppet::Util::Windows
4
4
  module ADSI
@@ -25,24 +25,24 @@ module Puppet::Util::Windows
25
25
  require 'win32ole' ; WIN32OLE.codepage = WIN32OLE::CP_UTF8
26
26
 
27
27
  # these reference platform specific gems
28
- require 'puppet/ffi/windows'
29
- require 'puppet/util/windows/string'
30
- require 'puppet/util/windows/error'
31
- require 'puppet/util/windows/com'
32
- require 'puppet/util/windows/sid'
33
- require 'puppet/util/windows/principal'
34
- require 'puppet/util/windows/file'
35
- require 'puppet/util/windows/security'
36
- require 'puppet/util/windows/user'
37
- require 'puppet/util/windows/process'
38
- require 'puppet/util/windows/root_certs'
39
- require 'puppet/util/windows/access_control_entry'
40
- require 'puppet/util/windows/access_control_list'
41
- require 'puppet/util/windows/security_descriptor'
42
- require 'puppet/util/windows/adsi'
43
- require 'puppet/util/windows/registry'
44
- require 'puppet/util/windows/eventlog'
45
- require 'puppet/util/windows/service'
46
- require 'puppet/util/windows/monkey_patches/process'
28
+ require_relative '../../puppet/ffi/windows'
29
+ require_relative 'windows/string'
30
+ require_relative 'windows/error'
31
+ require_relative 'windows/com'
32
+ require_relative 'windows/sid'
33
+ require_relative 'windows/principal'
34
+ require_relative 'windows/file'
35
+ require_relative 'windows/security'
36
+ require_relative 'windows/user'
37
+ require_relative 'windows/process'
38
+ require_relative 'windows/root_certs'
39
+ require_relative 'windows/access_control_entry'
40
+ require_relative 'windows/access_control_list'
41
+ require_relative 'windows/security_descriptor'
42
+ require_relative 'windows/adsi'
43
+ require_relative 'windows/registry'
44
+ require_relative 'windows/eventlog'
45
+ require_relative 'windows/service'
46
+ require_relative 'windows/monkey_patches/process'
47
47
  end
48
48
  end
@@ -6,7 +6,7 @@
6
6
  # @see https://msdn.microsoft.com/en-us/library/windows/desktop/aa374868(v=vs.85).aspx
7
7
  # @api private
8
8
  class Puppet::Util::Windows::AccessControlEntry
9
- require 'puppet/util/windows/security'
9
+ require_relative '../../../puppet/util/windows/security'
10
10
  include Puppet::Util::Windows::SID
11
11
 
12
12
  attr_accessor :sid
@@ -293,7 +293,7 @@ module Puppet::Util::Windows::ADSI
293
293
  class User < ADSIObject
294
294
  extend FFI::Library
295
295
 
296
- require 'puppet/util/windows/sid'
296
+ require_relative '../../../puppet/util/windows/sid'
297
297
 
298
298
  # https://msdn.microsoft.com/en-us/library/aa746340.aspx
299
299
  # IADsUser interface
@@ -504,6 +504,43 @@ module Puppet::Util::Windows::ADSI
504
504
  user_name
505
505
  end
506
506
 
507
+ # https://docs.microsoft.com/en-us/windows/win32/api/secext/ne-secext-extended_name_format
508
+ NameUnknown = 0
509
+ NameFullyQualifiedDN = 1
510
+ NameSamCompatible = 2
511
+ NameDisplay = 3
512
+ NameUniqueId = 6
513
+ NameCanonical = 7
514
+ NameUserPrincipal = 8
515
+ NameCanonicalEx = 9
516
+ NameServicePrincipal = 10
517
+ NameDnsDomain = 12
518
+ NameGivenName = 13
519
+ NameSurname = 14
520
+
521
+ def self.current_user_name_with_format(format)
522
+ user_name = ''
523
+ max_length = 1024
524
+
525
+ FFI::MemoryPointer.new(:lpwstr, max_length * 2 + 1) do |buffer|
526
+ FFI::MemoryPointer.new(:dword, 1) do |buffer_size|
527
+ buffer_size.write_dword(max_length + 1)
528
+
529
+ if GetUserNameExW(format.to_i, buffer, buffer_size) == FFI::WIN32_FALSE
530
+ raise Puppet::Util::Windows::Error.new(_("Failed to get user name"), FFI.errno)
531
+ end
532
+
533
+ user_name = buffer.read_wide_string(buffer_size.read_dword).chomp
534
+ end
535
+ end
536
+
537
+ user_name
538
+ end
539
+
540
+ def self.current_sam_compatible_user_name
541
+ current_user_name_with_format(NameSamCompatible)
542
+ end
543
+
507
544
  def self.current_user_sid
508
545
  Puppet::Util::Windows::SID.name_to_principal(current_user_name)
509
546
  end
@@ -518,6 +555,15 @@ module Puppet::Util::Windows::ADSI
518
555
  ffi_lib :advapi32
519
556
  attach_function_private :GetUserNameW,
520
557
  [:lpwstr, :lpdword], :win32_bool
558
+
559
+ # https://docs.microsoft.com/en-us/windows/win32/api/secext/nf-secext-getusernameexa
560
+ # BOOLEAN SEC_ENTRY GetUserNameExA(
561
+ # EXTENDED_NAME_FORMAT NameFormat,
562
+ # LPSTR lpNameBuffer,
563
+ # PULONG nSize
564
+ # );type
565
+ ffi_lib :secur32
566
+ attach_function_private :GetUserNameExW, [:uint16, :lpwstr, :pointer], :win32_bool
521
567
  end
522
568
 
523
569
  class UserProfile
@@ -1,4 +1,4 @@
1
- require 'puppet/ffi/windows'
1
+ require_relative '../../../puppet/ffi/windows'
2
2
 
3
3
  module Puppet::Util::Windows
4
4
 
@@ -1,5 +1,5 @@
1
- require 'puppet/util/windows'
2
- require 'puppet/error'
1
+ require_relative '../../../puppet/util/windows'
2
+ require_relative '../../../puppet/error'
3
3
 
4
4
  # represents an error resulting from a Win32 error code
5
5
  class Puppet::Util::Windows::Error < Puppet::Error
@@ -1,4 +1,4 @@
1
- require 'puppet/ffi/windows'
1
+ require_relative '../../../puppet/ffi/windows'
2
2
 
3
3
  module Puppet::Util::Windows::File
4
4
  extend Puppet::Util::Windows::String
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'ffi'
4
- require 'puppet/ffi/windows'
5
- require 'puppet/util/windows/string'
4
+ require_relative '../../../../puppet/ffi/windows'
5
+ require_relative '../../../../puppet/util/windows/string'
6
6
 
7
7
  module Process
8
8
  extend FFI::Library
@@ -1,4 +1,4 @@
1
- require 'puppet/util/windows'
1
+ require_relative '../../../puppet/util/windows'
2
2
 
3
3
  module Puppet::Util::Windows::SID
4
4
  class Principal
@@ -44,7 +44,8 @@ module Puppet::Util::Windows::SID
44
44
  ERROR_INVALID_PARAMETER = 87
45
45
  ERROR_INSUFFICIENT_BUFFER = 122
46
46
 
47
- def self.lookup_account_name(system_name = nil, account_name)
47
+ def self.lookup_account_name(system_name = nil, sanitize = true, account_name)
48
+ account_name = sanitize_account_name(account_name) if sanitize
48
49
  system_name_ptr = FFI::Pointer::NULL
49
50
  begin
50
51
  if system_name
@@ -146,6 +147,13 @@ module Puppet::Util::Windows::SID
146
147
  end
147
148
  end
148
149
 
150
+ # Sanitize the given account name for lookup to avoid known issues
151
+ def self.sanitize_account_name(account_name)
152
+ return account_name unless account_name.start_with?('APPLICATION PACKAGE AUTHORITY\\')
153
+ account_name.split('\\').last
154
+ end
155
+ private_class_method :sanitize_account_name
156
+
149
157
  ffi_convention :stdcall
150
158
 
151
159
  # https://msdn.microsoft.com/en-us/library/windows/desktop/aa379601(v=vs.85).aspx
@@ -191,4 +199,3 @@ module Puppet::Util::Windows::SID
191
199
  [:lpcwstr, :pointer, :lpwstr, :lpdword, :lpwstr, :lpdword, :pointer], :win32_bool
192
200
  end
193
201
  end
194
-
@@ -1,5 +1,5 @@
1
- require 'puppet/util/windows/monkey_patches/process'
2
- require 'puppet/ffi/windows'
1
+ require_relative '../../../puppet/util/windows/monkey_patches/process'
2
+ require_relative '../../../puppet/ffi/windows'
3
3
 
4
4
  module Puppet::Util::Windows::Process
5
5
  extend Puppet::FFI::Windows::Functions
@@ -1,4 +1,4 @@
1
- require 'puppet/util/windows'
1
+ require_relative '../../../puppet/util/windows'
2
2
 
3
3
  module Puppet::Util::Windows
4
4
  module Registry
@@ -1,5 +1,5 @@
1
- require 'puppet/util/windows'
2
- require 'puppet/ssl/openssl_loader'
1
+ require_relative '../../../puppet/util/windows'
2
+ require_relative '../../../puppet/ssl/openssl_loader'
3
3
  require 'ffi'
4
4
 
5
5
  # Represents a collection of trusted root certificates.
@@ -61,7 +61,7 @@
61
61
  # automatically rebuild the access control list based on the new
62
62
  # (and different) owner or group.
63
63
 
64
- require 'puppet/util/windows'
64
+ require_relative '../../../puppet/util/windows'
65
65
  require 'pathname'
66
66
  require 'ffi'
67
67
 
@@ -8,7 +8,7 @@
8
8
  # @see https://msdn.microsoft.com/en-us/library/windows/desktop/aa379563(v=vs.85).aspx
9
9
  # @api private
10
10
  class Puppet::Util::Windows::SecurityDescriptor
11
- require 'puppet/util/windows/security'
11
+ require_relative '../../../puppet/util/windows/security'
12
12
  include Puppet::Util::Windows::SID
13
13
 
14
14
  attr_reader :owner, :group, :dacl
@@ -1,5 +1,5 @@
1
1
  # coding: utf-8
2
- require 'puppet/ffi/windows'
2
+ require_relative '../../../puppet/ffi/windows'
3
3
 
4
4
  module Puppet::Util::Windows
5
5
  # This module is designed to provide an API between the windows system and puppet for
@@ -1,4 +1,4 @@
1
- require 'puppet/util/windows'
1
+ require_relative '../../../puppet/util/windows'
2
2
 
3
3
  module Puppet::Util::Windows
4
4
  module SID
@@ -74,11 +74,13 @@ module Puppet::Util::Windows
74
74
  string_to_sid_ptr(name) do |sid_ptr|
75
75
  raw_sid_bytes = sid_ptr.read_array_of_uchar(get_length_sid(sid_ptr))
76
76
  end
77
- rescue
77
+ rescue => e
78
+ Puppet.debug("Could not retrieve raw SID bytes from '#{name}': #{e.message}")
78
79
  end
79
80
 
80
81
  raw_sid_bytes ? Principal.lookup_account_sid(raw_sid_bytes) : Principal.lookup_account_name(name)
81
- rescue
82
+ rescue => e
83
+ Puppet.debug("#{e.message}")
82
84
  (allow_unresolved && raw_sid_bytes) ? unresolved_principal(name, raw_sid_bytes) : nil
83
85
  end
84
86
  module_function :name_to_principal
@@ -1,4 +1,4 @@
1
- require 'puppet/util/windows'
1
+ require_relative '../../../puppet/util/windows'
2
2
 
3
3
  require 'facter'
4
4
  require 'ffi'
data/lib/puppet/vendor.rb CHANGED
@@ -37,7 +37,7 @@ module Puppet
37
37
 
38
38
  # @api private
39
39
  def require_libs
40
- require 'puppet/vendor/require_vendored'
40
+ require_relative 'vendor/require_vendored'
41
41
  end
42
42
 
43
43
  # Configures the path for all vendored libraries and loads required libraries.
@@ -6,7 +6,7 @@
6
6
  # Raketasks and such to set the version based on the output of `git describe`
7
7
 
8
8
  module Puppet
9
- PUPPETVERSION = '7.3.0'
9
+ PUPPETVERSION = '7.7.0'
10
10
 
11
11
  ##
12
12
  # version is a public API method intended to always provide a fast and
data/lib/puppet/x509.rb CHANGED
@@ -1,11 +1,11 @@
1
- require 'puppet'
2
- require 'puppet/ssl/openssl_loader'
1
+ require_relative '../puppet'
2
+ require_relative '../puppet/ssl/openssl_loader'
3
3
 
4
4
  # Responsible for loading and saving certificates and private keys.
5
5
  #
6
6
  # @see Puppet::X509::CertProvider
7
7
  # @api private
8
8
  module Puppet::X509
9
- require 'puppet/x509/pem_store'
10
- require 'puppet/x509/cert_provider'
9
+ require_relative 'x509/pem_store'
10
+ require_relative 'x509/cert_provider'
11
11
  end
@@ -1,4 +1,4 @@
1
- require 'puppet/x509'
1
+ require_relative '../../puppet/x509'
2
2
 
3
3
  # Class for loading and saving cert related objects. By default the provider
4
4
  # loads and saves based on puppet's default settings, such as `Puppet[:localcacert]`.
@@ -1,4 +1,4 @@
1
- require 'puppet/x509'
1
+ require_relative '../../puppet/x509'
2
2
 
3
3
  # Methods for managing PEM encoded files. While PEM encoded strings are
4
4
  # always ASCII, the files may contain user specified comments, so they are
data/lib/puppet_pal.rb CHANGED
@@ -4,5 +4,5 @@
4
4
  # This requires all of puppet because 'settings' and many other things are still required in PAL.
5
5
  # Eventually that will not be the case.
6
6
  #
7
- require 'puppet'
8
- require 'puppet/pal/pal_api'
7
+ require_relative 'puppet'
8
+ require_relative 'puppet/pal/pal_api'
data/locales/puppet.pot CHANGED
@@ -6,11 +6,11 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: Puppet automation framework 7.1.0-89-g309d69a162\n"
9
+ "Project-Id-Version: Puppet automation framework 7.6.1-91-g3f8691353f\n"
10
10
  "\n"
11
11
  "Report-Msgid-Bugs-To: https://tickets.puppetlabs.com\n"
12
- "POT-Creation-Date: 2021-01-13 14:37+0000\n"
13
- "PO-Revision-Date: 2021-01-13 14:37+0000\n"
12
+ "POT-Creation-Date: 2021-05-12 16:37+0000\n"
13
+ "PO-Revision-Date: 2021-05-12 16:37+0000\n"
14
14
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15
15
  "Language-Team: LANGUAGE <LL@li.org>\n"
16
16
  "Language: \n"
@@ -446,59 +446,59 @@ msgstr ""
446
446
  msgid "Manage SSL keys and certificates for puppet SSL clients"
447
447
  msgstr ""
448
448
 
449
- #: ../lib/puppet/application/ssl.rb:103
449
+ #: ../lib/puppet/application/ssl.rb:106
450
450
  msgid "An action must be specified."
451
451
  msgstr ""
452
452
 
453
- #: ../lib/puppet/application/ssl.rb:126 ../lib/puppet/application/ssl.rb:133
453
+ #: ../lib/puppet/application/ssl.rb:129 ../lib/puppet/application/ssl.rb:136
454
454
  msgid "The certificate for '%{name}' has not yet been signed"
455
455
  msgstr ""
456
456
 
457
- #: ../lib/puppet/application/ssl.rb:144
457
+ #: ../lib/puppet/application/ssl.rb:147
458
458
  msgid "Completed SSL initialization"
459
459
  msgstr ""
460
460
 
461
- #: ../lib/puppet/application/ssl.rb:146
461
+ #: ../lib/puppet/application/ssl.rb:151
462
462
  msgid "Unknown action '%{action}'"
463
463
  msgstr ""
464
464
 
465
- #: ../lib/puppet/application/ssl.rb:154 ../lib/puppet/ssl/state_machine.rb:180
465
+ #: ../lib/puppet/application/ssl.rb:165 ../lib/puppet/ssl/state_machine.rb:180
466
466
  msgid "Creating a new EC SSL key for %{name} using curve %{curve}"
467
467
  msgstr ""
468
468
 
469
- #: ../lib/puppet/application/ssl.rb:157
469
+ #: ../lib/puppet/application/ssl.rb:168
470
470
  msgid "Creating a new SSL key for %{name}"
471
471
  msgstr ""
472
472
 
473
- #: ../lib/puppet/application/ssl.rb:167
473
+ #: ../lib/puppet/application/ssl.rb:178
474
474
  msgid "Submitted certificate request for '%{name}' to %{url}"
475
475
  msgstr ""
476
476
 
477
- #: ../lib/puppet/application/ssl.rb:170
477
+ #: ../lib/puppet/application/ssl.rb:181
478
478
  msgid "Could not submit certificate request for '%{name}' to %{url} due to a conflict on the server"
479
479
  msgstr ""
480
480
 
481
- #: ../lib/puppet/application/ssl.rb:172 ../lib/puppet/application/ssl.rb:175
481
+ #: ../lib/puppet/application/ssl.rb:183 ../lib/puppet/application/ssl.rb:186
482
482
  msgid "Failed to submit certificate request: %{message}"
483
483
  msgstr ""
484
484
 
485
- #: ../lib/puppet/application/ssl.rb:183
485
+ #: ../lib/puppet/application/ssl.rb:194
486
486
  msgid "Downloading certificate '%{name}' from %{url}"
487
487
  msgstr ""
488
488
 
489
- #: ../lib/puppet/application/ssl.rb:187
489
+ #: ../lib/puppet/application/ssl.rb:198
490
490
  msgid "Downloaded certificate '%{name}' with fingerprint %{fingerprint}"
491
491
  msgstr ""
492
492
 
493
- #: ../lib/puppet/application/ssl.rb:200 ../lib/puppet/application/ssl.rb:203
493
+ #: ../lib/puppet/application/ssl.rb:211 ../lib/puppet/application/ssl.rb:214
494
494
  msgid "Failed to download certificate: %{message}"
495
495
  msgstr ""
496
496
 
497
- #: ../lib/puppet/application/ssl.rb:232 ../lib/puppet/application/ssl.rb:235
497
+ #: ../lib/puppet/application/ssl.rb:243 ../lib/puppet/application/ssl.rb:246
498
498
  msgid "Failed to connect to the CA to determine if certificate %{certname} has been cleaned"
499
499
  msgstr ""
500
500
 
501
- #: ../lib/puppet/application/ssl.rb:239
501
+ #: ../lib/puppet/application/ssl.rb:250
502
502
  msgid ""
503
503
  "The certificate %{certname} must be cleaned from the CA first. To fix this,\n"
504
504
  "run the following commands on the CA:\n"
@@ -506,7 +506,7 @@ msgid ""
506
506
  " puppet ssl clean\n"
507
507
  msgstr ""
508
508
 
509
- #: ../lib/puppet/application/ssl.rb:262
509
+ #: ../lib/puppet/application/ssl.rb:273
510
510
  msgid "Removed %{label} %{path}"
511
511
  msgstr ""
512
512
 
@@ -583,44 +583,44 @@ msgstr ""
583
583
  msgid "Local environment: '%{local_env}' doesn't match server specified environment '%{catalog_env}', restarting agent run with environment '%{catalog_env}'"
584
584
  msgstr ""
585
585
 
586
- #: ../lib/puppet/configurer.rb:424
586
+ #: ../lib/puppet/configurer.rb:434
587
587
  msgid "Failed to apply catalog: %{detail}"
588
588
  msgstr ""
589
589
 
590
- #: ../lib/puppet/configurer.rb:453 ../lib/puppet/http/resolver/server_list.rb:63
590
+ #: ../lib/puppet/configurer.rb:463 ../lib/puppet/http/resolver/server_list.rb:64 ../lib/puppet/http/resolver/server_list.rb:68
591
591
  msgid "Puppet server %{host}:%{port} is unavailable: %{code} %{reason}"
592
592
  msgstr ""
593
593
 
594
594
  #. TRANSLATORS 'server_list' is the name of a setting and should not be translated
595
- #: ../lib/puppet/configurer.rb:457 ../lib/puppet/http/resolver/server_list.rb:66
595
+ #: ../lib/puppet/configurer.rb:467 ../lib/puppet/http/resolver/server_list.rb:73 ../lib/puppet/http/resolver/server_list.rb:76
596
596
  msgid "Unable to connect to server from server_list setting: %{detail}"
597
597
  msgstr ""
598
598
 
599
- #: ../lib/puppet/configurer.rb:468 ../lib/puppet/face/report.rb:47
599
+ #: ../lib/puppet/configurer.rb:478 ../lib/puppet/face/report.rb:47
600
600
  msgid "Could not send report: %{detail}"
601
601
  msgstr ""
602
602
 
603
- #: ../lib/puppet/configurer.rb:477
603
+ #: ../lib/puppet/configurer.rb:487
604
604
  msgid "Could not save last run local report: %{detail}"
605
605
  msgstr ""
606
606
 
607
- #: ../lib/puppet/configurer.rb:496
607
+ #: ../lib/puppet/configurer.rb:506
608
608
  msgid "Uploading facts for %{node} to %{server}"
609
609
  msgstr ""
610
610
 
611
- #: ../lib/puppet/configurer.rb:504
611
+ #: ../lib/puppet/configurer.rb:514
612
612
  msgid "Failed to submit facts: %{detail}"
613
613
  msgstr ""
614
614
 
615
- #: ../lib/puppet/configurer.rb:519
615
+ #: ../lib/puppet/configurer.rb:529
616
616
  msgid "Could not run command from %{setting}: %{detail}"
617
617
  msgstr ""
618
618
 
619
- #: ../lib/puppet/configurer.rb:537
619
+ #: ../lib/puppet/configurer.rb:547
620
620
  msgid "Could not retrieve catalog from cache: %{detail}"
621
621
  msgstr ""
622
622
 
623
- #: ../lib/puppet/configurer.rb:558
623
+ #: ../lib/puppet/configurer.rb:568
624
624
  msgid "Could not retrieve catalog from remote server: %{detail}"
625
625
  msgstr ""
626
626
 
@@ -715,12 +715,12 @@ msgstr ""
715
715
  msgid "Certificate names must be lower case"
716
716
  msgstr ""
717
717
 
718
- #: ../lib/puppet/defaults.rb:1069 ../lib/puppet/settings/enum_setting.rb:13 ../lib/puppet/settings/symbolic_enum_setting.rb:14
718
+ #: ../lib/puppet/defaults.rb:1077 ../lib/puppet/settings/enum_setting.rb:13 ../lib/puppet/settings/symbolic_enum_setting.rb:14
719
719
  msgid "Invalid value '%{value}' for parameter %{name}. Allowed values are '%{allowed_values}'"
720
720
  msgstr ""
721
721
 
722
722
  #. TRANSLATORS 'pluginsync' is a setting and should not be translated
723
- #: ../lib/puppet/defaults.rb:1906
723
+ #: ../lib/puppet/defaults.rb:1914
724
724
  msgid "Setting 'pluginsync' is deprecated."
725
725
  msgstr ""
726
726
 
@@ -1063,6 +1063,10 @@ msgstr ""
1063
1063
  msgid "Show only the value when the action is called with a single query"
1064
1064
  msgstr ""
1065
1065
 
1066
+ #: ../lib/puppet/face/facts.rb:136
1067
+ msgid "Show how much time it took to resolve each fact."
1068
+ msgstr ""
1069
+
1066
1070
  #: ../lib/puppet/face/generate.rb:9
1067
1071
  msgid "Generates Puppet code from Ruby definitions."
1068
1072
  msgstr ""
@@ -1609,23 +1613,23 @@ msgstr ""
1609
1613
  msgid "Fileserver configuration file does not use '=' as a separator"
1610
1614
  msgstr ""
1611
1615
 
1612
- #: ../lib/puppet/file_serving/configuration/parser.rb:40 ../lib/puppet/util/network_device/config.rb:101
1616
+ #: ../lib/puppet/file_serving/configuration/parser.rb:43 ../lib/puppet/util/network_device/config.rb:101
1613
1617
  msgid "Invalid argument '%{var}' at %{error_location}"
1614
1618
  msgstr ""
1615
1619
 
1616
- #: ../lib/puppet/file_serving/configuration/parser.rb:45
1620
+ #: ../lib/puppet/file_serving/configuration/parser.rb:48
1617
1621
  msgid "Invalid entry at %{error_location}: '%{file_text}'"
1618
1622
  msgstr ""
1619
1623
 
1620
- #: ../lib/puppet/file_serving/configuration/parser.rb:70
1624
+ #: ../lib/puppet/file_serving/configuration/parser.rb:73
1621
1625
  msgid "%{mount} is already mounted at %{name} at %{error_location}"
1622
1626
  msgstr ""
1623
1627
 
1624
- #: ../lib/puppet/file_serving/configuration/parser.rb:95
1628
+ #: ../lib/puppet/file_serving/configuration/parser.rb:98
1625
1629
  msgid "Removing mount \"%{mount}\": %{detail}"
1626
1630
  msgstr ""
1627
1631
 
1628
- #: ../lib/puppet/file_serving/configuration/parser.rb:99
1632
+ #: ../lib/puppet/file_serving/configuration/parser.rb:102
1629
1633
  msgid "The '%{mount}' module can not have a path. Ignoring attempt to set it"
1630
1634
  msgstr ""
1631
1635
 
@@ -1637,21 +1641,29 @@ msgstr ""
1637
1641
  msgid "Fileset paths must be fully qualified: %{path}"
1638
1642
  msgstr ""
1639
1643
 
1640
- #: ../lib/puppet/file_serving/fileset.rb:50
1644
+ #: ../lib/puppet/file_serving/fileset.rb:51
1641
1645
  msgid "Fileset paths must exist"
1642
1646
  msgstr ""
1643
1647
 
1644
1648
  #. TRANSLATORS "recurse" and "recurselimit" are parameter names and should not be translated
1645
- #: ../lib/puppet/file_serving/fileset.rb:52
1649
+ #: ../lib/puppet/file_serving/fileset.rb:53
1646
1650
  msgid "Fileset recurse parameter must not be a number anymore, please use recurselimit"
1647
1651
  msgstr ""
1648
1652
 
1653
+ #: ../lib/puppet/file_serving/fileset.rb:69
1654
+ msgid "The directory '%{path}' contains %{entries} entries, which exceeds the limit of %{munged_max_files} specified by the max_files parameter for this resource. The limit may be increased, but be aware that large number of file resources can result in excessive resource consumption and degraded performance. Consider using an alternate method to manage large directory trees"
1655
+ msgstr ""
1656
+
1657
+ #: ../lib/puppet/file_serving/fileset.rb:71
1658
+ msgid "The directory '%{path}' contains %{entries} entries, which exceeds the default soft limit %{soft_max_files} and may cause excessive resource consumption and degraded performance. To remove this warning set a value for `max_files` parameter or consider using an alternate method to manage large directory trees"
1659
+ msgstr ""
1660
+
1649
1661
  #. TRANSLATORS ":links" is a parameter name and should not be translated
1650
- #: ../lib/puppet/file_serving/fileset.rb:80
1662
+ #: ../lib/puppet/file_serving/fileset.rb:92
1651
1663
  msgid "Invalid :links value '%{links}'"
1652
1664
  msgstr ""
1653
1665
 
1654
- #: ../lib/puppet/file_serving/fileset.rb:93
1666
+ #: ../lib/puppet/file_serving/fileset.rb:105
1655
1667
  msgid "Invalid option '%{option}'"
1656
1668
  msgstr ""
1657
1669
 
@@ -1735,7 +1747,7 @@ msgstr ""
1735
1747
  msgid "Timeout waiting for exclusive lock on %{path}"
1736
1748
  msgstr ""
1737
1749
 
1738
- #: ../lib/puppet/file_system/jruby.rb:18 ../lib/puppet/file_system/windows.rb:127 ../lib/puppet/util.rb:706
1750
+ #: ../lib/puppet/file_system/jruby.rb:18 ../lib/puppet/file_system/windows.rb:127 ../lib/puppet/util.rb:715
1739
1751
  msgid "Is a directory: %{directory}"
1740
1752
  msgstr ""
1741
1753
 
@@ -1779,11 +1791,11 @@ msgstr ""
1779
1791
  msgid "%{dest} already exists and the :force option was not specified"
1780
1792
  msgstr ""
1781
1793
 
1782
- #: ../lib/puppet/file_system/windows.rb:202
1794
+ #: ../lib/puppet/file_system/windows.rb:204
1783
1795
  msgid "This version of Windows does not support symlinks. Windows Vista / 2008 or higher is required."
1784
1796
  msgstr ""
1785
1797
 
1786
- #: ../lib/puppet/file_system/windows.rb:207
1798
+ #: ../lib/puppet/file_system/windows.rb:209
1787
1799
  msgid "The current user does not have the necessary permission to manage symlinks."
1788
1800
  msgstr ""
1789
1801
 
@@ -2227,6 +2239,10 @@ msgstr ""
2227
2239
  msgid "Location URI is invalid: %{detail}"
2228
2240
  msgstr ""
2229
2241
 
2242
+ #: ../lib/puppet/http/resolver/server_list.rb:66 ../lib/puppet/http/resolver/server_list.rb:74
2243
+ msgid "Trying with next server from server_list."
2244
+ msgstr ""
2245
+
2230
2246
  #: ../lib/puppet/http/retry_after_handler.rb:74
2231
2247
  msgid "Failed to parse Retry-After header '%{retry_after}' as an integer or RFC 2822 date"
2232
2248
  msgstr ""
@@ -2301,87 +2317,87 @@ msgstr ""
2301
2317
  msgid "Inlining file metadata"
2302
2318
  msgstr ""
2303
2319
 
2304
- #: ../lib/puppet/indirector/catalog/compiler.rb:259
2320
+ #: ../lib/puppet/indirector/catalog/compiler.rb:260
2305
2321
  msgid "Could not get metadata for %{resource}"
2306
2322
  msgstr ""
2307
2323
 
2308
- #: ../lib/puppet/indirector/catalog/compiler.rb:280
2324
+ #: ../lib/puppet/indirector/catalog/compiler.rb:281
2309
2325
  msgid "Unable to find a common checksum type between agent '%{agent_type}' and master '%{master_type}'."
2310
2326
  msgstr ""
2311
2327
 
2312
- #: ../lib/puppet/indirector/catalog/compiler.rb:287
2328
+ #: ../lib/puppet/indirector/catalog/compiler.rb:288
2313
2329
  msgid "Compiled static catalog for %{node} in environment %{environment} in %%{seconds} seconds"
2314
2330
  msgstr ""
2315
2331
 
2316
- #: ../lib/puppet/indirector/catalog/compiler.rb:288
2332
+ #: ../lib/puppet/indirector/catalog/compiler.rb:289
2317
2333
  msgid "Compiled static catalog for %{node} in environment %{environment}"
2318
2334
  msgstr ""
2319
2335
 
2320
- #: ../lib/puppet/indirector/catalog/compiler.rb:290
2336
+ #: ../lib/puppet/indirector/catalog/compiler.rb:291
2321
2337
  msgid "Compiled static catalog for %{node} in %%{seconds} seconds"
2322
2338
  msgstr ""
2323
2339
 
2324
- #: ../lib/puppet/indirector/catalog/compiler.rb:291
2340
+ #: ../lib/puppet/indirector/catalog/compiler.rb:292
2325
2341
  msgid "Compiled static catalog for %{node}"
2326
2342
  msgstr ""
2327
2343
 
2328
- #: ../lib/puppet/indirector/catalog/compiler.rb:296
2344
+ #: ../lib/puppet/indirector/catalog/compiler.rb:297
2329
2345
  msgid "Compiled catalog for %{node} in environment %{environment} in %%{seconds} seconds"
2330
2346
  msgstr ""
2331
2347
 
2332
- #: ../lib/puppet/indirector/catalog/compiler.rb:297
2348
+ #: ../lib/puppet/indirector/catalog/compiler.rb:298
2333
2349
  msgid "Compiled catalog for %{node} in environment %{environment}"
2334
2350
  msgstr ""
2335
2351
 
2336
- #: ../lib/puppet/indirector/catalog/compiler.rb:299
2352
+ #: ../lib/puppet/indirector/catalog/compiler.rb:300
2337
2353
  msgid "Compiled catalog for %{node} in %%{seconds} seconds"
2338
2354
  msgstr ""
2339
2355
 
2340
- #: ../lib/puppet/indirector/catalog/compiler.rb:300
2356
+ #: ../lib/puppet/indirector/catalog/compiler.rb:301
2341
2357
  msgid "Compiled catalog for %{node}"
2342
2358
  msgstr ""
2343
2359
 
2344
2360
  #. TRANSLATORS Inlined refers to adding additional metadata
2345
- #: ../lib/puppet/indirector/catalog/compiler.rb:322
2361
+ #: ../lib/puppet/indirector/catalog/compiler.rb:323
2346
2362
  msgid "Inlined resource metadata into static catalog for %{node} in environment %{environment} in %%{seconds} seconds"
2347
2363
  msgstr ""
2348
2364
 
2349
2365
  #. TRANSLATORS Inlined refers to adding additional metadata
2350
- #: ../lib/puppet/indirector/catalog/compiler.rb:324
2366
+ #: ../lib/puppet/indirector/catalog/compiler.rb:325
2351
2367
  msgid "Inlined resource metadata into static catalog for %{node} in environment %{environment}"
2352
2368
  msgstr ""
2353
2369
 
2354
2370
  #. TRANSLATORS Inlined refers to adding additional metadata
2355
- #: ../lib/puppet/indirector/catalog/compiler.rb:327
2371
+ #: ../lib/puppet/indirector/catalog/compiler.rb:328
2356
2372
  msgid "Inlined resource metadata into static catalog for %{node} in %%{seconds} seconds"
2357
2373
  msgstr ""
2358
2374
 
2359
2375
  #. TRANSLATORS Inlined refers to adding additional metadata
2360
- #: ../lib/puppet/indirector/catalog/compiler.rb:329
2376
+ #: ../lib/puppet/indirector/catalog/compiler.rb:330
2361
2377
  msgid "Inlined resource metadata into static catalog for %{node}"
2362
2378
  msgstr ""
2363
2379
 
2364
- #: ../lib/puppet/indirector/catalog/compiler.rb:346
2380
+ #: ../lib/puppet/indirector/catalog/compiler.rb:347
2365
2381
  msgid "Found node information"
2366
2382
  msgstr ""
2367
2383
 
2368
- #: ../lib/puppet/indirector/catalog/compiler.rb:354
2384
+ #: ../lib/puppet/indirector/catalog/compiler.rb:355
2369
2385
  msgid "Failed when searching for node %{name}: %{detail}"
2370
2386
  msgstr ""
2371
2387
 
2372
- #: ../lib/puppet/indirector/catalog/compiler.rb:374
2388
+ #: ../lib/puppet/indirector/catalog/compiler.rb:375
2373
2389
  msgid "Invalid option use_node for a remote request"
2374
2390
  msgstr ""
2375
2391
 
2376
- #: ../lib/puppet/indirector/catalog/compiler.rb:393
2392
+ #: ../lib/puppet/indirector/catalog/compiler.rb:394
2377
2393
  msgid "Could not find node '%{name}'; cannot compile"
2378
2394
  msgstr ""
2379
2395
 
2380
- #: ../lib/puppet/indirector/catalog/compiler.rb:426
2396
+ #: ../lib/puppet/indirector/catalog/compiler.rb:427
2381
2397
  msgid "Could not retrieve fact servername"
2382
2398
  msgstr ""
2383
2399
 
2384
- #: ../lib/puppet/indirector/catalog/compiler.rb:435
2400
+ #: ../lib/puppet/indirector/catalog/compiler.rb:436
2385
2401
  msgid "Could not retrieve either serverip or serverip6 fact"
2386
2402
  msgstr ""
2387
2403
 
@@ -2837,8 +2853,8 @@ msgstr ""
2837
2853
  msgid "Option %{option} conflicts with existing option %{conflict} on %{face}"
2838
2854
  msgstr ""
2839
2855
 
2840
- #. TRANSLATORS 'Puppet.settings' references to the Puppet settings options and should not be translated
2841
2856
  #. TRANSLATORS 'Puppet.settings' should not be translated
2857
+ #. TRANSLATORS 'Puppet.settings' references to the Puppet settings options and should not be translated
2842
2858
  #: ../lib/puppet/interface/action.rb:315 ../lib/puppet/interface/option_manager.rb:14
2843
2859
  msgid "Global option %{option} does not exist in Puppet.settings"
2844
2860
  msgstr ""
@@ -3063,11 +3079,11 @@ msgid "Loaded puppet/type/%{name} but no class was created"
3063
3079
  msgstr ""
3064
3080
 
3065
3081
  #. TRANSLATORS 'metadata.json' is a specific file name and should not be translated.
3066
- #: ../lib/puppet/module.rb:221
3082
+ #: ../lib/puppet/module.rb:222
3067
3083
  msgid "%{name} has an invalid and unparsable metadata.json file. The parse error: %{error}"
3068
3084
  msgstr ""
3069
3085
 
3070
- #: ../lib/puppet/module.rb:467
3086
+ #: ../lib/puppet/module.rb:468
3071
3087
  msgid ""
3072
3088
  " Invalid module name '%{name}'; module names must match either:\n"
3073
3089
  " An installed module name (ex. modulename) matching the expression /^[a-z][a-z0-9_]*$/ -or-\n"
@@ -3856,7 +3872,7 @@ msgstr ""
3856
3872
  msgid "The 'disable_per_environment_manifest' setting is true, and the '%{env_name}' environment has an environment.conf manifest that conflicts with the 'default_manifest' setting."
3857
3873
  msgstr ""
3858
3874
 
3859
- #: ../lib/puppet/node/environment.rb:568 ../lib/puppet/pops/loaders.rb:301
3875
+ #: ../lib/puppet/node/environment.rb:575 ../lib/puppet/pops/loaders.rb:301
3860
3876
  msgid "Could not parse for environment %{env}: %{detail}"
3861
3877
  msgstr ""
3862
3878
 
@@ -5311,15 +5327,15 @@ msgstr ""
5311
5327
  msgid "<%{string}> does not appear to contain a word"
5312
5328
  msgstr ""
5313
5329
 
5314
- #: ../lib/puppet/pops/loader/base_loader.rb:124
5330
+ #: ../lib/puppet/pops/loader/base_loader.rb:134
5315
5331
  msgid "Originally set %{original}."
5316
5332
  msgstr ""
5317
5333
 
5318
- #: ../lib/puppet/pops/loader/base_loader.rb:124
5334
+ #: ../lib/puppet/pops/loader/base_loader.rb:134
5319
5335
  msgid "Set at unknown location"
5320
5336
  msgstr ""
5321
5337
 
5322
- #: ../lib/puppet/pops/loader/base_loader.rb:125
5338
+ #: ../lib/puppet/pops/loader/base_loader.rb:135
5323
5339
  msgid "Attempt to redefine entity '%{name}'. %{origin_info}"
5324
5340
  msgstr ""
5325
5341
 
@@ -6342,26 +6358,30 @@ msgstr ""
6342
6358
  msgid "Mac OS X packages must specify a package source"
6343
6359
  msgstr ""
6344
6360
 
6345
- #: ../lib/puppet/provider/package/apt.rb:85
6361
+ #: ../lib/puppet/provider/package/apt.rb:89
6346
6362
  msgid "/etc/apt/sources.list contains a cdrom source; not installing. Use 'allowcdrom' to override this failure."
6347
6363
  msgstr ""
6348
6364
 
6349
- #: ../lib/puppet/provider/package/apt.rb:167 ../lib/puppet/provider/package/fink.rb:55
6365
+ #: ../lib/puppet/provider/package/apt.rb:172 ../lib/puppet/provider/package/aptitude.rb:21 ../lib/puppet/provider/package/ports.rb:20 ../lib/puppet/provider/package/portupgrade.rb:94 ../lib/puppet/provider/package/portupgrade.rb:152 ../lib/puppet/provider/package/rug.rb:28 ../lib/puppet/provider/package/up2date.rb:17 ../lib/puppet/provider/package/yum.rb:312 ../lib/puppet/provider/package/zypper.rb:146
6366
+ msgid "Could not find package %{name}"
6367
+ msgstr ""
6368
+
6369
+ #: ../lib/puppet/provider/package/apt.rb:176 ../lib/puppet/provider/package/yum.rb:317
6370
+ msgid "Failed to update to version %{should}, got version %{version} instead"
6371
+ msgstr ""
6372
+
6373
+ #: ../lib/puppet/provider/package/apt.rb:189 ../lib/puppet/provider/package/fink.rb:55
6350
6374
  msgid "Could not find latest version"
6351
6375
  msgstr ""
6352
6376
 
6353
- #: ../lib/puppet/provider/package/apt.rb:178 ../lib/puppet/provider/package/fink.rb:66
6377
+ #: ../lib/puppet/provider/package/apt.rb:200 ../lib/puppet/provider/package/fink.rb:66
6354
6378
  msgid "Preseeding %{response} to debconf-set-selections"
6355
6379
  msgstr ""
6356
6380
 
6357
- #: ../lib/puppet/provider/package/apt.rb:182 ../lib/puppet/provider/package/fink.rb:70
6381
+ #: ../lib/puppet/provider/package/apt.rb:204 ../lib/puppet/provider/package/fink.rb:70
6358
6382
  msgid "No responsefile specified or non existent, not preseeding anything"
6359
6383
  msgstr ""
6360
6384
 
6361
- #: ../lib/puppet/provider/package/aptitude.rb:21 ../lib/puppet/provider/package/ports.rb:20 ../lib/puppet/provider/package/portupgrade.rb:94 ../lib/puppet/provider/package/portupgrade.rb:152 ../lib/puppet/provider/package/rug.rb:28 ../lib/puppet/provider/package/up2date.rb:17 ../lib/puppet/provider/package/yum.rb:312 ../lib/puppet/provider/package/zypper.rb:146
6362
- msgid "Could not find package %{name}"
6363
- msgstr ""
6364
-
6365
6385
  #: ../lib/puppet/provider/package/aptrpm.rb:53
6366
6386
  msgid "Could not match version '%{version}'"
6367
6387
  msgstr ""
@@ -6697,10 +6717,6 @@ msgstr ""
6697
6717
  msgid "Could not find package %{wanted}"
6698
6718
  msgstr ""
6699
6719
 
6700
- #: ../lib/puppet/provider/package/yum.rb:317
6701
- msgid "Failed to update to version %{should}, got version %{version} instead"
6702
- msgstr ""
6703
-
6704
6720
  #: ../lib/puppet/provider/package_targetable.rb:56
6705
6721
  msgid "Provider %{name} package command is not functional on this host"
6706
6722
  msgstr ""
@@ -6733,7 +6749,7 @@ msgstr ""
6733
6749
  msgid "Somehow got told to prefetch with no resource set"
6734
6750
  msgstr ""
6735
6751
 
6736
- #: ../lib/puppet/provider/service/base.rb:121
6752
+ #: ../lib/puppet/provider/service/base.rb:123
6737
6753
  msgid "%{name} is not running"
6738
6754
  msgstr ""
6739
6755
 
@@ -6759,15 +6775,15 @@ msgstr ""
6759
6775
  msgid "Waiting 5 seconds for runsvdir to discover service %{service}"
6760
6776
  msgstr ""
6761
6777
 
6762
- #: ../lib/puppet/provider/service/smf.rb:120
6778
+ #: ../lib/puppet/provider/service/smf.rb:96
6763
6779
  msgid "Failed to get the FMRI of the %{service} service: The pattern '%{service}' matches multiple FMRIs! These are the FMRIs it matches: %{all_fmris}"
6764
6780
  msgstr ""
6765
6781
 
6766
- #: ../lib/puppet/provider/service/smf.rb:135
6782
+ #: ../lib/puppet/provider/service/smf.rb:111
6767
6783
  msgid "Cannot query if the %{service} service is complete: The concept of complete/incomplete services was introduced in Solaris 11.1. You are on a Solaris %{release} machine."
6768
6784
  msgstr ""
6769
6785
 
6770
- #: ../lib/puppet/provider/service/smf.rb:221
6786
+ #: ../lib/puppet/provider/service/smf.rb:197
6771
6787
  msgid "The %{service} service is incomplete so its status will be reported as :stopped. See `svcs -xv %{fmri}` for more details."
6772
6788
  msgstr ""
6773
6789
 
@@ -7059,69 +7075,69 @@ msgstr ""
7059
7075
  msgid "Not attempting to load %{type} %{fqname} as this object was missing during a prior compilation"
7060
7076
  msgstr ""
7061
7077
 
7062
- #: ../lib/puppet/settings.rb:102
7078
+ #: ../lib/puppet/settings.rb:103
7063
7079
  msgid "New environment loaders generated from the requested section."
7064
7080
  msgstr ""
7065
7081
 
7066
- #: ../lib/puppet/settings.rb:304
7082
+ #: ../lib/puppet/settings.rb:305
7067
7083
  msgid "Attempting to initialize global default settings more than once!"
7068
7084
  msgstr ""
7069
7085
 
7070
- #: ../lib/puppet/settings.rb:504
7086
+ #: ../lib/puppet/settings.rb:505
7071
7087
  msgid "Using --configprint is deprecated. Use 'puppet config <subcommand>' instead."
7072
7088
  msgstr ""
7073
7089
 
7074
- #: ../lib/puppet/settings.rb:646
7090
+ #: ../lib/puppet/settings.rb:647
7075
7091
  msgid "Could not load %{file}: %{detail}"
7076
7092
  msgstr ""
7077
7093
 
7078
- #: ../lib/puppet/settings.rb:755
7094
+ #: ../lib/puppet/settings.rb:756
7079
7095
  msgid "Invalid setting type '%{type}'"
7080
7096
  msgstr ""
7081
7097
 
7082
- #: ../lib/puppet/settings.rb:910
7098
+ #: ../lib/puppet/settings.rb:911
7083
7099
  msgid "Unknown searchpath case: %{source_type} for the %{source} settings path element."
7084
7100
  msgstr ""
7085
7101
 
7086
- #: ../lib/puppet/settings.rb:983
7102
+ #: ../lib/puppet/settings.rb:984
7087
7103
  msgid "setting definition for '%{name}' is not a hash!"
7088
7104
  msgstr ""
7089
7105
 
7090
- #: ../lib/puppet/settings.rb:988
7106
+ #: ../lib/puppet/settings.rb:989
7091
7107
  msgid "Setting %{name} is already defined"
7092
7108
  msgstr ""
7093
7109
 
7094
- #: ../lib/puppet/settings.rb:994
7110
+ #: ../lib/puppet/settings.rb:995
7095
7111
  msgid "Setting %{name} is already using short name '%{short}'"
7096
7112
  msgstr ""
7097
7113
 
7098
- #: ../lib/puppet/settings.rb:1265
7114
+ #: ../lib/puppet/settings.rb:1266
7099
7115
  msgid "Setting %{name} is deprecated."
7100
7116
  msgstr ""
7101
7117
 
7102
7118
  #. TRANSLATORS 'puppet.conf' is a file name and should not be translated
7103
- #: ../lib/puppet/settings.rb:1270
7119
+ #: ../lib/puppet/settings.rb:1271
7104
7120
  msgid "Setting %{name} is deprecated in puppet.conf."
7105
7121
  msgstr ""
7106
7122
 
7107
- #: ../lib/puppet/settings.rb:1447
7123
+ #: ../lib/puppet/settings.rb:1458
7108
7124
  msgid "Error converting value for param '%{name}': %{detail}"
7109
7125
  msgstr ""
7110
7126
 
7111
- #: ../lib/puppet/settings.rb:1471
7127
+ #: ../lib/puppet/settings.rb:1482
7112
7128
  msgid "Could not find value for %{expression}"
7113
7129
  msgstr ""
7114
7130
 
7115
7131
  #. TRANSLATORS '$environment' is a Puppet specific variable and should not be translated
7116
- #: ../lib/puppet/settings.rb:1481
7132
+ #: ../lib/puppet/settings.rb:1492
7117
7133
  msgid "You cannot interpolate $environment within '%{setting_name}' when using directory environments."
7118
7134
  msgstr ""
7119
7135
 
7120
- #: ../lib/puppet/settings.rb:1482
7136
+ #: ../lib/puppet/settings.rb:1493
7121
7137
  msgid "Its value will remain %{value}."
7122
7138
  msgstr ""
7123
7139
 
7124
- #: ../lib/puppet/settings.rb:1513
7140
+ #: ../lib/puppet/settings.rb:1524
7125
7141
  msgid "Attempt to assign a value to unknown setting %{name}"
7126
7142
  msgstr ""
7127
7143
 
@@ -7215,19 +7231,19 @@ msgid "Invalid duration format '%{value}' for parameter: %{name}"
7215
7231
  msgstr ""
7216
7232
 
7217
7233
  #. TRANSLATORS 'disable_per_environment_manifest' is a setting and 'environment.conf' is a file name and should not be translated
7218
- #: ../lib/puppet/settings/environment_conf.rb:69
7234
+ #: ../lib/puppet/settings/environment_conf.rb:70
7219
7235
  msgid "The 'disable_per_environment_manifest' setting is true, but the environment located at %{path_to_env} has a manifest setting in its environment.conf of '%{environment_conf}' which does not match the default_manifest setting '%{puppet_conf}'."
7220
7236
  msgstr ""
7221
7237
 
7222
- #: ../lib/puppet/settings/environment_conf.rb:71
7238
+ #: ../lib/puppet/settings/environment_conf.rb:72
7223
7239
  msgid "If this environment is expecting to find modules in '%{environment_conf}', they will not be available!"
7224
7240
  msgstr ""
7225
7241
 
7226
- #: ../lib/puppet/settings/environment_conf.rb:141
7242
+ #: ../lib/puppet/settings/environment_conf.rb:142
7227
7243
  msgid "Invalid sections in environment.conf at '%{path_to_conf_file}'. Environment conf may not have sections. The following sections are being ignored: '%{sections}'"
7228
7244
  msgstr ""
7229
7245
 
7230
- #: ../lib/puppet/settings/environment_conf.rb:153
7246
+ #: ../lib/puppet/settings/environment_conf.rb:154
7231
7247
  msgid "Invalid settings in environment.conf at '%{path_to_conf_file}'. The following unknown setting(s) are being ignored: %{ignored_settings}"
7232
7248
  msgstr ""
7233
7249
 
@@ -7584,7 +7600,7 @@ msgid "Verified CA certificate '%{subject}' fingerprint %{digest}"
7584
7600
  msgstr ""
7585
7601
 
7586
7602
  #. TRANSLATORS: `error` is an untranslated message from openssl describing why a certificate in the server's chain is invalid, and `subject` is the identity/name of the failed certificate
7587
- #: ../lib/puppet/ssl/verifier.rb:130
7603
+ #: ../lib/puppet/ssl/verifier.rb:134
7588
7604
  msgid "certificate verify failed [%{error} for %{subject}]"
7589
7605
  msgstr ""
7590
7606
 
@@ -8001,74 +8017,74 @@ msgstr ""
8001
8017
  msgid "Invalid recurselimit value %{value}"
8002
8018
  msgstr ""
8003
8019
 
8004
- #: ../lib/puppet/type/file.rb:416
8020
+ #: ../lib/puppet/type/file.rb:433
8005
8021
  msgid "You cannot specify more than one of %{creators}"
8006
8022
  msgstr ""
8007
8023
 
8008
- #: ../lib/puppet/type/file.rb:418
8024
+ #: ../lib/puppet/type/file.rb:435
8009
8025
  msgid "You cannot specify a remote recursion without a source"
8010
8026
  msgstr ""
8011
8027
 
8012
- #: ../lib/puppet/type/file.rb:420
8028
+ #: ../lib/puppet/type/file.rb:437
8013
8029
  msgid "You cannot specify source when using checksum 'none'"
8014
8030
  msgstr ""
8015
8031
 
8016
- #: ../lib/puppet/type/file.rb:423
8032
+ #: ../lib/puppet/type/file.rb:440
8017
8033
  msgid "You cannot specify content when using checksum '%{checksum_type}'"
8018
8034
  msgstr ""
8019
8035
 
8020
- #: ../lib/puppet/type/file.rb:426
8036
+ #: ../lib/puppet/type/file.rb:443
8021
8037
  msgid "Possible error: recurselimit is set but not recurse, no recursion will happen"
8022
8038
  msgstr ""
8023
8039
 
8024
- #: ../lib/puppet/type/file.rb:434
8040
+ #: ../lib/puppet/type/file.rb:451
8025
8041
  msgid "Checksum value '%{value}' is not a valid checksum type %{checksum}"
8026
8042
  msgstr ""
8027
8043
 
8028
- #: ../lib/puppet/type/file.rb:437
8044
+ #: ../lib/puppet/type/file.rb:454
8029
8045
  msgid "Checksum value is ignored unless content or source are specified"
8030
8046
  msgstr ""
8031
8047
 
8032
- #: ../lib/puppet/type/file.rb:475
8048
+ #: ../lib/puppet/type/file.rb:492
8033
8049
  msgid "Can not find filebucket for backups without a catalog"
8034
8050
  msgstr ""
8035
8051
 
8036
- #: ../lib/puppet/type/file.rb:480
8052
+ #: ../lib/puppet/type/file.rb:497
8037
8053
  msgid "Could not find filebucket %{backup} specified in backup"
8038
8054
  msgstr ""
8039
8055
 
8040
- #: ../lib/puppet/type/file.rb:778
8056
+ #: ../lib/puppet/type/file.rb:796
8041
8057
  msgid "Could not back up file of type %{current_type}"
8042
8058
  msgstr ""
8043
8059
 
8044
- #: ../lib/puppet/type/file.rb:793
8060
+ #: ../lib/puppet/type/file.rb:811
8045
8061
  msgid "Could not remove files of type %{current_type}"
8046
8062
  msgstr ""
8047
8063
 
8048
8064
  #. TRANSLATORS "source_permissions => ignore" should not be translated
8049
- #: ../lib/puppet/type/file.rb:804
8065
+ #: ../lib/puppet/type/file.rb:822
8050
8066
  msgid "Copying owner/mode/group from the source file on Windows is not supported; use source_permissions => ignore."
8051
8067
  msgstr ""
8052
8068
 
8053
8069
  #. TRANSLATORS "stat" is a program name and should not be translated
8054
- #: ../lib/puppet/type/file.rb:885 ../lib/puppet/type/tidy.rb:352
8070
+ #: ../lib/puppet/type/file.rb:903 ../lib/puppet/type/tidy.rb:371
8055
8071
  msgid "Could not stat; permission denied"
8056
8072
  msgstr ""
8057
8073
 
8058
- #: ../lib/puppet/type/file.rb:888
8074
+ #: ../lib/puppet/type/file.rb:906
8059
8075
  msgid "Could not stat; invalid pathname"
8060
8076
  msgstr ""
8061
8077
 
8062
- #: ../lib/puppet/type/file.rb:1016
8078
+ #: ../lib/puppet/type/file.rb:1034
8063
8079
  msgid "Not removing directory; use 'force' to override"
8064
8080
  msgstr ""
8065
8081
 
8066
8082
  #. TRANSLATORS refers to a file which could not be backed up
8067
- #: ../lib/puppet/type/file.rb:1041
8083
+ #: ../lib/puppet/type/file.rb:1059
8068
8084
  msgid "Could not back up; will not remove"
8069
8085
  msgstr ""
8070
8086
 
8071
- #: ../lib/puppet/type/file.rb:1056
8087
+ #: ../lib/puppet/type/file.rb:1074
8072
8088
  msgid "File written to disk did not match desired checksum; discarding changes (%{content_checksum} vs %{desired_checksum})"
8073
8089
  msgstr ""
8074
8090
 
@@ -8222,46 +8238,46 @@ msgstr ""
8222
8238
  msgid "Setting enable to %{value} is only supported on Microsoft Windows."
8223
8239
  msgstr ""
8224
8240
 
8225
- #: ../lib/puppet/type/service.rb:166
8226
- msgid "The 'logonaccount' parameter is mandatory when setting 'logonpassword'."
8227
- msgstr ""
8228
-
8229
- #: ../lib/puppet/type/service.rb:167 ../lib/puppet/type/user.rb:271
8241
+ #: ../lib/puppet/type/service.rb:152 ../lib/puppet/type/user.rb:271
8230
8242
  msgid "Passwords cannot include ':'"
8231
8243
  msgstr ""
8232
8244
 
8233
- #: ../lib/puppet/type/service.rb:304
8245
+ #: ../lib/puppet/type/service.rb:279
8234
8246
  msgid "\"%{value}\" is not a positive integer: the timeout parameter must be specified as a positive integer"
8235
8247
  msgstr ""
8236
8248
 
8237
- #: ../lib/puppet/type/tidy.rb:85
8249
+ #: ../lib/puppet/type/service.rb:301
8250
+ msgid "The 'logonaccount' parameter is mandatory when setting 'logonpassword'."
8251
+ msgstr ""
8252
+
8253
+ #: ../lib/puppet/type/tidy.rb:101
8238
8254
  msgid "Tidy can't use matches with recurse 0, false, or undef"
8239
8255
  msgstr ""
8240
8256
 
8241
- #: ../lib/puppet/type/tidy.rb:125
8257
+ #: ../lib/puppet/type/tidy.rb:141
8242
8258
  msgid "Invalid age unit '%{unit}'"
8243
8259
  msgstr ""
8244
8260
 
8245
8261
  #. TRANSLATORS tidy is the name of a program and should not be translated
8246
- #: ../lib/puppet/type/tidy.rb:145
8262
+ #: ../lib/puppet/type/tidy.rb:161
8247
8263
  msgid "Invalid tidy age %{age}"
8248
8264
  msgstr ""
8249
8265
 
8250
- #: ../lib/puppet/type/tidy.rb:167
8266
+ #: ../lib/puppet/type/tidy.rb:183
8251
8267
  msgid "Invalid size unit '%{unit}'"
8252
8268
  msgstr ""
8253
8269
 
8254
8270
  #. TRANSLATORS tidy is the name of a program and should not be translated
8255
- #: ../lib/puppet/type/tidy.rb:185
8271
+ #: ../lib/puppet/type/tidy.rb:201
8256
8272
  msgid "Invalid tidy size %{age}"
8257
8273
  msgstr ""
8258
8274
 
8259
8275
  #. TRANSLATORS "Tidy" is a program name and should not be translated
8260
- #: ../lib/puppet/type/tidy.rb:275
8276
+ #: ../lib/puppet/type/tidy.rb:294
8261
8277
  msgid "Tidying %{count} files"
8262
8278
  msgstr ""
8263
8279
 
8264
- #: ../lib/puppet/type/tidy.rb:348
8280
+ #: ../lib/puppet/type/tidy.rb:367
8265
8281
  msgid "File does not exist"
8266
8282
  msgstr ""
8267
8283
 
@@ -8402,11 +8418,11 @@ msgstr ""
8402
8418
  msgid "path may not be nil"
8403
8419
  msgstr ""
8404
8420
 
8405
- #: ../lib/puppet/util.rb:621
8421
+ #: ../lib/puppet/util.rb:630
8406
8422
  msgid "replace_file requires a block"
8407
8423
  msgstr ""
8408
8424
 
8409
- #: ../lib/puppet/util.rb:625
8425
+ #: ../lib/puppet/util.rb:634
8410
8426
  msgid "replace_file default_mode: %{default_mode} is invalid"
8411
8427
  msgstr ""
8412
8428
 
@@ -9067,31 +9083,31 @@ msgstr ""
9067
9083
  msgid "Caught exception %{klass}:%{error} retrying"
9068
9084
  msgstr ""
9069
9085
 
9070
- #: ../lib/puppet/util/selinux.rb:71
9086
+ #: ../lib/puppet/util/selinux.rb:81
9071
9087
  msgid "Invalid context to parse: %{context}"
9072
9088
  msgstr ""
9073
9089
 
9074
- #: ../lib/puppet/util/selinux.rb:83
9090
+ #: ../lib/puppet/util/selinux.rb:93
9075
9091
  msgid "Invalid SELinux parameter type"
9076
9092
  msgstr ""
9077
9093
 
9078
- #: ../lib/puppet/util/selinux.rb:104
9094
+ #: ../lib/puppet/util/selinux.rb:114
9079
9095
  msgid "Can't set SELinux context on file unless the file already has some kind of context"
9080
9096
  msgstr ""
9081
9097
 
9082
- #: ../lib/puppet/util/selinux.rb:118
9098
+ #: ../lib/puppet/util/selinux.rb:128
9083
9099
  msgid "set_selinux_context component must be one of :seluser, :selrole, :seltype, or :selrange"
9084
9100
  msgstr ""
9085
9101
 
9086
- #: ../lib/puppet/util/selinux.rb:129
9102
+ #: ../lib/puppet/util/selinux.rb:139
9087
9103
  msgid "Failed to set SELinux context %{context} on %{file}"
9088
9104
  msgstr ""
9089
9105
 
9090
- #: ../lib/puppet/util/selinux.rb:180
9106
+ #: ../lib/puppet/util/selinux.rb:190
9091
9107
  msgid "Could not open SELinux category translation file %{path}."
9092
9108
  msgstr ""
9093
9109
 
9094
- #: ../lib/puppet/util/selinux.rb:250
9110
+ #: ../lib/puppet/util/selinux.rb:276
9095
9111
  msgid "got a relative path in SELinux find_fs: %{path}"
9096
9112
  msgstr ""
9097
9113
 
@@ -9215,15 +9231,15 @@ msgstr ""
9215
9231
  msgid "Unrecognized ADS UserFlags: %{unrecognized_flags}"
9216
9232
  msgstr ""
9217
9233
 
9218
- #: ../lib/puppet/util/windows/adsi.rb:497
9234
+ #: ../lib/puppet/util/windows/adsi.rb:497 ../lib/puppet/util/windows/adsi.rb:530
9219
9235
  msgid "Failed to get user name"
9220
9236
  msgstr ""
9221
9237
 
9222
- #: ../lib/puppet/util/windows/adsi.rb:534
9238
+ #: ../lib/puppet/util/windows/adsi.rb:580
9223
9239
  msgid "Cannot delete user profile for '%{sid}' prior to Vista SP1"
9224
9240
  msgstr ""
9225
9241
 
9226
- #: ../lib/puppet/util/windows/adsi.rb:552
9242
+ #: ../lib/puppet/util/windows/adsi.rb:598
9227
9243
  msgid "Cannot create group if user '%{name}' exists."
9228
9244
  msgstr ""
9229
9245
 
@@ -9278,20 +9294,20 @@ msgstr ""
9278
9294
  msgid "Failed to call GetLongPathName"
9279
9295
  msgstr ""
9280
9296
 
9281
- #: ../lib/puppet/util/windows/principal.rb:67 ../lib/puppet/util/windows/principal.rb:74
9297
+ #: ../lib/puppet/util/windows/principal.rb:68 ../lib/puppet/util/windows/principal.rb:75
9282
9298
  msgid "Failed to call LookupAccountNameW with account: %{account_name}"
9283
9299
  msgstr ""
9284
9300
 
9285
9301
  #. TRANSLATORS `lookup_account_sid` is a variable name and should not be translated
9286
- #: ../lib/puppet/util/windows/principal.rb:97
9302
+ #: ../lib/puppet/util/windows/principal.rb:98
9287
9303
  msgid "Byte array for lookup_account_sid must not be nil and must be at least 1 byte long"
9288
9304
  msgstr ""
9289
9305
 
9290
- #: ../lib/puppet/util/windows/principal.rb:114
9306
+ #: ../lib/puppet/util/windows/principal.rb:115
9291
9307
  msgid "Byte array for lookup_account_sid is invalid: %{sid_bytes}"
9292
9308
  msgstr ""
9293
9309
 
9294
- #: ../lib/puppet/util/windows/principal.rb:122 ../lib/puppet/util/windows/principal.rb:129
9310
+ #: ../lib/puppet/util/windows/principal.rb:123 ../lib/puppet/util/windows/principal.rb:130
9295
9311
  msgid "Failed to call LookupAccountSidW with bytes: %{sid_bytes}"
9296
9312
  msgstr ""
9297
9313
 
@@ -9401,7 +9417,7 @@ msgstr ""
9401
9417
  msgid "An attempt to set mode %{mode} on item %{path} would result in the group, SYSTEM, to have less than Full Control rights. This attempt has been corrected to Full Control"
9402
9418
  msgstr ""
9403
9419
 
9404
- #: ../lib/puppet/util/windows/security.rb:433 ../lib/puppet/util/windows/security.rb:450 ../lib/puppet/util/windows/sid.rb:155 ../lib/puppet/util/windows/sid.rb:217 ../lib/puppet/util/windows/user.rb:59
9420
+ #: ../lib/puppet/util/windows/security.rb:433 ../lib/puppet/util/windows/security.rb:450 ../lib/puppet/util/windows/sid.rb:157 ../lib/puppet/util/windows/sid.rb:219 ../lib/puppet/util/windows/user.rb:59
9405
9421
  msgid "Invalid SID"
9406
9422
  msgstr ""
9407
9423
 
@@ -9557,19 +9573,19 @@ msgstr ""
9557
9573
  msgid "Timed out while waiting for the pending transition from %{pending_state} to %{final_state} to finish. The current state is %{current_state}."
9558
9574
  msgstr ""
9559
9575
 
9560
- #: ../lib/puppet/util/windows/sid.rb:94
9576
+ #: ../lib/puppet/util/windows/sid.rb:96
9561
9577
  msgid "Octet string must be an array of bytes"
9562
9578
  msgstr ""
9563
9579
 
9564
- #: ../lib/puppet/util/windows/sid.rb:161
9580
+ #: ../lib/puppet/util/windows/sid.rb:163
9565
9581
  msgid "Failed to convert binary SID"
9566
9582
  msgstr ""
9567
9583
 
9568
- #: ../lib/puppet/util/windows/sid.rb:166
9584
+ #: ../lib/puppet/util/windows/sid.rb:168
9569
9585
  msgid "ConvertSidToStringSidW failed to allocate buffer for sid"
9570
9586
  msgstr ""
9571
9587
 
9572
- #: ../lib/puppet/util/windows/sid.rb:186
9588
+ #: ../lib/puppet/util/windows/sid.rb:188
9573
9589
  msgid "Failed to convert string SID: %{string_sid}"
9574
9590
  msgstr ""
9575
9591