puppet 5.5.17-universal-darwin → 5.5.22-universal-darwin

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 (340) hide show
  1. checksums.yaml +4 -4
  2. data/CODEOWNERS +1 -1
  3. data/Gemfile +4 -5
  4. data/Gemfile.lock +59 -55
  5. data/ext/build_defaults.yaml +1 -0
  6. data/ext/cert_inspector +3 -3
  7. data/ext/puppet-test +2 -2
  8. data/ext/regexp_nodes/regexp_nodes.rb +4 -4
  9. data/ext/windows/service/daemon.rb +54 -8
  10. data/install.rb +6 -6
  11. data/lib/puppet.rb +5 -2
  12. data/lib/puppet/agent.rb +5 -13
  13. data/lib/puppet/application.rb +1 -1
  14. data/lib/puppet/application/agent.rb +3 -1
  15. data/lib/puppet/application/apply.rb +2 -2
  16. data/lib/puppet/application/describe.rb +3 -9
  17. data/lib/puppet/application/doc.rb +1 -1
  18. data/lib/puppet/application/filebucket.rb +13 -0
  19. data/lib/puppet/application/lookup.rb +1 -1
  20. data/lib/puppet/application/script.rb +2 -2
  21. data/lib/puppet/configurer.rb +106 -31
  22. data/lib/puppet/configurer/downloader.rb +33 -16
  23. data/lib/puppet/daemon.rb +1 -1
  24. data/lib/puppet/defaults.rb +86 -40
  25. data/lib/puppet/error.rb +9 -1
  26. data/lib/puppet/external/nagios/base.rb +1 -1
  27. data/lib/puppet/face/ca.rb +1 -1
  28. data/lib/puppet/face/module/list.rb +5 -5
  29. data/lib/puppet/face/module/search.rb +1 -1
  30. data/lib/puppet/face/module/uninstall.rb +1 -1
  31. data/lib/puppet/face/module/upgrade.rb +1 -1
  32. data/lib/puppet/file_serving/http_metadata.rb +1 -1
  33. data/lib/puppet/file_serving/mount/locales.rb +1 -2
  34. data/lib/puppet/file_serving/mount/pluginfacts.rb +1 -2
  35. data/lib/puppet/file_serving/mount/plugins.rb +1 -2
  36. data/lib/puppet/file_system.rb +0 -8
  37. data/lib/puppet/file_system/memory_file.rb +1 -1
  38. data/lib/puppet/file_system/posix.rb +3 -2
  39. data/lib/puppet/file_system/uniquefile.rb +4 -0
  40. data/lib/puppet/forge.rb +3 -3
  41. data/lib/puppet/functions/epp.rb +4 -4
  42. data/lib/puppet/functions/inline_epp.rb +5 -5
  43. data/lib/puppet/functions/new.rb +8 -3
  44. data/lib/puppet/functions/reduce.rb +2 -4
  45. data/lib/puppet/functions/reverse_each.rb +1 -1
  46. data/lib/puppet/functions/step.rb +1 -1
  47. data/lib/puppet/gettext/module_translations.rb +1 -1
  48. data/lib/puppet/graph/rb_tree_map.rb +2 -2
  49. data/lib/puppet/graph/simple_graph.rb +6 -5
  50. data/lib/puppet/indirector/catalog/compiler.rb +8 -0
  51. data/lib/puppet/indirector/file_bucket_file/file.rb +1 -1
  52. data/lib/puppet/indirector/hiera.rb +6 -0
  53. data/lib/puppet/indirector/resource/ral.rb +1 -3
  54. data/lib/puppet/indirector/resource/validator.rb +1 -1
  55. data/lib/puppet/interface.rb +2 -1
  56. data/lib/puppet/loaders.rb +0 -1
  57. data/lib/puppet/metatype/manager.rb +1 -1
  58. data/lib/puppet/module.rb +1 -1
  59. data/lib/puppet/module_tool/applications/builder.rb +1 -1
  60. data/lib/puppet/module_tool/applications/installer.rb +1 -1
  61. data/lib/puppet/module_tool/applications/uninstaller.rb +3 -3
  62. data/lib/puppet/module_tool/metadata.rb +1 -1
  63. data/lib/puppet/module_tool/shared_behaviors.rb +4 -4
  64. data/lib/puppet/module_tool/tar/mini.rb +1 -1
  65. data/lib/puppet/network/http/api/indirected_routes.rb +13 -12
  66. data/lib/puppet/network/http/api/master/v3/environment.rb +3 -0
  67. data/lib/puppet/network/http/connection.rb +14 -12
  68. data/lib/puppet/network/http/pool.rb +7 -1
  69. data/lib/puppet/network/http/rack/rest.rb +2 -2
  70. data/lib/puppet/network/http/site.rb +1 -1
  71. data/lib/puppet/network/resolver.rb +2 -2
  72. data/lib/puppet/node/environment.rb +11 -3
  73. data/lib/puppet/parser/ast.rb +1 -1
  74. data/lib/puppet/parser/ast/resourceparam.rb +1 -1
  75. data/lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb +2 -0
  76. data/lib/puppet/parser/compiler/catalog_validator/site_validator.rb +2 -0
  77. data/lib/puppet/parser/environment_compiler.rb +3 -0
  78. data/lib/puppet/parser/functions.rb +14 -10
  79. data/lib/puppet/parser/functions/epp.rb +3 -3
  80. data/lib/puppet/parser/functions/inline_epp.rb +5 -5
  81. data/lib/puppet/parser/resource.rb +3 -2
  82. data/lib/puppet/parser/resource/param.rb +6 -0
  83. data/lib/puppet/pops/adaptable.rb +7 -13
  84. data/lib/puppet/pops/adapters.rb +8 -4
  85. data/lib/puppet/pops/evaluator/access_operator.rb +2 -2
  86. data/lib/puppet/pops/evaluator/collectors/abstract_collector.rb +1 -3
  87. data/lib/puppet/pops/evaluator/collectors/catalog_collector.rb +1 -1
  88. data/lib/puppet/pops/evaluator/collectors/exported_collector.rb +1 -1
  89. data/lib/puppet/pops/evaluator/evaluator_impl.rb +1 -1
  90. data/lib/puppet/pops/evaluator/external_syntax_support.rb +3 -2
  91. data/lib/puppet/pops/evaluator/runtime3_support.rb +4 -4
  92. data/lib/puppet/pops/issues.rb +5 -0
  93. data/lib/puppet/pops/loaders.rb +1 -1
  94. data/lib/puppet/pops/lookup/hiera_config.rb +1 -0
  95. data/lib/puppet/pops/lookup/sub_lookup.rb +1 -1
  96. data/lib/puppet/pops/merge_strategy.rb +22 -18
  97. data/lib/puppet/pops/parser/heredoc_support.rb +1 -1
  98. data/lib/puppet/pops/parser/interpolation_support.rb +4 -4
  99. data/lib/puppet/pops/parser/locator.rb +1 -1
  100. data/lib/puppet/pops/parser/pn_parser.rb +17 -16
  101. data/lib/puppet/pops/puppet_stack.rb +51 -48
  102. data/lib/puppet/pops/resource/resource_type_impl.rb +2 -0
  103. data/lib/puppet/pops/types/iterable.rb +34 -8
  104. data/lib/puppet/pops/types/p_meta_type.rb +1 -1
  105. data/lib/puppet/pops/types/p_sensitive_type.rb +1 -1
  106. data/lib/puppet/pops/types/p_type_set_type.rb +4 -0
  107. data/lib/puppet/pops/types/string_converter.rb +10 -10
  108. data/lib/puppet/pops/types/type_calculator.rb +24 -0
  109. data/lib/puppet/pops/types/types.rb +3 -3
  110. data/lib/puppet/pops/validation/checker4_0.rb +29 -15
  111. data/lib/puppet/pops/validation/validator_factory_4_0.rb +1 -0
  112. data/lib/puppet/property.rb +1 -1
  113. data/lib/puppet/property/ensure.rb +1 -1
  114. data/lib/puppet/provider/augeas/augeas.rb +1 -1
  115. data/lib/puppet/provider/cron/crontab.rb +1 -1
  116. data/lib/puppet/provider/exec.rb +6 -2
  117. data/lib/puppet/provider/group/groupadd.rb +19 -19
  118. data/lib/puppet/provider/group/windows_adsi.rb +3 -3
  119. data/lib/puppet/provider/mailalias/aliases.rb +1 -1
  120. data/lib/puppet/provider/mount.rb +1 -1
  121. data/lib/puppet/provider/mount/parsed.rb +8 -8
  122. data/lib/puppet/provider/nameservice/directoryservice.rb +1 -1
  123. data/lib/puppet/provider/nameservice/pw.rb +2 -2
  124. data/lib/puppet/provider/package/aix.rb +17 -2
  125. data/lib/puppet/provider/package/apt.rb +14 -3
  126. data/lib/puppet/provider/package/dnfmodule.rb +141 -0
  127. data/lib/puppet/provider/package/dpkg.rb +16 -18
  128. data/lib/puppet/provider/package/fink.rb +20 -3
  129. data/lib/puppet/provider/package/gem.rb +4 -2
  130. data/lib/puppet/provider/package/openbsd.rb +14 -2
  131. data/lib/puppet/provider/package/pip.rb +37 -10
  132. data/lib/puppet/provider/package/pkg.rb +18 -5
  133. data/lib/puppet/provider/package/pkgdmg.rb +1 -1
  134. data/lib/puppet/provider/package/pkgng.rb +16 -4
  135. data/lib/puppet/provider/package/portage.rb +4 -4
  136. data/lib/puppet/provider/package/puppet_gem.rb +5 -0
  137. data/lib/puppet/provider/package/rpm.rb +6 -6
  138. data/lib/puppet/provider/package/windows/package.rb +1 -1
  139. data/lib/puppet/provider/package/yum.rb +28 -20
  140. data/lib/puppet/provider/package/zypper.rb +1 -0
  141. data/lib/puppet/provider/package_targetable.rb +5 -4
  142. data/lib/puppet/provider/parsedfile.rb +1 -1
  143. data/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +3 -3
  144. data/lib/puppet/provider/selmodule/semodule.rb +43 -26
  145. data/lib/puppet/provider/service/daemontools.rb +9 -9
  146. data/lib/puppet/provider/service/openbsd.rb +1 -1
  147. data/lib/puppet/provider/service/rcng.rb +2 -2
  148. data/lib/puppet/provider/service/runit.rb +2 -8
  149. data/lib/puppet/provider/service/systemd.rb +31 -13
  150. data/lib/puppet/provider/user/directoryservice.rb +31 -6
  151. data/lib/puppet/provider/user/hpux.rb +1 -1
  152. data/lib/puppet/provider/user/user_role_add.rb +1 -1
  153. data/lib/puppet/provider/user/useradd.rb +39 -20
  154. data/lib/puppet/provider/user/windows_adsi.rb +4 -5
  155. data/lib/puppet/provider/yumrepo/inifile.rb +2 -2
  156. data/lib/puppet/reference/indirection.rb +2 -2
  157. data/lib/puppet/reference/metaparameter.rb +1 -3
  158. data/lib/puppet/reference/providers.rb +1 -1
  159. data/lib/puppet/reference/type.rb +3 -9
  160. data/lib/puppet/reports.rb +1 -1
  161. data/lib/puppet/resource.rb +1 -1
  162. data/lib/puppet/resource/catalog.rb +1 -1
  163. data/lib/puppet/resource/type.rb +10 -1
  164. data/lib/puppet/settings.rb +3 -3
  165. data/lib/puppet/settings/environment_conf.rb +1 -0
  166. data/lib/puppet/ssl/certificate.rb +2 -1
  167. data/lib/puppet/ssl/certificate_authority.rb +6 -5
  168. data/lib/puppet/ssl/certificate_authority/interface.rb +1 -1
  169. data/lib/puppet/ssl/certificate_factory.rb +2 -2
  170. data/lib/puppet/ssl/host.rb +3 -3
  171. data/lib/puppet/ssl/oids.rb +1 -1
  172. data/lib/puppet/test/test_helper.rb +20 -12
  173. data/lib/puppet/transaction/report.rb +1 -1
  174. data/lib/puppet/transaction/resource_harness.rb +1 -1
  175. data/lib/puppet/type.rb +8 -4
  176. data/lib/puppet/type/cron.rb +1 -1
  177. data/lib/puppet/type/exec.rb +7 -3
  178. data/lib/puppet/type/file.rb +14 -2
  179. data/lib/puppet/type/file/data_sync.rb +5 -1
  180. data/lib/puppet/type/group.rb +4 -2
  181. data/lib/puppet/type/interface.rb +1 -1
  182. data/lib/puppet/type/notify.rb +3 -2
  183. data/lib/puppet/type/package.rb +97 -8
  184. data/lib/puppet/type/schedule.rb +1 -1
  185. data/lib/puppet/type/selboolean.rb +17 -3
  186. data/lib/puppet/type/service.rb +2 -8
  187. data/lib/puppet/type/user.rb +5 -9
  188. data/lib/puppet/util.rb +35 -12
  189. data/lib/puppet/util/autoload.rb +9 -7
  190. data/lib/puppet/util/command_line/trollop.rb +1 -1
  191. data/lib/puppet/util/http_proxy.rb +8 -14
  192. data/lib/puppet/util/instance_loader.rb +1 -1
  193. data/lib/puppet/util/log.rb +1 -1
  194. data/lib/puppet/util/log/destinations.rb +3 -12
  195. data/lib/puppet/util/logging.rb +30 -18
  196. data/lib/puppet/util/metric.rb +2 -2
  197. data/lib/puppet/util/monkey_patches.rb +1 -1
  198. data/lib/puppet/util/nagios_maker.rb +2 -2
  199. data/lib/puppet/util/network_device/cisco/device.rb +1 -1
  200. data/lib/puppet/util/network_device/cisco/interface.rb +2 -2
  201. data/lib/puppet/util/network_device/transport/ssh.rb +1 -1
  202. data/lib/puppet/util/pidlock.rb +12 -6
  203. data/lib/puppet/util/plist.rb +6 -0
  204. data/lib/puppet/util/provider_features.rb +2 -4
  205. data/lib/puppet/util/rdoc.rb +1 -1
  206. data/lib/puppet/util/reference.rb +1 -1
  207. data/lib/puppet/util/resource_template.rb +1 -1
  208. data/lib/puppet/util/selinux.rb +3 -1
  209. data/lib/puppet/util/windows/adsi.rb +60 -30
  210. data/lib/puppet/util/windows/api_types.rb +45 -32
  211. data/lib/puppet/util/windows/eventlog.rb +1 -6
  212. data/lib/puppet/util/windows/principal.rb +8 -6
  213. data/lib/puppet/util/windows/process.rb +16 -15
  214. data/lib/puppet/util/windows/registry.rb +17 -15
  215. data/lib/puppet/util/windows/security.rb +1 -0
  216. data/lib/puppet/util/windows/sid.rb +3 -3
  217. data/lib/puppet/vendor.rb +1 -1
  218. data/lib/puppet/version.rb +1 -1
  219. data/lib/puppet_pal.rb +2 -2
  220. data/locales/puppet.pot +362 -318
  221. data/man/man5/puppet.conf.5 +39 -9
  222. data/man/man8/puppet-agent.8 +2 -2
  223. data/man/man8/puppet-apply.8 +1 -1
  224. data/man/man8/puppet-ca.8 +1 -1
  225. data/man/man8/puppet-catalog.8 +1 -1
  226. data/man/man8/puppet-cert.8 +1 -1
  227. data/man/man8/puppet-certificate.8 +1 -1
  228. data/man/man8/puppet-certificate_request.8 +1 -1
  229. data/man/man8/puppet-certificate_revocation_list.8 +1 -1
  230. data/man/man8/puppet-config.8 +1 -1
  231. data/man/man8/puppet-describe.8 +1 -1
  232. data/man/man8/puppet-device.8 +1 -1
  233. data/man/man8/puppet-doc.8 +1 -1
  234. data/man/man8/puppet-epp.8 +1 -1
  235. data/man/man8/puppet-facts.8 +1 -1
  236. data/man/man8/puppet-filebucket.8 +16 -1
  237. data/man/man8/puppet-generate.8 +1 -1
  238. data/man/man8/puppet-help.8 +1 -1
  239. data/man/man8/puppet-key.8 +1 -1
  240. data/man/man8/puppet-lookup.8 +1 -1
  241. data/man/man8/puppet-man.8 +1 -1
  242. data/man/man8/puppet-master.8 +1 -1
  243. data/man/man8/puppet-module.8 +1 -1
  244. data/man/man8/puppet-node.8 +1 -1
  245. data/man/man8/puppet-parser.8 +1 -1
  246. data/man/man8/puppet-plugin.8 +1 -1
  247. data/man/man8/puppet-report.8 +1 -1
  248. data/man/man8/puppet-resource.8 +1 -1
  249. data/man/man8/puppet-script.8 +1 -1
  250. data/man/man8/puppet-status.8 +1 -1
  251. data/man/man8/puppet.8 +2 -2
  252. data/spec/fixtures/integration/provider/mailalias/aliases/test1 +1 -0
  253. data/spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list.txt +19 -0
  254. data/spec/fixtures/unit/provider/package/pkgng/pkg.version +2 -0
  255. data/spec/fixtures/unit/provider/package/yum/yum-check-update-subscription-manager.txt +9 -0
  256. data/spec/fixtures/unit/provider/service/systemd/list_unit_files_services +9 -0
  257. data/spec/integration/configurer_spec.rb +66 -0
  258. data/spec/integration/data_binding_spec.rb +1 -0
  259. data/spec/integration/defaults_spec.rb +1 -2
  260. data/spec/integration/faces/plugin_spec.rb +29 -47
  261. data/spec/integration/indirector/facts/facter_spec.rb +4 -0
  262. data/spec/integration/parser/compiler_spec.rb +11 -0
  263. data/spec/integration/type/notify_spec.rb +46 -0
  264. data/spec/integration/util/windows/adsi_spec.rb +6 -1
  265. data/spec/integration/util/windows/registry_spec.rb +7 -7
  266. data/spec/shared_contexts/types_setup.rb +2 -0
  267. data/spec/unit/agent_spec.rb +34 -26
  268. data/spec/unit/application/apply_spec.rb +2 -12
  269. data/spec/unit/configurer/downloader_spec.rb +10 -0
  270. data/spec/unit/configurer/fact_handler_spec.rb +0 -4
  271. data/spec/unit/configurer_spec.rb +430 -415
  272. data/spec/unit/daemon_spec.rb +0 -1
  273. data/spec/unit/file_serving/mount/locales_spec.rb +2 -2
  274. data/spec/unit/file_serving/mount/pluginfacts_spec.rb +2 -2
  275. data/spec/unit/file_serving/mount/plugins_spec.rb +2 -2
  276. data/spec/unit/file_system/uniquefile_spec.rb +11 -0
  277. data/spec/unit/forge/forge_spec.rb +1 -3
  278. data/spec/unit/forge/repository_spec.rb +1 -3
  279. data/spec/unit/indirector/catalog/compiler_spec.rb +45 -26
  280. data/spec/unit/indirector/resource/ral_spec.rb +4 -4
  281. data/spec/unit/network/http/api/indirected_routes_spec.rb +2 -1
  282. data/spec/unit/network/http/connection_spec.rb +43 -1
  283. data/spec/unit/network/http/pool_spec.rb +32 -0
  284. data/spec/unit/node_spec.rb +7 -4
  285. data/spec/unit/parser/environment_compiler_spec.rb +7 -0
  286. data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +8 -3
  287. data/spec/unit/provider/exec_spec.rb +209 -0
  288. data/spec/unit/provider/group/groupadd_spec.rb +30 -1
  289. data/spec/unit/provider/group/windows_adsi_spec.rb +43 -10
  290. data/spec/unit/provider/package/aix_spec.rb +29 -0
  291. data/spec/unit/provider/package/apt_spec.rb +13 -2
  292. data/spec/unit/provider/package/aptitude_spec.rb +1 -0
  293. data/spec/unit/provider/package/dnfmodule_spec.rb +247 -0
  294. data/spec/unit/provider/package/dpkg_spec.rb +35 -7
  295. data/spec/unit/provider/package/openbsd_spec.rb +17 -0
  296. data/spec/unit/provider/package/pip_spec.rb +93 -22
  297. data/spec/unit/provider/package/pkg_spec.rb +13 -1
  298. data/spec/unit/provider/package/pkgdmg_spec.rb +1 -1
  299. data/spec/unit/provider/package/pkgng_spec.rb +36 -0
  300. data/spec/unit/provider/package/portage_spec.rb +4 -4
  301. data/spec/unit/provider/package/puppet_gem_spec.rb +4 -1
  302. data/spec/unit/provider/package/yum_spec.rb +90 -0
  303. data/spec/unit/provider/package/zypper_spec.rb +13 -0
  304. data/spec/unit/provider/package_targetable_spec.rb +60 -0
  305. data/spec/unit/provider/selmodule_spec.rb +118 -47
  306. data/spec/unit/provider/service/daemontools_spec.rb +24 -0
  307. data/spec/unit/provider/service/runit_spec.rb +24 -0
  308. data/spec/unit/provider/service/systemd_spec.rb +109 -36
  309. data/spec/unit/provider/user/directoryservice_spec.rb +41 -0
  310. data/spec/unit/provider/user/hpux_spec.rb +2 -2
  311. data/spec/unit/provider/user/openbsd_spec.rb +1 -0
  312. data/spec/unit/provider/user/useradd_spec.rb +81 -16
  313. data/spec/unit/provider/user/windows_adsi_spec.rb +3 -3
  314. data/spec/unit/puppet_pal_2pec.rb +3 -0
  315. data/spec/unit/ssl/certificate_authority_spec.rb +2 -3
  316. data/spec/unit/ssl/certificate_spec.rb +7 -0
  317. data/spec/unit/ssl/host_spec.rb +2 -0
  318. data/spec/unit/test/test_helper_spec.rb +17 -0
  319. data/spec/unit/type/exec_spec.rb +6 -12
  320. data/spec/unit/type/file/content_spec.rb +9 -3
  321. data/spec/unit/type/file_spec.rb +9 -4
  322. data/spec/unit/type/package_spec.rb +8 -0
  323. data/spec/unit/type/selboolean_spec.rb +4 -6
  324. data/spec/unit/type/service_spec.rb +9 -8
  325. data/spec/unit/type/user_spec.rb +19 -13
  326. data/spec/unit/util/execution_spec.rb +16 -0
  327. data/spec/unit/util/http_proxy_spec.rb +97 -0
  328. data/spec/unit/util/log/destinations_spec.rb +2 -26
  329. data/spec/unit/util/log_spec.rb +0 -138
  330. data/spec/unit/util/logging_spec.rb +200 -0
  331. data/spec/unit/util/pidlock_spec.rb +67 -40
  332. data/spec/unit/util/plist_spec.rb +20 -0
  333. data/spec/unit/util/windows/adsi_spec.rb +55 -4
  334. data/spec/unit/util/windows/api_types_spec.rb +104 -40
  335. data/spec/unit/util/windows/sid_spec.rb +2 -2
  336. data/tasks/manpages.rake +1 -0
  337. metadata +16 -7
  338. data/lib/puppet/pops/loader/null_loader.rb +0 -60
  339. data/locales/ja/puppet.po +0 -12114
  340. data/spec/integration/test/test_helper_spec.rb +0 -31
@@ -19,15 +19,11 @@ module Puppet::Util::Windows::APITypes
19
19
 
20
20
  class ::FFI::Pointer
21
21
  NULL_HANDLE = 0
22
+ WCHAR_NULL = "\0\0".encode('UTF-16LE').freeze
22
23
 
23
24
  def self.from_string_to_wide_string(str, &block)
24
25
  str = Puppet::Util::Windows::String.wide_string(str)
25
- FFI::MemoryPointer.new(:byte, str.bytesize) do |ptr|
26
- # uchar here is synonymous with byte
27
- ptr.put_array_of_uchar(0, str.bytes.to_a)
28
-
29
- yield ptr
30
- end
26
+ FFI::MemoryPointer.from_wide_string(str, &block)
31
27
 
32
28
  # ptr has already had free called, so nothing to return
33
29
  nil
@@ -53,11 +49,17 @@ module Puppet::Util::Windows::APITypes
53
49
  alias_method :read_word, :read_uint16
54
50
  alias_method :read_array_of_wchar, :read_array_of_uint16
55
51
 
56
- def read_wide_string(char_length, dst_encoding = Encoding::UTF_8, encode_options = {})
52
+ def read_wide_string(char_length, dst_encoding = Encoding::UTF_8, strip = false, encode_options = {})
57
53
  # char_length is number of wide chars (typically excluding NULLs), *not* bytes
58
54
  str = get_bytes(0, char_length * 2).force_encoding('UTF-16LE')
55
+
56
+ if strip
57
+ i = str.index(WCHAR_NULL)
58
+ str = str[0, i] if i
59
+ end
60
+
59
61
  str.encode(dst_encoding, str.encoding, encode_options)
60
- rescue Exception => e
62
+ rescue EncodingError => e
61
63
  Puppet.debug "Unable to convert value #{str.nil? ? 'nil' : str.dump} to encoding #{dst_encoding} due to #{e.inspect}"
62
64
  raise
63
65
  end
@@ -68,32 +70,31 @@ module Puppet::Util::Windows::APITypes
68
70
  # null_terminator = :double_null, then the terminating sequence is four bytes of zero. This is UNIT32 = 0
69
71
  # @param encode_options [Hash] Accepts the same option hash that may be passed to String#encode in Ruby
70
72
  def read_arbitrary_wide_string_up_to(max_char_length = 512, null_terminator = :single_null, encode_options = {})
71
- if null_terminator != :single_null && null_terminator != :double_null
72
- raise _("Unable to read wide strings with %{null_terminator} terminal nulls") % { null_terminator: null_terminator }
73
- end
74
-
75
- terminator_width = null_terminator == :single_null ? 1 : 2
76
- reader_method = null_terminator == :single_null ? :get_uint16 : :get_uint32
77
-
78
- # Look for a null terminating characters; if found, read up to that null (exclusive)
79
- (0...max_char_length - terminator_width).each do |i|
80
- return read_wide_string(i, Encoding::UTF_8, encode_options) if send(reader_method, (i * 2)) == 0
81
- end
82
-
83
- # String is longer than the max; read just to the max
84
- read_wide_string(max_char_length, Encoding::UTF_8, encode_options)
73
+ idx = case null_terminator
74
+ when :single_null
75
+ # find index of wide null between 0 and max (exclusive)
76
+ (0...max_char_length).find do |i|
77
+ get_uint16(i * 2) == 0
78
+ end
79
+ when :double_null
80
+ # find index of double-wide null between 0 and max - 1 (exclusive)
81
+ (0...max_char_length - 1).find do |i|
82
+ get_uint32(i * 2) == 0
83
+ end
84
+ else
85
+ raise _("Unable to read wide strings with %{null_terminator} terminal nulls") % { null_terminator: null_terminator }
86
+ end
87
+
88
+ read_wide_string(idx || max_char_length, Encoding::UTF_8, false, encode_options)
85
89
  end
86
90
 
87
91
  def read_win32_local_pointer(&block)
88
- ptr = nil
92
+ ptr = read_pointer
89
93
  begin
90
- ptr = read_pointer
91
94
  yield ptr
92
95
  ensure
93
- if ptr && ! ptr.null?
94
- if FFI::WIN32::LocalFree(ptr.address) != FFI::Pointer::NULL_HANDLE
95
- Puppet.debug "LocalFree memory leak"
96
- end
96
+ if !ptr.null? && FFI::WIN32::LocalFree(ptr.address) != FFI::Pointer::NULL_HANDLE
97
+ Puppet.debug "LocalFree memory leak"
97
98
  end
98
99
  end
99
100
 
@@ -102,23 +103,35 @@ module Puppet::Util::Windows::APITypes
102
103
  end
103
104
 
104
105
  def read_com_memory_pointer(&block)
105
- ptr = nil
106
+ ptr = read_pointer
106
107
  begin
107
- ptr = read_pointer
108
108
  yield ptr
109
109
  ensure
110
- FFI::WIN32::CoTaskMemFree(ptr) if ptr && ! ptr.null?
110
+ FFI::WIN32::CoTaskMemFree(ptr) unless ptr.null?
111
111
  end
112
112
 
113
113
  # ptr has already had CoTaskMemFree called, so nothing to return
114
114
  nil
115
115
  end
116
116
 
117
-
118
117
  alias_method :write_dword, :write_uint32
119
118
  alias_method :write_word, :write_uint16
120
119
  end
121
120
 
121
+ class FFI::MemoryPointer
122
+ # Return a MemoryPointer that points to wide string. This is analogous to the
123
+ # FFI::MemoryPointer.from_string method.
124
+ def self.from_wide_string(wstr)
125
+ ptr = FFI::MemoryPointer.new(:uchar, wstr.bytesize + 2)
126
+ ptr.put_array_of_uchar(0, wstr.bytes.to_a)
127
+ ptr.put_uint16(wstr.bytesize, 0)
128
+
129
+ yield ptr if block_given?
130
+
131
+ ptr
132
+ end
133
+ end
134
+
122
135
  # FFI Types
123
136
  # https://github.com/ffi/ffi/wiki/Types
124
137
 
@@ -140,12 +140,7 @@ class Puppet::Util::Windows::EventLog
140
140
  # @api private
141
141
  def from_string_to_wide_string(str, &block)
142
142
  str = wide_string(str)
143
- FFI::MemoryPointer.new(:uchar, str.bytesize) do |ptr|
144
- # uchar here is synonymous with byte
145
- ptr.put_array_of_uchar(0, str.bytes.to_a)
146
-
147
- yield ptr
148
- end
143
+ FFI::MemoryPointer.from_wide_string(str) { |ptr| yield ptr }
149
144
 
150
145
  # ptr has already had free called, so nothing to return
151
146
  nil
@@ -41,6 +41,7 @@ module Puppet::Util::Windows::SID
41
41
  # = 8 + max sub identifiers (15) * 4
42
42
  MAXIMUM_SID_BYTE_LENGTH = 68
43
43
 
44
+ ERROR_INVALID_PARAMETER = 87
44
45
  ERROR_INSUFFICIENT_BUFFER = 122
45
46
 
46
47
  def self.lookup_account_name(system_name = nil, account_name)
@@ -48,9 +49,7 @@ module Puppet::Util::Windows::SID
48
49
  begin
49
50
  if system_name
50
51
  system_name_wide = Puppet::Util::Windows::String.wide_string(system_name)
51
- # uchar here is synonymous with byte
52
- system_name_ptr = FFI::MemoryPointer.new(:byte, system_name_wide.bytesize)
53
- system_name_ptr.put_array_of_uchar(0, system_name_wide.bytes.to_a)
52
+ system_name_ptr = FFI::MemoryPointer.from_wide_string(system_name_wide)
54
53
  end
55
54
 
56
55
  FFI::MemoryPointer.from_string_to_wide_string(account_name) do |account_name_ptr|
@@ -101,9 +100,7 @@ module Puppet::Util::Windows::SID
101
100
  begin
102
101
  if system_name
103
102
  system_name_wide = Puppet::Util::Windows::String.wide_string(system_name)
104
- # uchar here is synonymous with byte
105
- system_name_ptr = FFI::MemoryPointer.new(:byte, system_name_wide.bytesize)
106
- system_name_ptr.put_array_of_uchar(0, system_name_wide.bytes.to_a)
103
+ system_name_ptr = FFI::MemoryPointer.from_wide_string(system_name_wide)
107
104
  end
108
105
 
109
106
  FFI::MemoryPointer.new(:byte, sid_bytes.length) do |sid_ptr|
@@ -112,6 +109,11 @@ module Puppet::Util::Windows::SID
112
109
  FFI::MemoryPointer.new(:uint32, 1) do |name_use_enum_ptr|
113
110
 
114
111
  sid_ptr.write_array_of_uchar(sid_bytes)
112
+
113
+ if Puppet::Util::Windows::SID.IsValidSid(sid_ptr) == FFI::WIN32_FALSE
114
+ raise Puppet::Util::Windows::Error.new(_('Byte array for lookup_account_sid is invalid: %{sid_bytes}') % { sid_bytes: sid_bytes }, ERROR_INVALID_PARAMETER)
115
+ end
116
+
115
117
  success = LookupAccountSidW(system_name_ptr, sid_ptr, FFI::Pointer::NULL, name_length_ptr,
116
118
  FFI::Pointer::NULL, domain_length_ptr, name_use_enum_ptr)
117
119
  last_error = FFI.errno
@@ -124,26 +124,27 @@ module Puppet::Util::Windows::Process
124
124
  def get_process_image_name_by_pid(pid)
125
125
  image_name = ""
126
126
 
127
- open_process(PROCESS_QUERY_INFORMATION, false, pid) do |phandle|
128
-
129
- FFI::MemoryPointer.new(:dword, 1) do |exe_name_length_ptr|
130
- # UTF is 2 bytes/char:
131
- max_chars = MAX_PATH_LENGTH + 1
132
- exe_name_length_ptr.write_dword(max_chars)
133
- FFI::MemoryPointer.new(:wchar, max_chars) do |exe_name_ptr|
134
- use_win32_path_format = 0
135
- result = QueryFullProcessImageNameW(phandle, use_win32_path_format, exe_name_ptr, exe_name_length_ptr)
136
- if result == FFI::WIN32_FALSE
137
- raise Puppet::Util::Windows::Error.new(
138
- "QueryFullProcessImageNameW(phandle, #{use_win32_path_format}, " +
139
- "exe_name_ptr, #{max_chars}")
127
+ Puppet::Util::Windows::Security.with_privilege(Puppet::Util::Windows::Security::SE_DEBUG_NAME) do
128
+ open_process(PROCESS_QUERY_INFORMATION, false, pid) do |phandle|
129
+ FFI::MemoryPointer.new(:dword, 1) do |exe_name_length_ptr|
130
+ # UTF is 2 bytes/char:
131
+ max_chars = MAX_PATH_LENGTH + 1
132
+ exe_name_length_ptr.write_dword(max_chars)
133
+ FFI::MemoryPointer.new(:wchar, max_chars) do |exe_name_ptr|
134
+ use_win32_path_format = 0
135
+ result = QueryFullProcessImageNameW(phandle, use_win32_path_format, exe_name_ptr, exe_name_length_ptr)
136
+ if result == FFI::WIN32_FALSE
137
+ raise Puppet::Util::Windows::Error.new(
138
+ "QueryFullProcessImageNameW(phandle, #{use_win32_path_format}, " +
139
+ "exe_name_ptr, #{max_chars}")
140
+ end
141
+ image_name = exe_name_ptr.read_wide_string(exe_name_length_ptr.read_dword)
140
142
  end
141
- image_name = exe_name_ptr.read_wide_string(exe_name_length_ptr.read_dword)
142
143
  end
143
144
  end
144
145
  end
145
146
 
146
- image_name
147
+ image_name
147
148
  end
148
149
  module_function :get_process_image_name_by_pid
149
150
 
@@ -46,11 +46,12 @@ module Puppet::Util::Windows
46
46
 
47
47
  subkey_max_len, _ = reg_query_info_key_max_lengths(key)
48
48
 
49
- begin
49
+ loop do
50
50
  subkey, filetime = reg_enum_key(key, index, subkey_max_len)
51
51
  yield subkey, filetime if !subkey.nil?
52
52
  index += 1
53
- end while !subkey.nil?
53
+ break if subkey.nil?
54
+ end
54
55
 
55
56
  index
56
57
  end
@@ -93,11 +94,12 @@ module Puppet::Util::Windows
93
94
 
94
95
  _, value_max_len = reg_query_info_key_max_lengths(key)
95
96
 
96
- begin
97
+ loop do
97
98
  subkey, type, data = reg_enum_value(key, index, value_max_len)
98
99
  yield subkey, type, data if !subkey.nil?
99
100
  index += 1
100
- end while !subkey.nil?
101
+ break if subkey.nil?
102
+ end
101
103
 
102
104
  index
103
105
  end
@@ -108,13 +110,16 @@ module Puppet::Util::Windows
108
110
 
109
111
  private
110
112
 
111
- def reg_enum_key(key, index, max_key_length = Win32::Registry::Constants::MAX_KEY_LENGTH)
113
+ # max number of wide characters including NULL terminator
114
+ MAX_KEY_CHAR_LENGTH = 255 + 1
115
+
116
+ def reg_enum_key(key, index, max_key_char_length = MAX_KEY_CHAR_LENGTH)
112
117
  subkey, filetime = nil, nil
113
118
 
114
119
  FFI::MemoryPointer.new(:dword) do |subkey_length_ptr|
115
120
  FFI::MemoryPointer.new(FFI::WIN32::FILETIME.size) do |filetime_ptr|
116
- FFI::MemoryPointer.new(:wchar, max_key_length) do |subkey_ptr|
117
- subkey_length_ptr.write_dword(max_key_length)
121
+ FFI::MemoryPointer.new(:wchar, max_key_char_length) do |subkey_ptr|
122
+ subkey_length_ptr.write_dword(max_key_char_length)
118
123
 
119
124
  # RegEnumKeyEx cannot be called twice to properly size the buffer
120
125
  result = RegEnumKeyExW(key.hkey, index,
@@ -139,7 +144,10 @@ module Puppet::Util::Windows
139
144
  [subkey, filetime]
140
145
  end
141
146
 
142
- def reg_enum_value(key, index, max_value_length = Win32::Registry::Constants::MAX_VALUE_LENGTH)
147
+ # max number of wide characters including NULL terminator
148
+ MAX_VALUE_CHAR_LENGTH = 16383 + 1
149
+
150
+ def reg_enum_value(key, index, max_value_length = MAX_VALUE_CHAR_LENGTH)
143
151
  subkey, type, data = nil, nil, nil
144
152
 
145
153
  FFI::MemoryPointer.new(:dword) do |subkey_length_ptr|
@@ -232,7 +240,7 @@ module Puppet::Util::Windows
232
240
  begin
233
241
  case type
234
242
  when Win32::Registry::REG_SZ, Win32::Registry::REG_EXPAND_SZ
235
- result = [ type, sanitize(data_ptr.read_wide_string(string_length)) ]
243
+ result = [ type, data_ptr.read_wide_string(string_length, Encoding::UTF_8, true) ]
236
244
  when Win32::Registry::REG_MULTI_SZ
237
245
  result = [ type, data_ptr.read_wide_string(string_length).split(/\0/) ]
238
246
  when Win32::Registry::REG_BINARY
@@ -312,12 +320,6 @@ module Puppet::Util::Windows
312
320
  result
313
321
  end
314
322
 
315
- def sanitize(value)
316
- # Replace null bytes with a space
317
- value.gsub!("\x00", ' ')
318
- value
319
- end
320
-
321
323
  ffi_convention :stdcall
322
324
 
323
325
  # https://msdn.microsoft.com/en-us/library/windows/desktop/ms724862(v=vs.85).aspx
@@ -97,6 +97,7 @@ module Puppet::Util::Windows::Security
97
97
  FILE = Puppet::Util::Windows::File
98
98
 
99
99
  SE_BACKUP_NAME = 'SeBackupPrivilege'
100
+ SE_DEBUG_NAME = 'SeDebugPrivilege'
100
101
  SE_RESTORE_NAME = 'SeRestorePrivilege'
101
102
 
102
103
  DELETE = 0x00010000
@@ -64,7 +64,7 @@ module Puppet::Util::Windows
64
64
  # 'BUILTIN\Administrators', or 'S-1-5-32-544', and will return the
65
65
  # SID object. Returns nil if the account doesn't exist.
66
66
  # This method returns a SID::Principal with the account, domain, SID, etc
67
- def name_to_principal(name)
67
+ def name_to_principal(name, allow_unresolved = false)
68
68
  # Apparently, we accept a symbol..
69
69
  name = name.to_s.strip if name
70
70
 
@@ -79,7 +79,7 @@ module Puppet::Util::Windows
79
79
 
80
80
  raw_sid_bytes ? Principal.lookup_account_sid(raw_sid_bytes) : Principal.lookup_account_name(name)
81
81
  rescue
82
- nil
82
+ (allow_unresolved && raw_sid_bytes) ? unresolved_principal(name, raw_sid_bytes) : nil
83
83
  end
84
84
  module_function :name_to_principal
85
85
  class << self; alias name_to_sid_object name_to_principal; end
@@ -236,7 +236,7 @@ module Puppet::Util::Windows
236
236
  # @api private
237
237
  def self.unresolved_principal(name, sid_bytes)
238
238
  Principal.new(
239
- name + " (unresolvable)", # account
239
+ name, # account
240
240
  sid_bytes, # sid_bytes
241
241
  name, # sid string
242
242
  nil, #domain
@@ -45,7 +45,7 @@ module Puppet
45
45
  #
46
46
  def load_vendored
47
47
  Dir.entries(vendor_dir).each do |entry|
48
- if entry.match(/load_(\w+?)\.rb$/)
48
+ if entry =~ /load_(\w+?)\.rb$/
49
49
  load_entry entry
50
50
  end
51
51
  end
@@ -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 = '5.5.17'
9
+ PUPPETVERSION = '5.5.22'
10
10
 
11
11
  ##
12
12
  # version is a public API method intended to always provide a fast and
@@ -828,8 +828,8 @@ module Pal
828
828
  end
829
829
  end
830
830
 
831
- rescue Puppet::ParseErrorWithIssue, Puppet::Error
832
- # already logged and handled by the compiler for these two cases
831
+ rescue Puppet::Error
832
+ # already logged and handled by the compiler, including Puppet::ParseErrorWithIssue
833
833
  raise
834
834
 
835
835
  rescue => detail
@@ -1,16 +1,16 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) 2019 Puppet, Inc.
2
+ # Copyright (C) 2020 Puppet, Inc.
3
3
  # This file is distributed under the same license as the Puppet automation framework package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2019.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
5
5
  #
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: Puppet automation framework 5.5.16-90-gc9f7674\n"
9
+ "Project-Id-Version: Puppet automation framework 5.5.21-20-gfdd7102523\n"
10
10
  "\n"
11
11
  "Report-Msgid-Bugs-To: https://tickets.puppetlabs.com\n"
12
- "POT-Creation-Date: 2019-09-27 09:15+0000\n"
13
- "PO-Revision-Date: 2019-09-27 09:15+0000\n"
12
+ "POT-Creation-Date: 2020-07-29 14:16+0000\n"
13
+ "PO-Revision-Date: 2020-07-29 14:16+0000\n"
14
14
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15
15
  "Language-Team: LANGUAGE <LL@li.org>\n"
16
16
  "Language: \n"
@@ -44,19 +44,19 @@ msgstr ""
44
44
  msgid "Please supply a parameter to perform a Hiera lookup"
45
45
  msgstr ""
46
46
 
47
- #: ../lib/hiera_puppet.rb:74 ../lib/puppet/indirector/hiera.rb:79
47
+ #: ../lib/hiera_puppet.rb:74 ../lib/puppet/indirector/hiera.rb:85
48
48
  msgid "Config file %{hiera_config} not found, using Hiera defaults"
49
49
  msgstr ""
50
50
 
51
- #: ../lib/puppet.rb:130
51
+ #: ../lib/puppet.rb:133
52
52
  msgid "Support for ruby version %{version} is deprecated and will be removed in a future release. See https://puppet.com/docs/puppet/latest/system_requirements.html for a list of supported ruby versions."
53
53
  msgstr ""
54
54
 
55
- #: ../lib/puppet.rb:177
55
+ #: ../lib/puppet.rb:180
56
56
  msgid "Creating %{name} via Puppet.newtype is deprecated and will be removed in a future release. Use Puppet::Type.newtype instead."
57
57
  msgstr ""
58
58
 
59
- #: ../lib/puppet.rb:196
59
+ #: ../lib/puppet.rb:199
60
60
  msgid "The environmentpath setting cannot be empty or nil."
61
61
  msgstr ""
62
62
 
@@ -86,7 +86,7 @@ msgstr ""
86
86
  msgid "puppet agent: applying configuration"
87
87
  msgstr ""
88
88
 
89
- #: ../lib/puppet/agent.rb:127
89
+ #: ../lib/puppet/agent.rb:119
90
90
  msgid "Could not create instance of %{client_class}: %{detail}"
91
91
  msgstr ""
92
92
 
@@ -176,19 +176,19 @@ msgstr ""
176
176
  msgid "The puppet agent daemon"
177
177
  msgstr ""
178
178
 
179
- #: ../lib/puppet/application/agent.rb:372
179
+ #: ../lib/puppet/application/agent.rb:374
180
180
  msgid "Fingerprint asked but no certificate nor certificate request have yet been issued"
181
181
  msgstr ""
182
182
 
183
- #: ../lib/puppet/application/agent.rb:377
183
+ #: ../lib/puppet/application/agent.rb:379
184
184
  msgid "Could not get fingerprint for digest '%{digest}'"
185
185
  msgstr ""
186
186
 
187
- #: ../lib/puppet/application/agent.rb:401
187
+ #: ../lib/puppet/application/agent.rb:403
188
188
  msgid "Starting Puppet client version %{version}"
189
189
  msgstr ""
190
190
 
191
- #: ../lib/puppet/application/agent.rb:417
191
+ #: ../lib/puppet/application/agent.rb:419
192
192
  msgid "The puppet agent command does not take parameters"
193
193
  msgstr ""
194
194
 
@@ -241,7 +241,7 @@ msgstr ""
241
241
  msgid "You must specify the hosts to apply to; valid values are an array or the symbol :all"
242
242
  msgstr ""
243
243
 
244
- #: ../lib/puppet/application/describe.rb:181
244
+ #: ../lib/puppet/application/describe.rb:175
245
245
  msgid "Display help about resource types"
246
246
  msgstr ""
247
247
 
@@ -355,38 +355,38 @@ msgstr ""
355
355
  msgid "Store and retrieve files in a filebucket"
356
356
  msgstr ""
357
357
 
358
- #: ../lib/puppet/application/filebucket.rb:208
358
+ #: ../lib/puppet/application/filebucket.rb:221
359
359
  msgid "You must specify a file to back up"
360
360
  msgstr ""
361
361
 
362
- #: ../lib/puppet/application/filebucket.rb:212
362
+ #: ../lib/puppet/application/filebucket.rb:225
363
363
  msgid "%{file}: no such file"
364
364
  msgstr ""
365
365
 
366
- #: ../lib/puppet/application/filebucket.rb:216
366
+ #: ../lib/puppet/application/filebucket.rb:229
367
367
  msgid "%{file}: cannot read file"
368
368
  msgstr ""
369
369
 
370
- #: ../lib/puppet/application/filebucket.rb:238 ../lib/puppet/application/filebucket.rb:261
370
+ #: ../lib/puppet/application/filebucket.rb:251 ../lib/puppet/application/filebucket.rb:274
371
371
  msgid "Need exactly two arguments: filebucket diff <file_a> <file_b>"
372
372
  msgstr ""
373
373
 
374
- #: ../lib/puppet/application/filebucket.rb:258
374
+ #: ../lib/puppet/application/filebucket.rb:271
375
375
  msgid "Comparing %{checksum_a} %{checksum_b} %{file_a} %{file_b}"
376
376
  msgstr ""
377
377
 
378
- #: ../lib/puppet/application/filebucket.rb:272
378
+ #: ../lib/puppet/application/filebucket.rb:285
379
379
  msgid "Cancelling"
380
380
  msgstr ""
381
381
 
382
382
  #. TRANSLATORS 'server_list' is the name of a setting and should not be translated
383
- #: ../lib/puppet/application/filebucket.rb:293
383
+ #: ../lib/puppet/application/filebucket.rb:306
384
384
  msgid "Selected server from first entry of the `server_list` setting: %{server}:%{port}"
385
385
  msgstr ""
386
386
 
387
387
  #. TRANSLATORS 'server' is the name of a setting and should not be translated
388
388
  #. TRANSLATORS 'server' is the name of a setting and should not be translated
389
- #: ../lib/puppet/application/filebucket.rb:300 ../lib/puppet/indirector/request.rb:209
389
+ #: ../lib/puppet/application/filebucket.rb:313 ../lib/puppet/indirector/request.rb:209
390
390
  msgid "Selected server from the `server` setting: %{server}"
391
391
  msgstr ""
392
392
 
@@ -520,85 +520,93 @@ msgstr ""
520
520
  msgid "Not using cached catalog because its environment '%{catalog_env}' does not match '%{local_env}'"
521
521
  msgstr ""
522
522
 
523
- #: ../lib/puppet/configurer.rb:96 ../lib/puppet/configurer.rb:173
523
+ #: ../lib/puppet/configurer.rb:96 ../lib/puppet/configurer.rb:171
524
524
  msgid "Using cached catalog from environment '%{catalog_env}'"
525
525
  msgstr ""
526
526
 
527
- #: ../lib/puppet/configurer.rb:166
527
+ #: ../lib/puppet/configurer.rb:164
528
528
  msgid "Could not retrieve catalog; skipping run"
529
529
  msgstr ""
530
530
 
531
- #: ../lib/puppet/configurer.rb:184
531
+ #: ../lib/puppet/configurer.rb:180
532
532
  msgid "Applied catalog in %{seconds} seconds"
533
533
  msgstr ""
534
534
 
535
- #: ../lib/puppet/configurer.rb:224
535
+ #: ../lib/puppet/configurer.rb:220
536
536
  msgid "Could not select a functional puppet master from server_list: '%{server_list}'"
537
537
  msgstr ""
538
538
 
539
539
  #. TRANSLATORS 'server_list' is the name of a setting and should not be translated
540
- #: ../lib/puppet/configurer.rb:227
540
+ #: ../lib/puppet/configurer.rb:223
541
541
  msgid "Selected puppet server from the `server_list` setting: %{server}:%{port}"
542
542
  msgstr ""
543
543
 
544
- #: ../lib/puppet/configurer.rb:259
544
+ #: ../lib/puppet/configurer.rb:254
545
545
  msgid "Local environment: '%{local_env}' doesn't match the environment of the cached catalog '%{catalog_env}', switching agent to '%{catalog_env}'."
546
546
  msgstr ""
547
547
 
548
- #: ../lib/puppet/configurer.rb:304
548
+ #: ../lib/puppet/configurer.rb:299
549
549
  msgid "Local environment: '%{local_env}' doesn't match server specified node environment '%{node_env}', switching agent to '%{node_env}'."
550
550
  msgstr ""
551
551
 
552
- #: ../lib/puppet/configurer.rb:309
552
+ #: ../lib/puppet/configurer.rb:304
553
553
  msgid "Using configured environment '%{env}'"
554
554
  msgstr ""
555
555
 
556
- #: ../lib/puppet/configurer.rb:313
556
+ #: ../lib/puppet/configurer.rb:308
557
557
  msgid "Unable to fetch my node definition, but the agent run will continue:"
558
558
  msgstr ""
559
559
 
560
- #: ../lib/puppet/configurer.rb:337
560
+ #: ../lib/puppet/configurer.rb:332
561
561
  msgid "Not using catalog because its environment '%{catalog_env}' does not match agent specified environment '%{local_env}' and strict_environment_mode is set"
562
562
  msgstr ""
563
563
 
564
- #: ../lib/puppet/configurer.rb:348
564
+ #: ../lib/puppet/configurer.rb:343
565
565
  msgid "Catalog environment didn't stabilize after %{tries} fetches, aborting run"
566
566
  msgstr ""
567
567
 
568
- #: ../lib/puppet/configurer.rb:350
568
+ #: ../lib/puppet/configurer.rb:345
569
569
  msgid "Local environment: '%{local_env}' doesn't match server specified environment '%{catalog_env}', restarting agent run with environment '%{catalog_env}'"
570
570
  msgstr ""
571
571
 
572
- #: ../lib/puppet/configurer.rb:369
572
+ #: ../lib/puppet/configurer.rb:385
573
573
  msgid "Failed to apply catalog: %{detail}"
574
574
  msgstr ""
575
575
 
576
- #: ../lib/puppet/configurer.rb:393
576
+ #: ../lib/puppet/configurer.rb:417
577
577
  msgid "Puppet server %{host}:%{port} is unavailable: %{code} %{reason}"
578
578
  msgstr ""
579
579
 
580
580
  #. TRANSLATORS 'server_list' is the name of a setting and should not be translated
581
- #: ../lib/puppet/configurer.rb:397
581
+ #: ../lib/puppet/configurer.rb:421
582
582
  msgid "Unable to connect to server from server_list setting: %{detail}"
583
583
  msgstr ""
584
584
 
585
- #: ../lib/puppet/configurer.rb:409 ../lib/puppet/face/report.rb:47
585
+ #: ../lib/puppet/configurer.rb:433 ../lib/puppet/face/report.rb:47
586
586
  msgid "Could not send report: %{detail}"
587
587
  msgstr ""
588
588
 
589
- #: ../lib/puppet/configurer.rb:418
589
+ #: ../lib/puppet/configurer.rb:442
590
590
  msgid "Could not save last run local report: %{detail}"
591
591
  msgstr ""
592
592
 
593
- #: ../lib/puppet/configurer.rb:430
593
+ #: ../lib/puppet/configurer.rb:462
594
+ msgid "Uploading facts for %{node} to %{server}"
595
+ msgstr ""
596
+
597
+ #: ../lib/puppet/configurer.rb:473
598
+ msgid "Failed to submit facts: %{detail}"
599
+ msgstr ""
600
+
601
+ #: ../lib/puppet/configurer.rb:488
594
602
  msgid "Could not run command from %{setting}: %{detail}"
595
603
  msgstr ""
596
604
 
597
- #: ../lib/puppet/configurer.rb:448
605
+ #: ../lib/puppet/configurer.rb:506
598
606
  msgid "Could not retrieve catalog from cache: %{detail}"
599
607
  msgstr ""
600
608
 
601
- #: ../lib/puppet/configurer.rb:468
609
+ #: ../lib/puppet/configurer.rb:526
602
610
  msgid "Could not retrieve catalog from remote server: %{detail}"
603
611
  msgstr ""
604
612
 
@@ -606,7 +614,11 @@ msgstr ""
606
614
  msgid "Retrieving %{name}"
607
615
  msgstr ""
608
616
 
609
- #: ../lib/puppet/configurer/downloader.rb:20
617
+ #: ../lib/puppet/configurer/downloader.rb:21
618
+ msgid "Failed to retrieve %{name}: %{detail}"
619
+ msgstr ""
620
+
621
+ #: ../lib/puppet/configurer/downloader.rb:32
610
622
  msgid "Could not retrieve %{name}: %{detail}"
611
623
  msgstr ""
612
624
 
@@ -662,63 +674,63 @@ msgstr ""
662
674
  msgid "a data type can only have one implementation"
663
675
  msgstr ""
664
676
 
665
- #: ../lib/puppet/defaults.rb:126
677
+ #: ../lib/puppet/defaults.rb:130
666
678
  msgid "Cannot disable unrecognized warning types %{invalid}."
667
679
  msgstr ""
668
680
 
669
- #: ../lib/puppet/defaults.rb:127
681
+ #: ../lib/puppet/defaults.rb:131
670
682
  msgid "Valid values are %{values}."
671
683
  msgstr ""
672
684
 
673
685
  #. TRANSLATORS 'data_binding_terminus' is a setting and should not be translated
674
- #: ../lib/puppet/defaults.rb:473
686
+ #: ../lib/puppet/defaults.rb:484
675
687
  msgid "Setting 'data_binding_terminus' is deprecated."
676
688
  msgstr ""
677
689
 
678
690
  #. TRANSLATORS 'hiera' should not be translated
679
- #: ../lib/puppet/defaults.rb:475
691
+ #: ../lib/puppet/defaults.rb:486
680
692
  msgid "Convert custom terminus to hiera 5 API."
681
693
  msgstr ""
682
694
 
683
695
  #. TRANSLATORS 'environment_data_provider' is a setting and should not be translated
684
- #: ../lib/puppet/defaults.rb:633
696
+ #: ../lib/puppet/defaults.rb:645
685
697
  msgid "Setting 'environment_data_provider' is deprecated."
686
698
  msgstr ""
687
699
 
688
- #: ../lib/puppet/defaults.rb:735
700
+ #: ../lib/puppet/defaults.rb:747
689
701
  msgid "Certificate names must be lower case"
690
702
  msgstr ""
691
703
 
692
- #: ../lib/puppet/defaults.rb:976 ../lib/puppet/settings/enum_setting.rb:13 ../lib/puppet/settings/symbolic_enum_setting.rb:14
704
+ #: ../lib/puppet/defaults.rb:992 ../lib/puppet/settings/enum_setting.rb:13 ../lib/puppet/settings/symbolic_enum_setting.rb:14
693
705
  msgid "Invalid value '%{value}' for parameter %{name}. Allowed values are '%{allowed_values}'"
694
706
  msgstr ""
695
707
 
696
- #: ../lib/puppet/defaults.rb:1047
708
+ #: ../lib/puppet/defaults.rb:1063
697
709
  msgid "The 'caprivatedir' setting is deprecated and will be removed in Puppet 6."
698
710
  msgstr ""
699
711
 
700
- #: ../lib/puppet/defaults.rb:1074
712
+ #: ../lib/puppet/defaults.rb:1090
701
713
  msgid "The 'capass' setting is deprecated and will be removed in Puppet 6."
702
714
  msgstr ""
703
715
 
704
- #: ../lib/puppet/defaults.rb:1314
716
+ #: ../lib/puppet/defaults.rb:1340
705
717
  msgid "The 'ca' setting is deprecated and will be removed in Puppet 6."
706
718
  msgstr ""
707
719
 
708
- #: ../lib/puppet/defaults.rb:1814 ../lib/puppet/settings.rb:1212
720
+ #: ../lib/puppet/defaults.rb:1854 ../lib/puppet/settings.rb:1212
709
721
  msgid "Setting %{name} is deprecated."
710
722
  msgstr ""
711
723
 
712
724
  #. TRANSLATORS 'pluginsync' is a setting and should not be translated
713
- #: ../lib/puppet/defaults.rb:1865
725
+ #: ../lib/puppet/defaults.rb:1904
714
726
  msgid "Setting 'pluginsync' is deprecated."
715
727
  msgstr ""
716
728
 
717
- #: ../lib/puppet/error.rb:69
729
+ #: ../lib/puppet/error.rb:77
718
730
  msgid "Could not parse for environment %{environment}: %{message}"
719
731
  msgstr ""
720
732
 
721
- #: ../lib/puppet/error.rb:70 ../lib/puppet/parser/compiler.rb:41
733
+ #: ../lib/puppet/error.rb:78 ../lib/puppet/parser/compiler.rb:41
722
734
  msgid "%{message} on node %{node}"
723
735
  msgstr ""
724
736
 
@@ -2356,11 +2368,11 @@ msgid "Got an event from invalid vertex %{source}"
2356
2368
  msgstr ""
2357
2369
 
2358
2370
  #. TRANSLATORS "negative or zero" refers to the count of paths
2359
- #: ../lib/puppet/graph/simple_graph.rb:199
2371
+ #: ../lib/puppet/graph/simple_graph.rb:200
2360
2372
  msgid "negative or zero max_paths"
2361
2373
  msgstr ""
2362
2374
 
2363
- #: ../lib/puppet/graph/simple_graph.rb:231
2375
+ #: ../lib/puppet/graph/simple_graph.rb:232
2364
2376
  msgid ""
2365
2377
  "Found %{num} dependency cycle:\n"
2366
2378
  msgid_plural ""
@@ -2368,12 +2380,12 @@ msgid_plural ""
2368
2380
  msgstr[0] ""
2369
2381
  msgstr[1] ""
2370
2382
 
2371
- #: ../lib/puppet/graph/simple_graph.rb:240
2383
+ #: ../lib/puppet/graph/simple_graph.rb:241
2372
2384
  msgid "Cycle graph written to %{filename}."
2373
2385
  msgstr ""
2374
2386
 
2375
2387
  #. TRANSLATORS '--graph' refers to a command line option and OmniGraffle and GraphViz are program names and should not be translated
2376
- #: ../lib/puppet/graph/simple_graph.rb:243
2388
+ #: ../lib/puppet/graph/simple_graph.rb:244
2377
2389
  msgid "Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz"
2378
2390
  msgstr ""
2379
2391
 
@@ -2506,7 +2518,7 @@ msgstr ""
2506
2518
  msgid "Could not find node '%{name}'; cannot compile"
2507
2519
  msgstr ""
2508
2520
 
2509
- #: ../lib/puppet/indirector/catalog/compiler.rb:403
2521
+ #: ../lib/puppet/indirector/catalog/compiler.rb:411
2510
2522
  msgid "Could not retrieve fact %{fact}"
2511
2523
  msgstr ""
2512
2524
 
@@ -2718,12 +2730,12 @@ msgid "Could not find filesystem info for file '%{request}' in environment %{env
2718
2730
  msgstr ""
2719
2731
 
2720
2732
  #. TRANSLATORS "Hiera" is the name of a code library and should not be translated
2721
- #: ../lib/puppet/indirector/hiera.rb:8
2733
+ #: ../lib/puppet/indirector/hiera.rb:12
2722
2734
  msgid "Hiera terminus not supported without hiera library"
2723
2735
  msgstr ""
2724
2736
 
2725
2737
  #. TRANSLATORS "merge" is a parameter name and should not be translated
2726
- #: ../lib/puppet/indirector/hiera.rb:68
2738
+ #: ../lib/puppet/indirector/hiera.rb:72
2727
2739
  msgid "Unrecognized value for request 'merge' parameter: '%{merge}'"
2728
2740
  msgstr ""
2729
2741
 
@@ -2963,7 +2975,7 @@ msgstr ""
2963
2975
  msgid "Could not understand URL %{key}: %{detail}"
2964
2976
  msgstr ""
2965
2977
 
2966
- #: ../lib/puppet/indirector/resource/ral.rb:61
2978
+ #: ../lib/puppet/indirector/resource/ral.rb:59
2967
2979
  msgid "Could not find type %{request_type}"
2968
2980
  msgstr ""
2969
2981
 
@@ -4036,45 +4048,45 @@ msgstr ""
4036
4048
  msgid "No request key specified in %{uri}"
4037
4049
  msgstr ""
4038
4050
 
4039
- #: ../lib/puppet/network/http/api/indirected_routes.rb:122
4051
+ #: ../lib/puppet/network/http/api/indirected_routes.rb:133
4040
4052
  msgid "Could not find %{value0} %{key}"
4041
4053
  msgstr ""
4042
4054
 
4043
- #: ../lib/puppet/network/http/api/indirected_routes.rb:129
4055
+ #: ../lib/puppet/network/http/api/indirected_routes.rb:140
4044
4056
  msgid "Rendered result in %{format}"
4045
4057
  msgstr ""
4046
4058
 
4047
- #: ../lib/puppet/network/http/api/indirected_routes.rb:135
4059
+ #: ../lib/puppet/network/http/api/indirected_routes.rb:146
4048
4060
  msgid "Sent response"
4049
4061
  msgstr ""
4050
4062
 
4051
- #: ../lib/puppet/network/http/api/indirected_routes.rb:143
4063
+ #: ../lib/puppet/network/http/api/indirected_routes.rb:154
4052
4064
  msgid "Could not find %{indirection} %{key}"
4053
4065
  msgstr ""
4054
4066
 
4055
- #: ../lib/puppet/network/http/api/indirected_routes.rb:155
4067
+ #: ../lib/puppet/network/http/api/indirected_routes.rb:166
4056
4068
  msgid "Could not find instances in %{indirection} with '%{key}'"
4057
4069
  msgstr ""
4058
4070
 
4059
- #: ../lib/puppet/network/http/api/indirected_routes.rb:202 ../lib/puppet/network/http/request.rb:60
4071
+ #: ../lib/puppet/network/http/api/indirected_routes.rb:213 ../lib/puppet/network/http/request.rb:60
4060
4072
  msgid "No supported formats are acceptable (Accept: %{accepted_formats})"
4061
4073
  msgstr ""
4062
4074
 
4063
- #: ../lib/puppet/network/http/api/indirected_routes.rb:227
4075
+ #: ../lib/puppet/network/http/api/indirected_routes.rb:238
4064
4076
  msgid "The request body is invalid: %{message}"
4065
4077
  msgstr ""
4066
4078
 
4067
4079
  #. TRANSLATORS "mime-type" is a keyword and should not be translated
4068
4080
  #. TRANSLATORS "mime-type" is a keyword and should not be translated
4069
- #: ../lib/puppet/network/http/api/indirected_routes.rb:233 ../lib/puppet/network/http/request.rb:31
4081
+ #: ../lib/puppet/network/http/api/indirected_routes.rb:244 ../lib/puppet/network/http/request.rb:31
4070
4082
  msgid "Client sent a mime-type (%{header}) that doesn't correspond to a format we support"
4071
4083
  msgstr ""
4072
4084
 
4073
- #: ../lib/puppet/network/http/api/indirected_routes.rb:239
4085
+ #: ../lib/puppet/network/http/api/indirected_routes.rb:250
4074
4086
  msgid "No support for http method %{http_method}"
4075
4087
  msgstr ""
4076
4088
 
4077
- #: ../lib/puppet/network/http/api/indirected_routes.rb:243
4089
+ #: ../lib/puppet/network/http/api/indirected_routes.rb:254
4078
4090
  msgid "No support for plurality %{indirection} for %{http_method} operations"
4079
4091
  msgstr ""
4080
4092
 
@@ -4082,19 +4094,19 @@ msgstr ""
4082
4094
  msgid "Not a valid indirection type"
4083
4095
  msgstr ""
4084
4096
 
4085
- #: ../lib/puppet/network/http/api/master/v3/environment.rb:11
4097
+ #: ../lib/puppet/network/http/api/master/v3/environment.rb:14
4086
4098
  msgid "%{env_name} is not a known environment"
4087
4099
  msgstr ""
4088
4100
 
4089
- #: ../lib/puppet/network/http/api/master/v3/environment.rb:40
4101
+ #: ../lib/puppet/network/http/api/master/v3/environment.rb:43
4090
4102
  msgid "Application %{application} assigns nodes to non-existent components: %{component_list}"
4091
4103
  msgstr ""
4092
4104
 
4093
- #: ../lib/puppet/network/http/api/master/v3/environment.rb:46
4105
+ #: ../lib/puppet/network/http/api/master/v3/environment.rb:49
4094
4106
  msgid "Application %{application} has components without assigned nodes: %{component_list}"
4095
4107
  msgstr ""
4096
4108
 
4097
- #: ../lib/puppet/network/http/api/master/v3/environment.rb:55
4109
+ #: ../lib/puppet/network/http/api/master/v3/environment.rb:58
4098
4110
  msgid "Application %{app} assigns multiple nodes to component %{comp}"
4099
4111
  msgstr ""
4100
4112
 
@@ -4106,45 +4118,45 @@ msgstr ""
4106
4118
  msgid "Unrecognized option(s): %{opts}"
4107
4119
  msgstr ""
4108
4120
 
4109
- #: ../lib/puppet/network/http/connection.rb:210
4121
+ #: ../lib/puppet/network/http/connection.rb:214
4110
4122
  msgid "Too many HTTP redirections for %{host}:%{port}"
4111
4123
  msgstr ""
4112
4124
 
4113
4125
  #. TRANSLATORS: Used in the phrase:
4114
4126
  #. "Received a response from the remote server."
4115
- #: ../lib/puppet/network/http/connection.rb:241
4127
+ #: ../lib/puppet/network/http/connection.rb:245
4116
4128
  msgid "the remote server"
4117
4129
  msgstr ""
4118
4130
 
4119
- #: ../lib/puppet/network/http/connection.rb:245
4131
+ #: ../lib/puppet/network/http/connection.rb:249
4120
4132
  msgid "Received a %{status_code} response from %{server_hostname}, but the Retry-After header value of \"%{retry_after}\" could not be converted to an integer or RFC 2822 date."
4121
4133
  msgstr ""
4122
4134
 
4123
- #: ../lib/puppet/network/http/connection.rb:256
4135
+ #: ../lib/puppet/network/http/connection.rb:260
4124
4136
  msgid "Received a %{status_code} response from %{server_hostname}. Sleeping for %{retry_sleep} seconds before retrying the request."
4125
4137
  msgstr ""
4126
4138
 
4127
- #: ../lib/puppet/network/http/connection.rb:318
4139
+ #: ../lib/puppet/network/http/connection.rb:321
4128
4140
  msgid "request %{uri} interrupted after %{elapsed} seconds"
4129
4141
  msgstr ""
4130
4142
 
4131
- #: ../lib/puppet/network/http/connection.rb:320
4143
+ #: ../lib/puppet/network/http/connection.rb:323
4132
4144
  msgid "request %{uri} timed out after %{elapsed} seconds"
4133
4145
  msgstr ""
4134
4146
 
4135
- #: ../lib/puppet/network/http/connection.rb:322
4147
+ #: ../lib/puppet/network/http/connection.rb:325
4136
4148
  msgid "request %{uri} failed: %{msg}"
4137
4149
  msgstr ""
4138
4150
 
4139
- #: ../lib/puppet/network/http/connection.rb:348 ../lib/puppet/ssl/validator/default_validator.rb:101
4151
+ #: ../lib/puppet/network/http/connection.rb:350 ../lib/puppet/ssl/validator/default_validator.rb:101
4140
4152
  msgid "expected one of %{certnames}"
4141
4153
  msgstr ""
4142
4154
 
4143
- #: ../lib/puppet/network/http/connection.rb:350 ../lib/puppet/ssl/validator/default_validator.rb:103
4155
+ #: ../lib/puppet/network/http/connection.rb:352 ../lib/puppet/ssl/validator/default_validator.rb:103
4144
4156
  msgid "expected %{certname}"
4145
4157
  msgstr ""
4146
4158
 
4147
- #: ../lib/puppet/network/http/connection.rb:353 ../lib/puppet/ssl/validator/default_validator.rb:106
4159
+ #: ../lib/puppet/network/http/connection.rb:355 ../lib/puppet/ssl/validator/default_validator.rb:106
4148
4160
  msgid "Server hostname '%{host}' did not match server certificate; %{expected_certnames}"
4149
4161
  msgstr ""
4150
4162
 
@@ -4192,7 +4204,7 @@ msgstr ""
4192
4204
  msgid "Could not resolve %{ip}: %{detail}"
4193
4205
  msgstr ""
4194
4206
 
4195
- #: ../lib/puppet/network/http/pool.rb:65
4207
+ #: ../lib/puppet/network/http/pool.rb:68
4196
4208
  msgid "Failed to close connection for %{site}: %{detail}"
4197
4209
  msgstr ""
4198
4210
 
@@ -4300,7 +4312,7 @@ msgstr ""
4300
4312
  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."
4301
4313
  msgstr ""
4302
4314
 
4303
- #: ../lib/puppet/node/environment.rb:570 ../lib/puppet/pops/loaders.rb:298
4315
+ #: ../lib/puppet/node/environment.rb:572 ../lib/puppet/pops/loaders.rb:298
4304
4316
  msgid "Could not parse for environment %{env}: %{detail}"
4305
4317
  msgstr ""
4306
4318
 
@@ -4390,7 +4402,7 @@ msgid "For more information, see https://puppet.com/docs/puppet/latest/environme
4390
4402
  msgstr ""
4391
4403
 
4392
4404
  #. TRANSLATORS "stage" is a keyword in Puppet and should not be translated
4393
- #: ../lib/puppet/parser/compiler.rb:98 ../lib/puppet/parser/environment_compiler.rb:134
4405
+ #: ../lib/puppet/parser/compiler.rb:98 ../lib/puppet/parser/environment_compiler.rb:137
4394
4406
  msgid "Only classes can set 'stage'; normal resources like %{resource} cannot change run stage"
4395
4407
  msgstr ""
4396
4408
 
@@ -4525,11 +4537,11 @@ msgstr ""
4525
4537
  msgid "For initializing compiler"
4526
4538
  msgstr ""
4527
4539
 
4528
- #: ../lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb:17
4540
+ #: ../lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb:19
4529
4541
  msgid "Capability '%{cap}' referenced by '%{param}' is never exported"
4530
4542
  msgstr ""
4531
4543
 
4532
- #: ../lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb:56
4544
+ #: ../lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb:58
4533
4545
  msgid "'%{value}' is exported by both '%{hash}' and '%{resource}'"
4534
4546
  msgstr ""
4535
4547
 
@@ -4541,55 +4553,55 @@ msgstr ""
4541
4553
  msgid "Could not find resource '%{res}' in parameter '%{param}'"
4542
4554
  msgstr ""
4543
4555
 
4544
- #: ../lib/puppet/parser/compiler/catalog_validator/site_validator.rb:14
4556
+ #: ../lib/puppet/parser/compiler/catalog_validator/site_validator.rb:16
4545
4557
  msgid "Only application components can appear inside a site - %{res} is not allowed"
4546
4558
  msgstr ""
4547
4559
 
4548
- #: ../lib/puppet/parser/environment_compiler.rb:12
4560
+ #: ../lib/puppet/parser/environment_compiler.rb:13
4549
4561
  msgid "%{detail} in environment %{env}"
4550
4562
  msgstr ""
4551
4563
 
4552
- #: ../lib/puppet/parser/environment_compiler.rb:59
4564
+ #: ../lib/puppet/parser/environment_compiler.rb:62
4553
4565
  msgid "For compiling environment catalog %{env}"
4554
4566
  msgstr ""
4555
4567
 
4556
- #: ../lib/puppet/parser/environment_compiler.rb:62
4568
+ #: ../lib/puppet/parser/environment_compiler.rb:65
4557
4569
  msgid "Env Compile: Created settings scope"
4558
4570
  msgstr ""
4559
4571
 
4560
- #: ../lib/puppet/parser/environment_compiler.rb:64
4572
+ #: ../lib/puppet/parser/environment_compiler.rb:67
4561
4573
  msgid "Env Compile: Evaluated main"
4562
4574
  msgstr ""
4563
4575
 
4564
- #: ../lib/puppet/parser/environment_compiler.rb:66
4576
+ #: ../lib/puppet/parser/environment_compiler.rb:69
4565
4577
  msgid "Env Compile: Evaluated site"
4566
4578
  msgstr ""
4567
4579
 
4568
- #: ../lib/puppet/parser/environment_compiler.rb:68
4580
+ #: ../lib/puppet/parser/environment_compiler.rb:71
4569
4581
  msgid "Env Compile: Evaluated application instances"
4570
4582
  msgstr ""
4571
4583
 
4572
- #: ../lib/puppet/parser/environment_compiler.rb:70
4584
+ #: ../lib/puppet/parser/environment_compiler.rb:73
4573
4585
  msgid "Env Compile: Prune"
4574
4586
  msgstr ""
4575
4587
 
4576
- #: ../lib/puppet/parser/environment_compiler.rb:72
4588
+ #: ../lib/puppet/parser/environment_compiler.rb:75
4577
4589
  msgid "Env Compile: Validate Catalog pre-finish"
4578
4590
  msgstr ""
4579
4591
 
4580
- #: ../lib/puppet/parser/environment_compiler.rb:76
4592
+ #: ../lib/puppet/parser/environment_compiler.rb:79
4581
4593
  msgid "Env Compile: Finished catalog"
4582
4594
  msgstr ""
4583
4595
 
4584
- #: ../lib/puppet/parser/environment_compiler.rb:80
4596
+ #: ../lib/puppet/parser/environment_compiler.rb:83
4585
4597
  msgid "Env Compile: Validate Catalog final"
4586
4598
  msgstr ""
4587
4599
 
4588
- #: ../lib/puppet/parser/environment_compiler.rb:156
4600
+ #: ../lib/puppet/parser/environment_compiler.rb:159
4589
4601
  msgid "Environment Compiler: Could not find a site definition to evaluate"
4590
4602
  msgstr ""
4591
4603
 
4592
- #: ../lib/puppet/parser/environment_compiler.rb:162
4604
+ #: ../lib/puppet/parser/environment_compiler.rb:165
4593
4605
  msgid "Evaluated application %{resource}"
4594
4606
  msgstr ""
4595
4607
 
@@ -4747,23 +4759,23 @@ msgstr ""
4747
4759
  msgid "Attempt to reassign attribute '%{name}' in '%{resource}' caused by multiple consumed mappings to the same attribute"
4748
4760
  msgstr ""
4749
4761
 
4750
- #: ../lib/puppet/parser/resource.rb:362
4762
+ #: ../lib/puppet/parser/resource.rb:363
4751
4763
  msgid "Parameter '%{name}' is already set on %{resource}; cannot redefine"
4752
4764
  msgstr ""
4753
4765
 
4754
- #: ../lib/puppet/parser/resource.rb:365
4766
+ #: ../lib/puppet/parser/resource.rb:366
4755
4767
  msgid "Parameter '%{name}' is already set on %{resource} at %{error_location}; cannot redefine"
4756
4768
  msgstr ""
4757
4769
 
4758
- #: ../lib/puppet/parser/resource.rb:370
4770
+ #: ../lib/puppet/parser/resource.rb:371
4759
4771
  msgid "Parameter '%{name}' is already set on %{resource} by %{source}; cannot redefine"
4760
4772
  msgstr ""
4761
4773
 
4762
- #: ../lib/puppet/parser/resource.rb:373
4774
+ #: ../lib/puppet/parser/resource.rb:374
4763
4775
  msgid "Parameter '%{name}' is already set on %{resource} by %{source} at %{error_location}; cannot redefine"
4764
4776
  msgstr ""
4765
4777
 
4766
- #: ../lib/puppet/parser/resource.rb:412
4778
+ #: ../lib/puppet/parser/resource.rb:413
4767
4779
  msgid "Duplicate parameter '%{param}' for on %{resource}"
4768
4780
  msgstr ""
4769
4781
 
@@ -5785,6 +5797,10 @@ msgstr ""
5785
5797
  msgid "Failed to load: %{type_name}"
5786
5798
  msgstr ""
5787
5799
 
5800
+ #: ../lib/puppet/pops/issues.rb:918
5801
+ msgid "Use of the application-orchestration %{expr} is deprecated. See https://puppet.com/docs/puppet/5.5/deprecated_language.html"
5802
+ msgstr ""
5803
+
5788
5804
  #: ../lib/puppet/pops/label_provider.rb:76
5789
5805
  msgid "<%{string}> does not appear to contain a word"
5790
5806
  msgstr ""
@@ -5978,11 +5994,11 @@ msgstr ""
5978
5994
  msgid "Hiera configuration recreated due to change of scope variables used in interpolation expressions"
5979
5995
  msgstr ""
5980
5996
 
5981
- #: ../lib/puppet/pops/lookup/hiera_config.rb:427
5997
+ #: ../lib/puppet/pops/lookup/hiera_config.rb:428
5982
5998
  msgid "%{config_path}: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5"
5983
5999
  msgstr ""
5984
6000
 
5985
- #: ../lib/puppet/pops/lookup/hiera_config.rb:527
6001
+ #: ../lib/puppet/pops/lookup/hiera_config.rb:528
5986
6002
  msgid "%{config_path}: Use of 'hiera.yaml' version 4 is deprecated. It should be converted to version 5"
5987
6003
  msgstr ""
5988
6004
 
@@ -6118,43 +6134,43 @@ msgstr ""
6118
6134
  msgid "illegal comma separated argument list"
6119
6135
  msgstr ""
6120
6136
 
6121
- #: ../lib/puppet/pops/parser/pn_parser.rb:64
6137
+ #: ../lib/puppet/pops/parser/pn_parser.rb:81
6122
6138
  msgid "unexpected end of input"
6123
6139
  msgstr ""
6124
6140
 
6125
- #: ../lib/puppet/pops/parser/pn_parser.rb:66
6141
+ #: ../lib/puppet/pops/parser/pn_parser.rb:83
6126
6142
  msgid "unexpected %{value}"
6127
6143
  msgstr ""
6128
6144
 
6129
- #: ../lib/puppet/pops/parser/pn_parser.rb:103
6145
+ #: ../lib/puppet/pops/parser/pn_parser.rb:120
6130
6146
  msgid "map key expected"
6131
6147
  msgstr ""
6132
6148
 
6133
- #: ../lib/puppet/pops/parser/pn_parser.rb:114
6149
+ #: ../lib/puppet/pops/parser/pn_parser.rb:131
6134
6150
  msgid "expected identifier to follow '('"
6135
6151
  msgstr ""
6136
6152
 
6137
- #: ../lib/puppet/pops/parser/pn_parser.rb:125
6153
+ #: ../lib/puppet/pops/parser/pn_parser.rb:142
6138
6154
  msgid "missing '%{token}' to end list"
6139
6155
  msgstr ""
6140
6156
 
6141
- #: ../lib/puppet/pops/parser/pn_parser.rb:186
6157
+ #: ../lib/puppet/pops/parser/pn_parser.rb:187
6142
6158
  msgid "expected identifier after ':'"
6143
6159
  msgstr ""
6144
6160
 
6145
- #: ../lib/puppet/pops/parser/pn_parser.rb:225
6161
+ #: ../lib/puppet/pops/parser/pn_parser.rb:226
6146
6162
  msgid "unterminated quote"
6147
6163
  msgstr ""
6148
6164
 
6149
- #: ../lib/puppet/pops/parser/pn_parser.rb:251
6165
+ #: ../lib/puppet/pops/parser/pn_parser.rb:252
6150
6166
  msgid "malformed octal quote"
6151
6167
  msgstr ""
6152
6168
 
6153
- #: ../lib/puppet/pops/parser/pn_parser.rb:266 ../lib/puppet/pops/parser/pn_parser.rb:271 ../lib/puppet/pops/parser/pn_parser.rb:275
6169
+ #: ../lib/puppet/pops/parser/pn_parser.rb:267 ../lib/puppet/pops/parser/pn_parser.rb:272 ../lib/puppet/pops/parser/pn_parser.rb:276
6154
6170
  msgid "digit expected"
6155
6171
  msgstr ""
6156
6172
 
6157
- #: ../lib/puppet/pops/resource/resource_type_impl.rb:167 ../lib/puppet/type.rb:428
6173
+ #: ../lib/puppet/pops/resource/resource_type_impl.rb:167 ../lib/puppet/type.rb:432
6158
6174
  msgid "you must specify title patterns when there are two or more key attributes"
6159
6175
  msgstr ""
6160
6176
 
@@ -6392,7 +6408,7 @@ msgstr ""
6392
6408
  msgid "Options 'include_containers' and 'include_values' cannot both be false"
6393
6409
  msgstr ""
6394
6410
 
6395
- #: ../lib/puppet/pops/types/type_calculator.rb:167
6411
+ #: ../lib/puppet/pops/types/type_calculator.rb:191
6396
6412
  msgid "TypeCalculator.enumerable is deprecated. Use iterable"
6397
6413
  msgstr ""
6398
6414
 
@@ -6707,8 +6723,8 @@ msgstr ""
6707
6723
  msgid "Overriding environment setting '%{var}' with '%{value}'"
6708
6724
  msgstr ""
6709
6725
 
6710
- #: ../lib/puppet/provider/exec.rb:91
6711
- msgid "'%{command}' is not qualified and no path was specified. Please qualify the command or specify a path."
6726
+ #: ../lib/puppet/provider/exec.rb:95
6727
+ msgid "'%{exe}' is not qualified and no path was specified. Please qualify the command or specify a path."
6712
6728
  msgstr ""
6713
6729
 
6714
6730
  #: ../lib/puppet/provider/exec/posix.rb:21 ../lib/puppet/provider/exec/posix.rb:38 ../lib/puppet/provider/exec/windows.rb:40 ../lib/puppet/provider/exec/windows.rb:53
@@ -6760,7 +6776,7 @@ msgstr ""
6760
6776
  msgid "GID must be an integer"
6761
6777
  msgstr ""
6762
6778
 
6763
- #: ../lib/puppet/provider/group/groupadd.rb:60
6779
+ #: ../lib/puppet/provider/group/groupadd.rb:44
6764
6780
  msgid "GID %{resource} already exists, use allowdupe to force group creation"
6765
6781
  msgstr ""
6766
6782
 
@@ -6942,27 +6958,31 @@ msgstr ""
6942
6958
  msgid "Could not perform network device prefetch: %{detail}"
6943
6959
  msgstr ""
6944
6960
 
6945
- #: ../lib/puppet/provider/package/aix.rb:37
6961
+ #: ../lib/puppet/provider/package/aix.rb:46
6946
6962
  msgid "The aix provider can only be used by root"
6947
6963
  msgstr ""
6948
6964
 
6949
- #: ../lib/puppet/provider/package/aix.rb:79 ../lib/puppet/provider/package/nim.rb:53
6965
+ #: ../lib/puppet/provider/package/aix.rb:88 ../lib/puppet/provider/package/nim.rb:53
6950
6966
  msgid "Failed to uninstall package '%{name}'"
6951
6967
  msgstr ""
6952
6968
 
6953
- #: ../lib/puppet/provider/package/aix.rb:85
6969
+ #: ../lib/puppet/provider/package/aix.rb:94
6954
6970
  msgid "A directory is required which will be used to find packages"
6955
6971
  msgstr ""
6956
6972
 
6957
- #: ../lib/puppet/provider/package/aix.rb:97
6973
+ #: ../lib/puppet/provider/package/aix.rb:106
6958
6974
  msgid "aix package provider is unable to downgrade packages"
6959
6975
  msgstr ""
6960
6976
 
6961
- #: ../lib/puppet/provider/package/aix.rb:116
6977
+ #: ../lib/puppet/provider/package/aix.rb:111
6978
+ msgid "Package '%{name}' is in a %{status} state and requires manual intervention"
6979
+ msgstr ""
6980
+
6981
+ #: ../lib/puppet/provider/package/aix.rb:131
6962
6982
  msgid "Could not list installed Packages: %{detail}"
6963
6983
  msgstr ""
6964
6984
 
6965
- #: ../lib/puppet/provider/package/aix.rb:139 ../lib/puppet/provider/package/yum.rb:252
6985
+ #: ../lib/puppet/provider/package/aix.rb:154 ../lib/puppet/provider/package/yum.rb:255
6966
6986
  msgid "Tried to get latest on a missing package"
6967
6987
  msgstr ""
6968
6988
 
@@ -6982,19 +7002,19 @@ msgstr ""
6982
7002
  msgid "/etc/apt/sources.list contains a cdrom source; not installing. Use 'allowcdrom' to override this failure."
6983
7003
  msgstr ""
6984
7004
 
6985
- #: ../lib/puppet/provider/package/apt.rb:83 ../lib/puppet/provider/package/fink.rb:50
7005
+ #: ../lib/puppet/provider/package/apt.rb:88 ../lib/puppet/provider/package/fink.rb:55
6986
7006
  msgid "Could not find latest version"
6987
7007
  msgstr ""
6988
7008
 
6989
- #: ../lib/puppet/provider/package/apt.rb:93 ../lib/puppet/provider/package/fink.rb:60
7009
+ #: ../lib/puppet/provider/package/apt.rb:98 ../lib/puppet/provider/package/fink.rb:65
6990
7010
  msgid "Preseeding %{response} to debconf-set-selections"
6991
7011
  msgstr ""
6992
7012
 
6993
- #: ../lib/puppet/provider/package/apt.rb:97 ../lib/puppet/provider/package/fink.rb:64
7013
+ #: ../lib/puppet/provider/package/apt.rb:102 ../lib/puppet/provider/package/fink.rb:69
6994
7014
  msgid "No responsefile specified or non existent, not preseeding anything"
6995
7015
  msgstr ""
6996
7016
 
6997
- #: ../lib/puppet/provider/package/aptitude.rb:21 ../lib/puppet/provider/package/ports.rb:20 ../lib/puppet/provider/package/portupgrade.rb:93 ../lib/puppet/provider/package/portupgrade.rb:151 ../lib/puppet/provider/package/rug.rb:28 ../lib/puppet/provider/package/up2date.rb:17 ../lib/puppet/provider/package/yum.rb:232 ../lib/puppet/provider/package/zypper.rb:109
7017
+ #: ../lib/puppet/provider/package/aptitude.rb:21 ../lib/puppet/provider/package/ports.rb:20 ../lib/puppet/provider/package/portupgrade.rb:93 ../lib/puppet/provider/package/portupgrade.rb:151 ../lib/puppet/provider/package/rug.rb:28 ../lib/puppet/provider/package/up2date.rb:17 ../lib/puppet/provider/package/yum.rb:235 ../lib/puppet/provider/package/zypper.rb:110
6998
7018
  msgid "Could not find package %{name}"
6999
7019
  msgstr ""
7000
7020
 
@@ -7022,11 +7042,15 @@ msgstr ""
7022
7042
  msgid "Cannot match %{line}"
7023
7043
  msgstr ""
7024
7044
 
7045
+ #: ../lib/puppet/provider/package/dnfmodule.rb:30
7046
+ msgid "Modules are not supported on DNF versions lower than 3.0.1"
7047
+ msgstr ""
7048
+
7025
7049
  #: ../lib/puppet/provider/package/dpkg.rb:82
7026
7050
  msgid "You cannot install dpkg packages without a source"
7027
7051
  msgstr ""
7028
7052
 
7029
- #: ../lib/puppet/provider/package/dpkg.rb:107
7053
+ #: ../lib/puppet/provider/package/dpkg.rb:110
7030
7054
  msgid "source doesn't contain named package, but %{name}"
7031
7055
  msgstr ""
7032
7056
 
@@ -7034,27 +7058,27 @@ msgstr ""
7034
7058
  msgid "source is defined but does not have trailing slash, ignoring %{source}"
7035
7059
  msgstr ""
7036
7060
 
7037
- #: ../lib/puppet/provider/package/gem.rb:94
7061
+ #: ../lib/puppet/provider/package/gem.rb:96
7038
7062
  msgid "Could not list gems: %{detail}"
7039
7063
  msgstr ""
7040
7064
 
7041
- #: ../lib/puppet/provider/package/gem.rb:120
7065
+ #: ../lib/puppet/provider/package/gem.rb:122
7042
7066
  msgid "Could not match %{desc}"
7043
7067
  msgstr ""
7044
7068
 
7045
- #: ../lib/puppet/provider/package/gem.rb:168
7069
+ #: ../lib/puppet/provider/package/gem.rb:170
7046
7070
  msgid "Invalid source '%{uri}': %{detail}"
7047
7071
  msgstr ""
7048
7072
 
7049
- #: ../lib/puppet/provider/package/gem.rb:179
7073
+ #: ../lib/puppet/provider/package/gem.rb:181
7050
7074
  msgid "puppet:// URLs are not supported as gem sources"
7051
7075
  msgstr ""
7052
7076
 
7053
- #: ../lib/puppet/provider/package/gem.rb:195
7077
+ #: ../lib/puppet/provider/package/gem.rb:197
7054
7078
  msgid "Could not install: %{output}"
7055
7079
  msgstr ""
7056
7080
 
7057
- #: ../lib/puppet/provider/package/gem.rb:221
7081
+ #: ../lib/puppet/provider/package/gem.rb:223
7058
7082
  msgid "Could not uninstall: %{output}"
7059
7083
  msgstr ""
7060
7084
 
@@ -7112,19 +7136,19 @@ msgid ""
7112
7136
  "'%{line}'"
7113
7137
  msgstr ""
7114
7138
 
7115
- #: ../lib/puppet/provider/package/openbsd.rb:49 ../lib/puppet/provider/package/opkg.rb:25
7139
+ #: ../lib/puppet/provider/package/openbsd.rb:50 ../lib/puppet/provider/package/opkg.rb:25
7116
7140
  msgid "Failed to match line %{line}"
7117
7141
  msgstr ""
7118
7142
 
7119
- #: ../lib/puppet/provider/package/openbsd.rb:136
7143
+ #: ../lib/puppet/provider/package/openbsd.rb:137
7120
7144
  msgid "No valid installpath found in /etc/pkg.conf and no source was set"
7121
7145
  msgstr ""
7122
7146
 
7123
- #: ../lib/puppet/provider/package/openbsd.rb:140
7147
+ #: ../lib/puppet/provider/package/openbsd.rb:141
7124
7148
  msgid "You must specify a package source or configure an installpath in /etc/pkg.conf"
7125
7149
  msgstr ""
7126
7150
 
7127
- #: ../lib/puppet/provider/package/openbsd.rb:212
7151
+ #: ../lib/puppet/provider/package/openbsd.rb:213
7128
7152
  msgid "%{version} is not available for this package"
7129
7153
  msgstr ""
7130
7154
 
@@ -7164,6 +7188,10 @@ msgstr ""
7164
7188
  msgid "Refusing to install package group %{resource_name}, because allow_virtual is false."
7165
7189
  msgstr ""
7166
7190
 
7191
+ #: ../lib/puppet/provider/package/pip.rb:55
7192
+ msgid "Cannot resolve pip version"
7193
+ msgstr ""
7194
+
7167
7195
  #: ../lib/puppet/provider/package/pkg.rb:46 ../lib/puppet/provider/package/pkg.rb:56
7168
7196
  msgid "Unknown format %{resource_name}: %{full_flags}[%{bad_flag}]"
7169
7197
  msgstr ""
@@ -7176,27 +7204,27 @@ msgstr ""
7176
7204
  msgid "Unknown line format %{resource_name}: %{parse_line}"
7177
7205
  msgstr ""
7178
7206
 
7179
- #: ../lib/puppet/provider/package/pkg.rb:116
7207
+ #: ../lib/puppet/provider/package/pkg.rb:120
7180
7208
  msgid "Unable to unfreeze %{package}"
7181
7209
  msgstr ""
7182
7210
 
7183
- #: ../lib/puppet/provider/package/pkg.rb:151
7211
+ #: ../lib/puppet/provider/package/pkg.rb:155
7184
7212
  msgid "Implicit version %{should} has %{n} possible matches"
7185
7213
  msgstr ""
7186
7214
 
7187
- #: ../lib/puppet/provider/package/pkg.rb:161
7215
+ #: ../lib/puppet/provider/package/pkg.rb:165
7188
7216
  msgid "Selecting version '%{version}' for implicit '%{should}'"
7189
7217
  msgstr ""
7190
7218
 
7191
- #: ../lib/puppet/provider/package/pkg.rb:166
7219
+ #: ../lib/puppet/provider/package/pkg.rb:170
7192
7220
  msgid "No version of %{name} matching %{should} is installable, even though the package is currently installed"
7193
7221
  msgstr ""
7194
7222
 
7195
- #: ../lib/puppet/provider/package/pkg.rb:185
7223
+ #: ../lib/puppet/provider/package/pkg.rb:189
7196
7224
  msgid "pkg warning: %{warnings}"
7197
7225
  msgstr ""
7198
7226
 
7199
- #: ../lib/puppet/provider/package/pkg.rb:221 ../lib/puppet/provider/package/pkg.rb:241
7227
+ #: ../lib/puppet/provider/package/pkg.rb:228 ../lib/puppet/provider/package/pkg.rb:254
7200
7228
  msgid "Unable to update %{package}"
7201
7229
  msgstr ""
7202
7230
 
@@ -7305,31 +7333,31 @@ msgstr ""
7305
7333
  msgid "Don't know how to install '%{source}'"
7306
7334
  msgstr ""
7307
7335
 
7308
- #: ../lib/puppet/provider/package/yum.rb:29
7336
+ #: ../lib/puppet/provider/package/yum.rb:31
7309
7337
  msgid "The yum provider can only be used as root"
7310
7338
  msgstr ""
7311
7339
 
7312
- #: ../lib/puppet/provider/package/yum.rb:83
7340
+ #: ../lib/puppet/provider/package/yum.rb:85
7313
7341
  msgid "Could not check for updates, '%{cmd} check-update' exited with %{status}"
7314
7342
  msgstr ""
7315
7343
 
7316
- #: ../lib/puppet/provider/package/yum.rb:117
7344
+ #: ../lib/puppet/provider/package/yum.rb:120
7317
7345
  msgid "Failed to parse package name and architecture from '%{pkgname}'"
7318
7346
  msgstr ""
7319
7347
 
7320
- #: ../lib/puppet/provider/package/yum.rb:226
7348
+ #: ../lib/puppet/provider/package/yum.rb:229
7321
7349
  msgid "Could not find package %{wanted}"
7322
7350
  msgstr ""
7323
7351
 
7324
- #: ../lib/puppet/provider/package/yum.rb:237
7352
+ #: ../lib/puppet/provider/package/yum.rb:240
7325
7353
  msgid "Failed to update to version %{should}, got version %{version} instead"
7326
7354
  msgstr ""
7327
7355
 
7328
- #: ../lib/puppet/provider/package_targetable.rb:55
7356
+ #: ../lib/puppet/provider/package_targetable.rb:56
7329
7357
  msgid "Provider %{name} package command is not functional on this host"
7330
7358
  msgstr ""
7331
7359
 
7332
- #: ../lib/puppet/provider/package_targetable.rb:58
7360
+ #: ../lib/puppet/provider/package_targetable.rb:59
7333
7361
  msgid "Provider %{name} package command '%{cmd}' does not exist on this host"
7334
7362
  msgstr ""
7335
7363
 
@@ -7357,7 +7385,7 @@ msgstr ""
7357
7385
  msgid "Somehow got told to prefetch with no resource set"
7358
7386
  msgstr ""
7359
7387
 
7360
- #: ../lib/puppet/provider/selmodule/semodule.rb:136
7388
+ #: ../lib/puppet/provider/selmodule/semodule.rb:150
7361
7389
  msgid "Could not list policy modules: \"%{selmodule_command}\" failed with \"%{selmod_output}\""
7362
7390
  msgstr ""
7363
7391
 
@@ -7383,7 +7411,7 @@ msgid "Overrides file could not be read, trying again."
7383
7411
  msgstr ""
7384
7412
 
7385
7413
  #. TRANSLATORS 'runsvdir' is a linux service name and should not be translated
7386
- #: ../lib/puppet/provider/service/runit.rb:93
7414
+ #: ../lib/puppet/provider/service/runit.rb:87
7387
7415
  msgid "Waiting 5 seconds for runsvdir to discover service %{service}"
7388
7416
  msgstr ""
7389
7417
 
@@ -7450,15 +7478,15 @@ msgid "ruby-shadow doesn't support %{method}"
7450
7478
  msgstr ""
7451
7479
 
7452
7480
  #: ../lib/puppet/provider/user/windows_adsi.rb:128
7453
- msgid "The user account '%s' is disabled; puppet will not reset the password"
7481
+ msgid "The user account '%s' is disabled; The password will still be changed"
7454
7482
  msgstr ""
7455
7483
 
7456
7484
  #: ../lib/puppet/provider/user/windows_adsi.rb:130
7457
- msgid "The user account '%s' is locked out; puppet will not reset the password"
7485
+ msgid "The user account '%s' is locked out; The password will still be changed"
7458
7486
  msgstr ""
7459
7487
 
7460
7488
  #: ../lib/puppet/provider/user/windows_adsi.rb:132
7461
- msgid "The user account '%s' is expired; puppet will not reset the password"
7489
+ msgid "The user account '%s' is expired; The password will still be changed"
7462
7490
  msgstr ""
7463
7491
 
7464
7492
  #: ../lib/puppet/provider/yumrepo/inifile.rb:185
@@ -7477,7 +7505,7 @@ msgstr ""
7477
7505
  msgid "Could not build docs for indirector %{name}, terminus %{terminus}: could not locate terminus."
7478
7506
  msgstr ""
7479
7507
 
7480
- #: ../lib/puppet/reference/metaparameter.rb:30
7508
+ #: ../lib/puppet/reference/metaparameter.rb:28
7481
7509
  msgid "incorrect metaparams: %{detail}"
7482
7510
  msgstr ""
7483
7511
 
@@ -7511,11 +7539,11 @@ msgid ""
7511
7539
  " - Missing features %{values}\n"
7512
7540
  msgstr ""
7513
7541
 
7514
- #: ../lib/puppet/reference/type.rb:80
7542
+ #: ../lib/puppet/reference/type.rb:76
7515
7543
  msgid "Could not retrieve property %{sname} on type %{type_name}"
7516
7544
  msgstr ""
7517
7545
 
7518
- #: ../lib/puppet/reference/type.rb:83
7546
+ #: ../lib/puppet/reference/type.rb:79
7519
7547
  msgid "No docs for %{type}[%{sname}]"
7520
7548
  msgstr ""
7521
7549
 
@@ -7679,67 +7707,67 @@ msgstr ""
7679
7707
  msgid "Could not evaluate: %{detail}"
7680
7708
  msgstr ""
7681
7709
 
7682
- #: ../lib/puppet/resource/type.rb:78
7710
+ #: ../lib/puppet/resource/type.rb:81
7683
7711
  msgid "Invalid export in %{reference}: %{ex} is not a resource"
7684
7712
  msgstr ""
7685
7713
 
7686
- #: ../lib/puppet/resource/type.rb:79
7714
+ #: ../lib/puppet/resource/type.rb:82
7687
7715
  msgid "Invalid export in %{reference}: %{ex} is not a capability resource"
7688
7716
  msgstr ""
7689
7717
 
7690
- #: ../lib/puppet/resource/type.rb:83
7718
+ #: ../lib/puppet/resource/type.rb:86
7691
7719
  msgid "Resource type %{res_type} does not produce %{ex_type}"
7692
7720
  msgstr ""
7693
7721
 
7694
- #: ../lib/puppet/resource/type.rb:143
7722
+ #: ../lib/puppet/resource/type.rb:146
7695
7723
  msgid "Invalid resource supertype '%{type}'"
7696
7724
  msgstr ""
7697
7725
 
7698
- #: ../lib/puppet/resource/type.rb:190
7726
+ #: ../lib/puppet/resource/type.rb:197
7699
7727
  msgid "%{name} is not a class; cannot add code to it"
7700
7728
  msgstr ""
7701
7729
 
7702
- #: ../lib/puppet/resource/type.rb:191
7730
+ #: ../lib/puppet/resource/type.rb:198
7703
7731
  msgid "%{name} is not a class; cannot add code from it"
7704
7732
  msgstr ""
7705
7733
 
7706
- #: ../lib/puppet/resource/type.rb:195
7734
+ #: ../lib/puppet/resource/type.rb:202
7707
7735
  msgid "Cannot have code outside of a class/node/define because 'freeze_main' is enabled"
7708
7736
  msgstr ""
7709
7737
 
7710
- #: ../lib/puppet/resource/type.rb:199
7738
+ #: ../lib/puppet/resource/type.rb:206
7711
7739
  msgid "Cannot merge classes with different parent classes (%{name} => %{parent} vs. %{other_name} => %{other_parent})"
7712
7740
  msgstr ""
7713
7741
 
7714
- #: ../lib/puppet/resource/type.rb:230
7742
+ #: ../lib/puppet/resource/type.rb:237
7715
7743
  msgid "Cannot create resources for defined resource types"
7716
7744
  msgstr ""
7717
7745
 
7718
- #: ../lib/puppet/resource/type.rb:284
7746
+ #: ../lib/puppet/resource/type.rb:292
7719
7747
  msgid "The method Puppet::Resource::Type.assign_parameter_values is deprecated and will be removed in the next major release of Puppet."
7720
7748
  msgstr ""
7721
7749
 
7722
- #: ../lib/puppet/resource/type.rb:300
7750
+ #: ../lib/puppet/resource/type.rb:308
7723
7751
  msgid "Could not find parent resource type '%{parent}' of type %{parent_type} in %{env}"
7724
7752
  msgstr ""
7725
7753
 
7726
- #: ../lib/puppet/resource/type.rb:427
7754
+ #: ../lib/puppet/resource/type.rb:435
7727
7755
  msgid "Parameter '%{name}' is given a type, but is not a valid parameter."
7728
7756
  msgstr ""
7729
7757
 
7730
- #: ../lib/puppet/resource/type.rb:430
7758
+ #: ../lib/puppet/resource/type.rb:438
7731
7759
  msgid "Parameter '%{name}' is given a type that is not a Puppet Type, got %{class_name}"
7732
7760
  msgstr ""
7733
7761
 
7734
- #: ../lib/puppet/resource/type.rb:470
7762
+ #: ../lib/puppet/resource/type.rb:478
7735
7763
  msgid "Could not find scope for %{class_name}"
7736
7764
  msgstr ""
7737
7765
 
7738
- #: ../lib/puppet/resource/type.rb:491
7766
+ #: ../lib/puppet/resource/type.rb:499
7739
7767
  msgid "%{param} is a metaparam; this value will inherit to all contained resources in the %{name} definition"
7740
7768
  msgstr ""
7741
7769
 
7742
- #: ../lib/puppet/resource/type.rb:493
7770
+ #: ../lib/puppet/resource/type.rb:501
7743
7771
  msgid "%{param} is a metaparameter; please choose another parameter name in the %{name} definition"
7744
7772
  msgstr ""
7745
7773
 
@@ -8091,11 +8119,11 @@ msgstr ""
8091
8119
  msgid "Puppet::SSL::CertificateAuthority#certificate_is_alive? is deprecated. Please use Puppet::SSL::CertificateAuthority#verify or the certificate status API to query certificate information. See https://puppet.com/docs/puppet/latest/http_api/http_certificate_status.html"
8092
8120
  msgstr ""
8093
8121
 
8094
- #: ../lib/puppet/ssl/certificate_authority.rb:497
8122
+ #: ../lib/puppet/ssl/certificate_authority.rb:498
8095
8123
  msgid "Could not find a certificate for %{name}"
8096
8124
  msgstr ""
8097
8125
 
8098
- #: ../lib/puppet/ssl/certificate_authority.rb:506
8126
+ #: ../lib/puppet/ssl/certificate_authority.rb:507
8099
8127
  msgid "Could not find a certificate or csr for %{name}"
8100
8128
  msgstr ""
8101
8129
 
@@ -8523,77 +8551,77 @@ msgstr ""
8523
8551
  msgid "audit change: newly-recorded value %s"
8524
8552
  msgstr ""
8525
8553
 
8526
- #: ../lib/puppet/type.rb:503
8554
+ #: ../lib/puppet/type.rb:507
8527
8555
  msgid "Options must be a hash, not %{type}"
8528
8556
  msgstr ""
8529
8557
 
8530
- #: ../lib/puppet/type.rb:506
8558
+ #: ../lib/puppet/type.rb:510
8531
8559
  msgid "Class %{class_name} already has a property named %{property}"
8532
8560
  msgstr ""
8533
8561
 
8534
- #: ../lib/puppet/type.rb:592
8562
+ #: ../lib/puppet/type.rb:596
8535
8563
  msgid "Class %{class_name} has not defined parameters"
8536
8564
  msgstr ""
8537
8565
 
8538
- #: ../lib/puppet/type.rb:676
8566
+ #: ../lib/puppet/type.rb:680
8539
8567
  msgid "Parameter %{name} failed on %{ref}: %{detail}"
8540
8568
  msgstr ""
8541
8569
 
8542
- #: ../lib/puppet/type.rb:699
8570
+ #: ../lib/puppet/type.rb:703
8543
8571
  msgid "Undefined attribute '%{attribute}' in %{name}"
8544
8572
  msgstr ""
8545
8573
 
8546
8574
  #. TRANSLATORS 'is' is a variable name and should not be translated
8547
8575
  #. TRANSLATORS 'is' is a variable name and should not be translated
8548
- #: ../lib/puppet/type.rb:1022 ../lib/puppet/type.rb:1033
8576
+ #: ../lib/puppet/type.rb:1026 ../lib/puppet/type.rb:1037
8549
8577
  msgid "The 'is' value is not in the 'is' array for '%{name}'"
8550
8578
  msgstr ""
8551
8579
 
8552
- #: ../lib/puppet/type.rb:1159
8580
+ #: ../lib/puppet/type.rb:1163
8553
8581
  msgid "%{name} has no providers and has not overridden 'instances'"
8554
8582
  msgstr ""
8555
8583
 
8556
- #: ../lib/puppet/type.rb:1418
8584
+ #: ../lib/puppet/type.rb:1422
8557
8585
  msgid "Cannot add aliases without a catalog"
8558
8586
  msgstr ""
8559
8587
 
8560
- #: ../lib/puppet/type.rb:1497
8588
+ #: ../lib/puppet/type.rb:1501
8561
8589
  msgid "Could not find %{description} %{ref} for %{resource}"
8562
8590
  msgstr ""
8563
8591
 
8564
- #: ../lib/puppet/type.rb:1770
8592
+ #: ../lib/puppet/type.rb:1776
8565
8593
  msgid "Found multiple default providers for %{name}: %{provider_list}; using %{selected_provider}"
8566
8594
  msgstr ""
8567
8595
 
8568
- #: ../lib/puppet/type.rb:1855
8596
+ #: ../lib/puppet/type.rb:1861
8569
8597
  msgid "Could not find parent provider %{parent} of %{name}"
8570
8598
  msgstr ""
8571
8599
 
8572
- #: ../lib/puppet/type.rb:1931
8600
+ #: ../lib/puppet/type.rb:1935
8573
8601
  msgid "Invalid %{resource} provider '%{provider_class}'"
8574
8602
  msgstr ""
8575
8603
 
8576
- #: ../lib/puppet/type.rb:2014
8604
+ #: ../lib/puppet/type.rb:2018
8577
8605
  msgid "Could not find %{name} provider of %{provider}"
8578
8606
  msgstr ""
8579
8607
 
8580
- #: ../lib/puppet/type.rb:2131
8608
+ #: ../lib/puppet/type.rb:2135
8581
8609
  msgid "You cannot add relationships without a catalog"
8582
8610
  msgstr ""
8583
8611
 
8584
- #: ../lib/puppet/type.rb:2438
8612
+ #: ../lib/puppet/type.rb:2442
8585
8613
  msgid "Unable to mark '%{name}' as sensitive: %{name} is a parameter and not a property, and cannot be automatically redacted."
8586
8614
  msgstr ""
8587
8615
 
8588
- #: ../lib/puppet/type.rb:2441
8616
+ #: ../lib/puppet/type.rb:2445
8589
8617
  msgid "Unable to mark '%{name}' as sensitive: the property itself was not assigned a value."
8590
8618
  msgstr ""
8591
8619
 
8592
- #: ../lib/puppet/type.rb:2443
8620
+ #: ../lib/puppet/type.rb:2447
8593
8621
  msgid "Unable to mark '%{name}' as sensitive: the property itself is not defined on %{type}."
8594
8622
  msgstr ""
8595
8623
 
8596
- #: ../lib/puppet/type.rb:2501
8624
+ #: ../lib/puppet/type.rb:2505
8597
8625
  msgid "Could not set %{attribute} on %{class_name}: %{detail}"
8598
8626
  msgstr ""
8599
8627
 
@@ -8625,59 +8653,59 @@ msgstr ""
8625
8653
  msgid "Command exceeded timeout"
8626
8654
  msgstr ""
8627
8655
 
8628
- #: ../lib/puppet/type/exec.rb:162
8656
+ #: ../lib/puppet/type/exec.rb:166
8629
8657
  msgid "[command redacted] returned %{status} instead of one of [%{expected}]"
8630
8658
  msgstr ""
8631
8659
 
8632
- #: ../lib/puppet/type/exec.rb:164
8660
+ #: ../lib/puppet/type/exec.rb:168
8633
8661
  msgid "'%{cmd}' returned %{status} instead of one of [%{expected}]"
8634
8662
  msgstr ""
8635
8663
 
8636
- #: ../lib/puppet/type/exec.rb:182
8664
+ #: ../lib/puppet/type/exec.rb:186
8637
8665
  msgid "Command must be a String, got value of class %{klass}"
8638
8666
  msgstr ""
8639
8667
 
8640
- #: ../lib/puppet/type/exec.rb:214
8668
+ #: ../lib/puppet/type/exec.rb:218
8641
8669
  msgid "Unable to execute commands as other users on Windows"
8642
8670
  msgstr ""
8643
8671
 
8644
- #: ../lib/puppet/type/exec.rb:216
8672
+ #: ../lib/puppet/type/exec.rb:220
8645
8673
  msgid "Only root can execute commands as other users"
8646
8674
  msgstr ""
8647
8675
 
8648
- #: ../lib/puppet/type/exec.rb:272
8676
+ #: ../lib/puppet/type/exec.rb:276
8649
8677
  msgid "Invalid environment setting '%{value}'"
8650
8678
  msgstr ""
8651
8679
 
8652
- #: ../lib/puppet/type/exec.rb:285
8680
+ #: ../lib/puppet/type/exec.rb:289
8653
8681
  msgid "The umask specification is invalid: %{value}"
8654
8682
  msgstr ""
8655
8683
 
8656
- #: ../lib/puppet/type/exec.rb:301
8684
+ #: ../lib/puppet/type/exec.rb:305
8657
8685
  msgid "The timeout must be a number."
8658
8686
  msgstr ""
8659
8687
 
8660
- #: ../lib/puppet/type/exec.rb:318
8688
+ #: ../lib/puppet/type/exec.rb:322
8661
8689
  msgid "Tries must be an integer"
8662
8690
  msgstr ""
8663
8691
 
8664
- #: ../lib/puppet/type/exec.rb:322
8692
+ #: ../lib/puppet/type/exec.rb:326
8665
8693
  msgid "Tries must be an integer >= 1"
8666
8694
  msgstr ""
8667
8695
 
8668
- #: ../lib/puppet/type/exec.rb:335
8696
+ #: ../lib/puppet/type/exec.rb:339
8669
8697
  msgid "try_sleep must be a number"
8670
8698
  msgstr ""
8671
8699
 
8672
- #: ../lib/puppet/type/exec.rb:339
8700
+ #: ../lib/puppet/type/exec.rb:343
8673
8701
  msgid "try_sleep cannot be a negative number"
8674
8702
  msgstr ""
8675
8703
 
8676
- #: ../lib/puppet/type/exec.rb:454 ../lib/puppet/type/exec.rb:510
8704
+ #: ../lib/puppet/type/exec.rb:458 ../lib/puppet/type/exec.rb:514
8677
8705
  msgid "Check %{value} exceeded timeout"
8678
8706
  msgstr ""
8679
8707
 
8680
- #: ../lib/puppet/type/exec.rb:597
8708
+ #: ../lib/puppet/type/exec.rb:601
8681
8709
  msgid "'%{cmd}' won't be executed because of failed check '%{check}'"
8682
8710
  msgstr ""
8683
8711
 
@@ -8685,82 +8713,82 @@ msgstr ""
8685
8713
  msgid "File paths must be fully qualified, not '%{path}'"
8686
8714
  msgstr ""
8687
8715
 
8688
- #: ../lib/puppet/type/file.rb:124
8716
+ #: ../lib/puppet/type/file.rb:137
8689
8717
  msgid "Invalid backup type %{value}"
8690
8718
  msgstr ""
8691
8719
 
8692
- #: ../lib/puppet/type/file.rb:168 ../lib/puppet/type/tidy.rb:48
8720
+ #: ../lib/puppet/type/file.rb:181 ../lib/puppet/type/tidy.rb:48
8693
8721
  msgid "Invalid recurse value %{value}"
8694
8722
  msgstr ""
8695
8723
 
8696
- #: ../lib/puppet/type/file.rb:200
8724
+ #: ../lib/puppet/type/file.rb:213
8697
8725
  msgid "Invalid recurselimit value %{value}"
8698
8726
  msgstr ""
8699
8727
 
8700
- #: ../lib/puppet/type/file.rb:370
8728
+ #: ../lib/puppet/type/file.rb:383
8701
8729
  msgid "You cannot specify more than one of %{creators}"
8702
8730
  msgstr ""
8703
8731
 
8704
- #: ../lib/puppet/type/file.rb:372
8732
+ #: ../lib/puppet/type/file.rb:385
8705
8733
  msgid "You cannot specify a remote recursion without a source"
8706
8734
  msgstr ""
8707
8735
 
8708
- #: ../lib/puppet/type/file.rb:374
8736
+ #: ../lib/puppet/type/file.rb:387
8709
8737
  msgid "You cannot specify source when using checksum 'none'"
8710
8738
  msgstr ""
8711
8739
 
8712
- #: ../lib/puppet/type/file.rb:377
8740
+ #: ../lib/puppet/type/file.rb:390
8713
8741
  msgid "You cannot specify content when using checksum '%{checksum_type}'"
8714
8742
  msgstr ""
8715
8743
 
8716
- #: ../lib/puppet/type/file.rb:380
8744
+ #: ../lib/puppet/type/file.rb:393
8717
8745
  msgid "Possible error: recurselimit is set but not recurse, no recursion will happen"
8718
8746
  msgstr ""
8719
8747
 
8720
- #: ../lib/puppet/type/file.rb:388
8748
+ #: ../lib/puppet/type/file.rb:401
8721
8749
  msgid "Checksum value '%{value}' is not a valid checksum type %{checksum}"
8722
8750
  msgstr ""
8723
8751
 
8724
- #: ../lib/puppet/type/file.rb:391
8752
+ #: ../lib/puppet/type/file.rb:404
8725
8753
  msgid "Checksum value is ignored unless content or source are specified"
8726
8754
  msgstr ""
8727
8755
 
8728
- #: ../lib/puppet/type/file.rb:429
8756
+ #: ../lib/puppet/type/file.rb:442
8729
8757
  msgid "Can not find filebucket for backups without a catalog"
8730
8758
  msgstr ""
8731
8759
 
8732
- #: ../lib/puppet/type/file.rb:433
8760
+ #: ../lib/puppet/type/file.rb:446
8733
8761
  msgid "Could not find filebucket %{backup} specified in backup"
8734
8762
  msgstr ""
8735
8763
 
8736
- #: ../lib/puppet/type/file.rb:729
8764
+ #: ../lib/puppet/type/file.rb:741
8737
8765
  msgid "Could not back up file of type %{current_type}"
8738
8766
  msgstr ""
8739
8767
 
8740
- #: ../lib/puppet/type/file.rb:744
8768
+ #: ../lib/puppet/type/file.rb:756
8741
8769
  msgid "Could not remove files of type %{current_type}"
8742
8770
  msgstr ""
8743
8771
 
8744
8772
  #. TRANSLATORS "source_permissions => ignore" should not be translated
8745
- #: ../lib/puppet/type/file.rb:755
8773
+ #: ../lib/puppet/type/file.rb:767
8746
8774
  msgid "Copying owner/mode/group from the source file on Windows is not supported; use source_permissions => ignore."
8747
8775
  msgstr ""
8748
8776
 
8749
8777
  #. TRANSLATORS "stat" is a program name and should not be translated
8750
- #: ../lib/puppet/type/file.rb:836 ../lib/puppet/type/k5login.rb:97 ../lib/puppet/type/tidy.rb:345
8778
+ #: ../lib/puppet/type/file.rb:848 ../lib/puppet/type/k5login.rb:97 ../lib/puppet/type/tidy.rb:345
8751
8779
  msgid "Could not stat; permission denied"
8752
8780
  msgstr ""
8753
8781
 
8754
- #: ../lib/puppet/type/file.rb:961
8782
+ #: ../lib/puppet/type/file.rb:973
8755
8783
  msgid "Not removing directory; use 'force' to override"
8756
8784
  msgstr ""
8757
8785
 
8758
8786
  #. TRANSLATORS refers to a file which could not be backed up
8759
- #: ../lib/puppet/type/file.rb:986
8787
+ #: ../lib/puppet/type/file.rb:998
8760
8788
  msgid "Could not back up; will not remove"
8761
8789
  msgstr ""
8762
8790
 
8763
- #: ../lib/puppet/type/file.rb:1000
8791
+ #: ../lib/puppet/type/file.rb:1012
8764
8792
  msgid "File written to disk did not match checksum; discarding changes (%{content_checksum} vs %{newsum})"
8765
8793
  msgstr ""
8766
8794
 
@@ -8914,18 +8942,38 @@ msgstr ""
8914
8942
  msgid "name must not contain whitespace: %{value}"
8915
8943
  msgstr ""
8916
8944
 
8917
- #: ../lib/puppet/type/package.rb:118 ../lib/puppet/type/package.rb:132
8945
+ #: ../lib/puppet/type/package.rb:125 ../lib/puppet/type/package.rb:139
8918
8946
  msgid "Could not update: %{detail}"
8919
8947
  msgstr ""
8920
8948
 
8921
- #: ../lib/puppet/type/package.rb:167
8949
+ #: ../lib/puppet/type/package.rb:174
8922
8950
  msgid "Could not get latest version: %{detail}"
8923
8951
  msgstr ""
8924
8952
 
8925
- #: ../lib/puppet/type/package.rb:267
8953
+ #: ../lib/puppet/type/package.rb:274
8926
8954
  msgid "Name must be a String not %{klass}"
8927
8955
  msgstr ""
8928
8956
 
8957
+ #: ../lib/puppet/type/package.rb:416
8958
+ msgid "Cannot have both `ensure => disabled` and `flavor`"
8959
+ msgstr ""
8960
+
8961
+ #: ../lib/puppet/type/package.rb:515
8962
+ msgid "Cannot have both `enable_only => true` and `flavor`"
8963
+ msgstr ""
8964
+
8965
+ #: ../lib/puppet/type/package.rb:518
8966
+ msgid "Cannot have both `ensure => disabled` and `enable_only => true`"
8967
+ msgstr ""
8968
+
8969
+ #: ../lib/puppet/type/package.rb:670
8970
+ msgid "Invalid hold value %{value}. %{doc}"
8971
+ msgstr ""
8972
+
8973
+ #: ../lib/puppet/type/package.rb:700
8974
+ msgid "You cannot use \"mark\" property while \"ensure\" is one of [\"absent\", \"purged\", \"held\"]"
8975
+ msgstr ""
8976
+
8929
8977
  #: ../lib/puppet/type/resources.rb:15
8930
8978
  msgid "Could not find resource type '%{name}'"
8931
8979
  msgstr ""
@@ -8990,7 +9038,11 @@ msgstr ""
8990
9038
  msgid "Must be specified using an absolute path."
8991
9039
  msgstr ""
8992
9040
 
8993
- #: ../lib/puppet/type/service.rb:94
9041
+ #: ../lib/puppet/type/selboolean.rb:26
9042
+ msgid "Invalid value %{value}. %{doc}"
9043
+ msgstr ""
9044
+
9045
+ #: ../lib/puppet/type/service.rb:88
8994
9046
  msgid "Setting enable to %{value} is only supported on Microsoft Windows."
8995
9047
  msgstr ""
8996
9048
 
@@ -9115,27 +9167,19 @@ msgstr ""
9115
9167
  msgid "Profile names must be provided as an array, not a comma-separated list"
9116
9168
  msgstr ""
9117
9169
 
9118
- #: ../lib/puppet/type/user.rb:703
9170
+ #: ../lib/puppet/type/user.rb:705
9119
9171
  msgid "Each entry for purge_ssh_keys must be a string, not a %{klass}"
9120
9172
  msgstr ""
9121
9173
 
9122
- #: ../lib/puppet/type/user.rb:706
9174
+ #: ../lib/puppet/type/user.rb:708
9123
9175
  msgid "Paths to keyfiles must be absolute, not %{entry}"
9124
9176
  msgstr ""
9125
9177
 
9126
- #: ../lib/puppet/type/user.rb:710
9178
+ #: ../lib/puppet/type/user.rb:712
9127
9179
  msgid "purge_ssh_keys must be true, false, or an array of file names, not %{value}"
9128
9180
  msgstr ""
9129
9181
 
9130
- #: ../lib/puppet/type/user.rb:722
9131
- msgid "purge_ssh_keys can only be true for users with a defined home directory"
9132
- msgstr ""
9133
-
9134
- #: ../lib/puppet/type/user.rb:729
9135
- msgid "purge_ssh_keys value '%{value}' meta character ~ or %{home_placeholder} only allowed for users with a defined home directory"
9136
- msgstr ""
9137
-
9138
- #: ../lib/puppet/type/user.rb:743
9182
+ #: ../lib/puppet/type/user.rb:739
9139
9183
  msgid "Class name must be provided."
9140
9184
  msgstr ""
9141
9185
 
@@ -9246,11 +9290,11 @@ msgstr ""
9246
9290
  msgid "path may not be nil"
9247
9291
  msgstr ""
9248
9292
 
9249
- #: ../lib/puppet/util.rb:568
9293
+ #: ../lib/puppet/util.rb:591
9250
9294
  msgid "replace_file requires a block"
9251
9295
  msgstr ""
9252
9296
 
9253
- #: ../lib/puppet/util.rb:572
9297
+ #: ../lib/puppet/util.rb:595
9254
9298
  msgid "replace_file default_mode: %{default_mode} is invalid"
9255
9299
  msgstr ""
9256
9300
 
@@ -9655,7 +9699,7 @@ msgstr ""
9655
9699
  msgid "Could not write crontab for %{path}: %{detail}"
9656
9700
  msgstr ""
9657
9701
 
9658
- #: ../lib/puppet/util/http_proxy.rb:220
9702
+ #: ../lib/puppet/util/http_proxy.rb:214
9659
9703
  msgid "Too many HTTP redirections for %{uri}"
9660
9704
  msgstr ""
9661
9705
 
@@ -9774,24 +9818,20 @@ msgstr ""
9774
9818
  msgid "Creating log directory %{dir}"
9775
9819
  msgstr ""
9776
9820
 
9777
- #: ../lib/puppet/util/log/destinations.rb:101
9778
- msgid "Unable to set ownership to %{user}:%{group} for log file: %{path}"
9779
- msgstr ""
9780
-
9781
- #: ../lib/puppet/util/logging.rb:82 ../lib/puppet/util/logging.rb:105
9821
+ #: ../lib/puppet/util/logging.rb:80 ../lib/puppet/util/logging.rb:104
9782
9822
  msgid "Wrapped exception:"
9783
9823
  msgstr ""
9784
9824
 
9785
9825
  #. TRANSLATORS the literals ":file", ":line", and ":key" should not be translated
9786
- #: ../lib/puppet/util/logging.rb:149
9826
+ #: ../lib/puppet/util/logging.rb:161
9787
9827
  msgid "Need either :file and :line, or :key"
9788
9828
  msgstr ""
9789
9829
 
9790
- #: ../lib/puppet/util/logging.rb:179
9830
+ #: ../lib/puppet/util/logging.rb:191
9791
9831
  msgid "(file & line not available)"
9792
9832
  msgstr ""
9793
9833
 
9794
- #: ../lib/puppet/util/logging.rb:281
9834
+ #: ../lib/puppet/util/logging.rb:293
9795
9835
  msgid "(location: %{location})"
9796
9836
  msgstr ""
9797
9837
 
@@ -9889,7 +9929,7 @@ msgstr ""
9889
9929
  msgid "Details: %{detail}"
9890
9930
  msgstr ""
9891
9931
 
9892
- #: ../lib/puppet/util/plist.rb:145
9932
+ #: ../lib/puppet/util/plist.rb:151
9893
9933
  msgid "Unable to write the file %{file_path}. %{error}"
9894
9934
  msgstr ""
9895
9935
 
@@ -9989,7 +10029,7 @@ msgstr ""
9989
10029
  msgid "Could not open SELinux category translation file %{path}."
9990
10030
  msgstr ""
9991
10031
 
9992
- #: ../lib/puppet/util/selinux.rb:247
10032
+ #: ../lib/puppet/util/selinux.rb:249
9993
10033
  msgid "got a relative path in SELinux find_fs: %{path}"
9994
10034
  msgstr ""
9995
10035
 
@@ -10073,63 +10113,63 @@ msgstr ""
10073
10113
  msgid "Invalid tag '%{name}'"
10074
10114
  msgstr ""
10075
10115
 
10076
- #: ../lib/puppet/util/windows/adsi.rb:19
10116
+ #: ../lib/puppet/util/windows/adsi.rb:36
10077
10117
  msgid "ADSI connection error: %{e}"
10078
10118
  msgstr ""
10079
10119
 
10080
- #: ../lib/puppet/util/windows/adsi.rb:42
10120
+ #: ../lib/puppet/util/windows/adsi.rb:59
10081
10121
  msgid "Failed to get computer name"
10082
10122
  msgstr ""
10083
10123
 
10084
- #: ../lib/puppet/util/windows/adsi.rb:80
10124
+ #: ../lib/puppet/util/windows/adsi.rb:97
10085
10125
  msgid "Must use a valid SID::Principal"
10086
10126
  msgstr ""
10087
10127
 
10088
- #: ../lib/puppet/util/windows/adsi.rb:137
10128
+ #: ../lib/puppet/util/windows/adsi.rb:162
10089
10129
  msgid "Value must be in DOMAIN\\%{object_class} style syntax"
10090
10130
  msgstr ""
10091
10131
 
10092
- #: ../lib/puppet/util/windows/adsi.rb:163
10132
+ #: ../lib/puppet/util/windows/adsi.rb:188
10093
10133
  msgid "Could not resolve name: %{name}"
10094
10134
  msgstr ""
10095
10135
 
10096
- #: ../lib/puppet/util/windows/adsi.rb:200
10136
+ #: ../lib/puppet/util/windows/adsi.rb:230
10097
10137
  msgid "Subclass must implement class-level method 'list_all'!"
10098
10138
  msgstr ""
10099
10139
 
10100
- #: ../lib/puppet/util/windows/adsi.rb:254
10140
+ #: ../lib/puppet/util/windows/adsi.rb:284
10101
10141
  msgid "Puppet is not able to create/delete domain %{object_class} objects with the %{object_class} resource."
10102
10142
  msgstr ""
10103
10143
 
10104
- #: ../lib/puppet/util/windows/adsi.rb:258
10144
+ #: ../lib/puppet/util/windows/adsi.rb:288
10105
10145
  msgid "%{object_class} update failed: %{error}"
10106
10146
  msgstr ""
10107
10147
 
10108
- #: ../lib/puppet/util/windows/adsi.rb:284
10148
+ #: ../lib/puppet/util/windows/adsi.rb:314
10109
10149
  msgid "Cannot create user if group '%{name}' exists."
10110
10150
  msgstr ""
10111
10151
 
10112
- #: ../lib/puppet/util/windows/adsi.rb:425
10152
+ #: ../lib/puppet/util/windows/adsi.rb:455
10113
10153
  msgid "Unrecognized ADS UserFlags: %{unrecognized_flags}"
10114
10154
  msgstr ""
10115
10155
 
10116
- #: ../lib/puppet/util/windows/adsi.rb:469
10156
+ #: ../lib/puppet/util/windows/adsi.rb:499
10117
10157
  msgid "Failed to get user name"
10118
10158
  msgstr ""
10119
10159
 
10120
- #: ../lib/puppet/util/windows/adsi.rb:506
10160
+ #: ../lib/puppet/util/windows/adsi.rb:536
10121
10161
  msgid "Cannot delete user profile for '%{sid}' prior to Vista SP1"
10122
10162
  msgstr ""
10123
10163
 
10124
- #: ../lib/puppet/util/windows/adsi.rb:524
10164
+ #: ../lib/puppet/util/windows/adsi.rb:554
10125
10165
  msgid "Cannot create group if user '%{name}' exists."
10126
10166
  msgstr ""
10127
10167
 
10128
- #: ../lib/puppet/util/windows/api_types.rb:72
10168
+ #: ../lib/puppet/util/windows/api_types.rb:85
10129
10169
  msgid "Unable to read wide strings with %{null_terminator} terminal nulls"
10130
10170
  msgstr ""
10131
10171
 
10132
- #: ../lib/puppet/util/windows/api_types.rb:203
10172
+ #: ../lib/puppet/util/windows/api_types.rb:216
10133
10173
  msgid "Bad GUID format."
10134
10174
  msgstr ""
10135
10175
 
@@ -10184,16 +10224,20 @@ msgstr ""
10184
10224
  msgid "Failed to call GetLongPathName"
10185
10225
  msgstr ""
10186
10226
 
10187
- #: ../lib/puppet/util/windows/principal.rb:68 ../lib/puppet/util/windows/principal.rb:75
10227
+ #: ../lib/puppet/util/windows/principal.rb:67 ../lib/puppet/util/windows/principal.rb:74
10188
10228
  msgid "Failed to call LookupAccountNameW with account: %{account_name}"
10189
10229
  msgstr ""
10190
10230
 
10191
10231
  #. TRANSLATORS `lookup_account_sid` is a variable name and should not be translated
10192
- #: ../lib/puppet/util/windows/principal.rb:98
10232
+ #: ../lib/puppet/util/windows/principal.rb:97
10193
10233
  msgid "Byte array for lookup_account_sid must not be nil and must be at least 1 byte long"
10194
10234
  msgstr ""
10195
10235
 
10196
- #: ../lib/puppet/util/windows/principal.rb:120 ../lib/puppet/util/windows/principal.rb:127
10236
+ #: ../lib/puppet/util/windows/principal.rb:114
10237
+ msgid "Byte array for lookup_account_sid is invalid: %{sid_bytes}"
10238
+ msgstr ""
10239
+
10240
+ #: ../lib/puppet/util/windows/principal.rb:122 ../lib/puppet/util/windows/principal.rb:129
10197
10241
  msgid "Failed to call LookupAccountSidW with bytes: %{sid_bytes}"
10198
10242
  msgstr ""
10199
10243
 
@@ -10201,23 +10245,23 @@ msgstr ""
10201
10245
  msgid "Failed to get child process exit code"
10202
10246
  msgstr ""
10203
10247
 
10204
- #: ../lib/puppet/util/windows/process.rb:287
10248
+ #: ../lib/puppet/util/windows/process.rb:288
10205
10249
  msgid "GetVersionEx failed"
10206
10250
  msgstr ""
10207
10251
 
10208
- #: ../lib/puppet/util/windows/process.rb:316
10252
+ #: ../lib/puppet/util/windows/process.rb:317
10209
10253
  msgid "Discarding environment variable %{string} which contains invalid bytes"
10210
10254
  msgstr ""
10211
10255
 
10212
- #: ../lib/puppet/util/windows/process.rb:332
10256
+ #: ../lib/puppet/util/windows/process.rb:333
10213
10257
  msgid "environment variable name must not be nil or empty"
10214
10258
  msgstr ""
10215
10259
 
10216
- #: ../lib/puppet/util/windows/process.rb:337
10260
+ #: ../lib/puppet/util/windows/process.rb:338
10217
10261
  msgid "Failed to remove environment variable: %{name}"
10218
10262
  msgstr ""
10219
10263
 
10220
- #: ../lib/puppet/util/windows/process.rb:342
10264
+ #: ../lib/puppet/util/windows/process.rb:343
10221
10265
  msgid "Failed to set environment variable: %{name}"
10222
10266
  msgstr ""
10223
10267
 
@@ -10229,39 +10273,39 @@ msgstr ""
10229
10273
  msgid "Failed to open registry key '%{key}\\%{path}'"
10230
10274
  msgstr ""
10231
10275
 
10232
- #: ../lib/puppet/util/windows/registry.rb:128
10276
+ #: ../lib/puppet/util/windows/registry.rb:133
10233
10277
  msgid "Failed to enumerate %{key} registry keys at index %{index}"
10234
10278
  msgstr ""
10235
10279
 
10236
- #: ../lib/puppet/util/windows/registry.rb:159
10280
+ #: ../lib/puppet/util/windows/registry.rb:167
10237
10281
  msgid "Failed to enumerate %{key} registry values at index %{index}"
10238
10282
  msgstr ""
10239
10283
 
10240
- #: ../lib/puppet/util/windows/registry.rb:189
10284
+ #: ../lib/puppet/util/windows/registry.rb:197
10241
10285
  msgid "Failed to query registry %{key} for sizes"
10242
10286
  msgstr ""
10243
10287
 
10244
- #: ../lib/puppet/util/windows/registry.rb:225
10288
+ #: ../lib/puppet/util/windows/registry.rb:233
10245
10289
  msgid "Type mismatch (expect %{rtype} but %{type} present)"
10246
10290
  msgstr ""
10247
10291
 
10248
- #: ../lib/puppet/util/windows/registry.rb:247
10292
+ #: ../lib/puppet/util/windows/registry.rb:255
10249
10293
  msgid "Type %{type} is not supported."
10250
10294
  msgstr ""
10251
10295
 
10252
- #: ../lib/puppet/util/windows/registry.rb:252
10296
+ #: ../lib/puppet/util/windows/registry.rb:260
10253
10297
  msgid "A value in the registry key %{parent_key_name}%{key} is corrupt or invalid"
10254
10298
  msgstr ""
10255
10299
 
10256
- #: ../lib/puppet/util/windows/registry.rb:274
10300
+ #: ../lib/puppet/util/windows/registry.rb:282
10257
10301
  msgid "Failed to read registry value %{value} at %{key}"
10258
10302
  msgstr ""
10259
10303
 
10260
- #: ../lib/puppet/util/windows/registry.rb:292
10304
+ #: ../lib/puppet/util/windows/registry.rb:300
10261
10305
  msgid "Failed to delete registry value %{name} at %{key}"
10262
10306
  msgstr ""
10263
10307
 
10264
- #: ../lib/puppet/util/windows/registry.rb:307
10308
+ #: ../lib/puppet/util/windows/registry.rb:315
10265
10309
  msgid "Failed to delete registry key %{name} at %{key}"
10266
10310
  msgstr ""
10267
10311
 
@@ -10269,77 +10313,77 @@ msgstr ""
10269
10313
  msgid "Failed to import root certificate: %{detail}"
10270
10314
  msgstr ""
10271
10315
 
10272
- #: ../lib/puppet/util/windows/security.rb:173
10316
+ #: ../lib/puppet/util/windows/security.rb:174
10273
10317
  msgid "Failed to get volume information"
10274
10318
  msgstr ""
10275
10319
 
10276
10320
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10277
- #: ../lib/puppet/util/windows/security.rb:339
10321
+ #: ../lib/puppet/util/windows/security.rb:340
10278
10322
  msgid "Setting control rights for %{path} owner SYSTEM to less than Full Control rights. Setting SYSTEM rights to less than Full Control may have unintented consequences for operations on this file"
10279
10323
  msgstr ""
10280
10324
 
10281
10325
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10282
- #: ../lib/puppet/util/windows/security.rb:342
10326
+ #: ../lib/puppet/util/windows/security.rb:343
10283
10327
  msgid "%{path} owner and group both set to user SYSTEM, but group is not managed directly: SYSTEM user rights will be set to FullControl by group"
10284
10328
  msgstr ""
10285
10329
 
10286
10330
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10287
- #: ../lib/puppet/util/windows/security.rb:345
10331
+ #: ../lib/puppet/util/windows/security.rb:346
10288
10332
  msgid "An attempt to set mode %{mode} on item %{path} would result in the owner, SYSTEM, to have less than Full Control rights. This attempt has been corrected to Full Control"
10289
10333
  msgstr ""
10290
10334
 
10291
10335
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10292
- #: ../lib/puppet/util/windows/security.rb:355
10336
+ #: ../lib/puppet/util/windows/security.rb:356
10293
10337
  msgid "Setting control rights for %{path} group SYSTEM to less than Full Control rights. Setting SYSTEM rights to less than Full Control may have unintented consequences for operations on this file"
10294
10338
  msgstr ""
10295
10339
 
10296
10340
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10297
- #: ../lib/puppet/util/windows/security.rb:358
10341
+ #: ../lib/puppet/util/windows/security.rb:359
10298
10342
  msgid "%{path} owner and group both set to user SYSTEM, but owner is not managed directly: SYSTEM user rights will be set to FullControl by owner"
10299
10343
  msgstr ""
10300
10344
 
10301
10345
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10302
- #: ../lib/puppet/util/windows/security.rb:361
10346
+ #: ../lib/puppet/util/windows/security.rb:362
10303
10347
  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"
10304
10348
  msgstr ""
10305
10349
 
10306
- #: ../lib/puppet/util/windows/security.rb:432 ../lib/puppet/util/windows/security.rb:449 ../lib/puppet/util/windows/sid.rb:155 ../lib/puppet/util/windows/sid.rb:217 ../lib/puppet/util/windows/user.rb:43
10350
+ #: ../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:43
10307
10351
  msgid "Invalid SID"
10308
10352
  msgstr ""
10309
10353
 
10310
- #: ../lib/puppet/util/windows/security.rb:436 ../lib/puppet/util/windows/security.rb:453
10354
+ #: ../lib/puppet/util/windows/security.rb:437 ../lib/puppet/util/windows/security.rb:454
10311
10355
  msgid "Failed to add access control entry"
10312
10356
  msgstr ""
10313
10357
 
10314
- #: ../lib/puppet/util/windows/security.rb:464 ../lib/puppet/util/windows/security.rb:646
10358
+ #: ../lib/puppet/util/windows/security.rb:465 ../lib/puppet/util/windows/security.rb:647
10315
10359
  msgid "Invalid DACL"
10316
10360
  msgstr ""
10317
10361
 
10318
- #: ../lib/puppet/util/windows/security.rb:487
10362
+ #: ../lib/puppet/util/windows/security.rb:488
10319
10363
  msgid "Unsupported access control entry type: 0x%{type}"
10320
10364
  msgstr ""
10321
10365
 
10322
- #: ../lib/puppet/util/windows/security.rb:521
10366
+ #: ../lib/puppet/util/windows/security.rb:522
10323
10367
  msgid "Failed to open '%{path}'"
10324
10368
  msgstr ""
10325
10369
 
10326
- #: ../lib/puppet/util/windows/security.rb:568
10370
+ #: ../lib/puppet/util/windows/security.rb:569
10327
10371
  msgid "Failed to adjust process privileges"
10328
10372
  msgstr ""
10329
10373
 
10330
- #: ../lib/puppet/util/windows/security.rb:598
10374
+ #: ../lib/puppet/util/windows/security.rb:599
10331
10375
  msgid "Failed to get security information"
10332
10376
  msgstr ""
10333
10377
 
10334
- #: ../lib/puppet/util/windows/security.rb:609
10378
+ #: ../lib/puppet/util/windows/security.rb:610
10335
10379
  msgid "Failed to get security descriptor control"
10336
10380
  msgstr ""
10337
10381
 
10338
- #: ../lib/puppet/util/windows/security.rb:642
10382
+ #: ../lib/puppet/util/windows/security.rb:643
10339
10383
  msgid "Failed to initialize ACL"
10340
10384
  msgstr ""
10341
10385
 
10342
- #: ../lib/puppet/util/windows/security.rb:681
10386
+ #: ../lib/puppet/util/windows/security.rb:682
10343
10387
  msgid "Failed to set security information"
10344
10388
  msgstr ""
10345
10389