puppet 6.22.1-universal-darwin → 6.23.0-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 (129) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +14 -14
  3. data/ext/osx/puppet.plist +2 -0
  4. data/lib/puppet/application/agent.rb +12 -5
  5. data/lib/puppet/application/apply.rb +2 -1
  6. data/lib/puppet/application/device.rb +2 -1
  7. data/lib/puppet/application/resource.rb +2 -1
  8. data/lib/puppet/application/script.rb +2 -1
  9. data/lib/puppet/configurer/downloader.rb +2 -1
  10. data/lib/puppet/defaults.rb +5 -3
  11. data/lib/puppet/file_serving/fileset.rb +14 -2
  12. data/lib/puppet/functions/all.rb +1 -1
  13. data/lib/puppet/functions/camelcase.rb +1 -1
  14. data/lib/puppet/functions/capitalize.rb +2 -2
  15. data/lib/puppet/functions/downcase.rb +2 -2
  16. data/lib/puppet/functions/get.rb +5 -5
  17. data/lib/puppet/functions/group_by.rb +13 -5
  18. data/lib/puppet/functions/lest.rb +1 -1
  19. data/lib/puppet/functions/new.rb +100 -100
  20. data/lib/puppet/functions/partition.rb +4 -4
  21. data/lib/puppet/functions/require.rb +5 -5
  22. data/lib/puppet/functions/sort.rb +3 -3
  23. data/lib/puppet/functions/tree_each.rb +7 -9
  24. data/lib/puppet/functions/type.rb +4 -4
  25. data/lib/puppet/functions/upcase.rb +2 -2
  26. data/lib/puppet/http/resolver/server_list.rb +15 -4
  27. data/lib/puppet/http/service/compiler.rb +69 -0
  28. data/lib/puppet/http/service/file_server.rb +2 -1
  29. data/lib/puppet/indirector/catalog/compiler.rb +1 -0
  30. data/lib/puppet/indirector/file_metadata/rest.rb +1 -0
  31. data/lib/puppet/parser/functions/fqdn_rand.rb +14 -6
  32. data/lib/puppet/pops/types/p_sem_ver_type.rb +8 -2
  33. data/lib/puppet/pops/types/p_sensitive_type.rb +10 -0
  34. data/lib/puppet/provider/package/nim.rb +11 -6
  35. data/lib/puppet/provider/service/systemd.rb +13 -3
  36. data/lib/puppet/provider/service/windows.rb +38 -0
  37. data/lib/puppet/provider/user/directoryservice.rb +25 -12
  38. data/lib/puppet/reference/configuration.rb +1 -1
  39. data/lib/puppet/transaction/additional_resource_generator.rb +1 -1
  40. data/lib/puppet/type/file/selcontext.rb +1 -1
  41. data/lib/puppet/type/file.rb +19 -1
  42. data/lib/puppet/type/service.rb +18 -38
  43. data/lib/puppet/type/tidy.rb +21 -2
  44. data/lib/puppet/type/user.rb +38 -20
  45. data/lib/puppet/util/selinux.rb +30 -4
  46. data/lib/puppet/version.rb +1 -1
  47. data/locales/puppet.pot +109 -101
  48. data/man/man5/puppet.conf.5 +272 -252
  49. data/man/man8/puppet-agent.8 +1 -1
  50. data/man/man8/puppet-apply.8 +1 -1
  51. data/man/man8/puppet-catalog.8 +1 -1
  52. data/man/man8/puppet-config.8 +1 -1
  53. data/man/man8/puppet-describe.8 +1 -1
  54. data/man/man8/puppet-device.8 +1 -1
  55. data/man/man8/puppet-doc.8 +1 -1
  56. data/man/man8/puppet-epp.8 +1 -1
  57. data/man/man8/puppet-facts.8 +1 -1
  58. data/man/man8/puppet-filebucket.8 +1 -1
  59. data/man/man8/puppet-generate.8 +1 -1
  60. data/man/man8/puppet-help.8 +1 -1
  61. data/man/man8/puppet-key.8 +1 -1
  62. data/man/man8/puppet-lookup.8 +1 -1
  63. data/man/man8/puppet-man.8 +1 -1
  64. data/man/man8/puppet-module.8 +1 -1
  65. data/man/man8/puppet-node.8 +1 -1
  66. data/man/man8/puppet-parser.8 +1 -1
  67. data/man/man8/puppet-plugin.8 +1 -1
  68. data/man/man8/puppet-report.8 +1 -1
  69. data/man/man8/puppet-resource.8 +1 -1
  70. data/man/man8/puppet-script.8 +1 -1
  71. data/man/man8/puppet-ssl.8 +1 -1
  72. data/man/man8/puppet-status.8 +1 -1
  73. data/man/man8/puppet.8 +2 -2
  74. data/spec/fixtures/ssl/127.0.0.1-key.pem +107 -57
  75. data/spec/fixtures/ssl/127.0.0.1.pem +52 -31
  76. data/spec/fixtures/ssl/bad-basic-constraints.pem +57 -35
  77. data/spec/fixtures/ssl/bad-int-basic-constraints.pem +57 -35
  78. data/spec/fixtures/ssl/ca.pem +57 -35
  79. data/spec/fixtures/ssl/crl.pem +28 -18
  80. data/spec/fixtures/ssl/ec-key.pem +11 -11
  81. data/spec/fixtures/ssl/ec.pem +33 -24
  82. data/spec/fixtures/ssl/encrypted-ec-key.pem +12 -12
  83. data/spec/fixtures/ssl/encrypted-key.pem +108 -58
  84. data/spec/fixtures/ssl/intermediate-agent-crl.pem +28 -19
  85. data/spec/fixtures/ssl/intermediate-agent.pem +57 -36
  86. data/spec/fixtures/ssl/intermediate-crl.pem +31 -21
  87. data/spec/fixtures/ssl/intermediate.pem +57 -36
  88. data/spec/fixtures/ssl/pluto-key.pem +107 -57
  89. data/spec/fixtures/ssl/pluto.pem +52 -30
  90. data/spec/fixtures/ssl/request-key.pem +107 -57
  91. data/spec/fixtures/ssl/request.pem +47 -26
  92. data/spec/fixtures/ssl/revoked-key.pem +107 -57
  93. data/spec/fixtures/ssl/revoked.pem +52 -30
  94. data/spec/fixtures/ssl/signed-key.pem +107 -57
  95. data/spec/fixtures/ssl/signed.pem +52 -30
  96. data/spec/fixtures/ssl/tampered-cert.pem +52 -30
  97. data/spec/fixtures/ssl/tampered-csr.pem +47 -26
  98. data/spec/fixtures/ssl/unknown-127.0.0.1-key.pem +107 -57
  99. data/spec/fixtures/ssl/unknown-127.0.0.1.pem +50 -29
  100. data/spec/fixtures/ssl/unknown-ca-key.pem +107 -57
  101. data/spec/fixtures/ssl/unknown-ca.pem +55 -33
  102. data/spec/integration/application/resource_spec.rb +30 -0
  103. data/spec/lib/puppet/test_ca.rb +2 -2
  104. data/spec/unit/application/agent_spec.rb +7 -2
  105. data/spec/unit/configurer/downloader_spec.rb +6 -0
  106. data/spec/unit/configurer_spec.rb +23 -0
  107. data/spec/unit/file_serving/fileset_spec.rb +60 -0
  108. data/spec/unit/gettext/config_spec.rb +12 -0
  109. data/spec/unit/http/service/compiler_spec.rb +123 -0
  110. data/spec/unit/indirector/catalog/compiler_spec.rb +14 -10
  111. data/spec/unit/parser/functions/fqdn_rand_spec.rb +15 -1
  112. data/spec/unit/pops/types/p_sem_ver_type_spec.rb +18 -0
  113. data/spec/unit/pops/types/p_sensitive_type_spec.rb +18 -0
  114. data/spec/unit/provider/package/nim_spec.rb +42 -0
  115. data/spec/unit/provider/service/init_spec.rb +1 -0
  116. data/spec/unit/provider/service/openwrt_spec.rb +3 -1
  117. data/spec/unit/provider/service/systemd_spec.rb +42 -8
  118. data/spec/unit/provider/service/windows_spec.rb +202 -0
  119. data/spec/unit/provider/user/directoryservice_spec.rb +67 -35
  120. data/spec/unit/ssl/state_machine_spec.rb +19 -5
  121. data/spec/unit/transaction/additional_resource_generator_spec.rb +0 -2
  122. data/spec/unit/transaction_spec.rb +18 -20
  123. data/spec/unit/type/file/selinux_spec.rb +3 -3
  124. data/spec/unit/type/service_spec.rb +59 -188
  125. data/spec/unit/type/tidy_spec.rb +17 -7
  126. data/spec/unit/type/user_spec.rb +45 -0
  127. data/spec/unit/util/selinux_spec.rb +87 -16
  128. data/tasks/generate_cert_fixtures.rake +2 -2
  129. metadata +4 -2
@@ -13,6 +13,10 @@ require 'pathname'
13
13
 
14
14
  module Puppet::Util::SELinux
15
15
 
16
+ S_IFREG = 0100000
17
+ S_IFDIR = 0040000
18
+ S_IFLNK = 0120000
19
+
16
20
  def self.selinux_support?
17
21
  return false unless defined?(Selinux)
18
22
  if Selinux.is_selinux_enabled == 1
@@ -38,7 +42,7 @@ module Puppet::Util::SELinux
38
42
 
39
43
  # Retrieve and return the default context of the file. If we don't have
40
44
  # SELinux support or if the SELinux call fails to file a default then return nil.
41
- def get_selinux_default_context(file)
45
+ def get_selinux_default_context(file, resource_ensure=nil)
42
46
  return nil unless selinux_support?
43
47
  # If the filesystem has no support for SELinux labels, return a default of nil
44
48
  # instead of what matchpathcon would return
@@ -48,8 +52,14 @@ module Puppet::Util::SELinux
48
52
  begin
49
53
  filestat = file_lstat(file)
50
54
  mode = filestat.mode
51
- rescue Errno::EACCES, Errno::ENOENT
55
+ rescue Errno::EACCES
52
56
  mode = 0
57
+ rescue Errno::ENOENT
58
+ if resource_ensure
59
+ mode = get_create_mode(resource_ensure)
60
+ else
61
+ mode = 0
62
+ end
53
63
  end
54
64
 
55
65
  retval = Selinux.matchpathcon(file, mode)
@@ -136,8 +146,8 @@ module Puppet::Util::SELinux
136
146
  # Puppet uses. This will set the file's SELinux context to the policy's
137
147
  # default context (if any) if it differs from the context currently on
138
148
  # the file.
139
- def set_selinux_default_context(file)
140
- new_context = get_selinux_default_context(file)
149
+ def set_selinux_default_context(file, resource_ensure=nil)
150
+ new_context = get_selinux_default_context(file, resource_ensure)
141
151
  return nil unless new_context
142
152
  cur_context = get_selinux_current_context(file)
143
153
  if new_context != cur_context
@@ -198,6 +208,22 @@ module Puppet::Util::SELinux
198
208
  filesystems.include?(fstype)
199
209
  end
200
210
 
211
+ # Get mode file type bits set based on ensure on
212
+ # the file resource. This helps SELinux determine
213
+ # what context a new resource being created should have.
214
+ def get_create_mode(resource_ensure)
215
+ mode = 0
216
+ case resource_ensure
217
+ when :present, :file
218
+ mode |= S_IFREG
219
+ when :directory
220
+ mode |= S_IFDIR
221
+ when :link
222
+ mode |= S_IFLNK
223
+ end
224
+ mode
225
+ end
226
+
201
227
  # Internal helper function to read and parse /proc/mounts
202
228
  def read_mounts
203
229
  mounts = ""
@@ -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 = '6.22.1'
9
+ PUPPETVERSION = '6.23.0'
10
10
 
11
11
  ##
12
12
  # version is a public API method intended to always provide a fast and
data/locales/puppet.pot CHANGED
@@ -6,11 +6,11 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: Puppet automation framework 6.21.1-62-g86a9c83c34\n"
9
+ "Project-Id-Version: Puppet automation framework 6.22.1-63-ga15932f0d4\n"
10
10
  "\n"
11
11
  "Report-Msgid-Bugs-To: https://tickets.puppetlabs.com\n"
12
- "POT-Creation-Date: 2021-04-08 09:48+0000\n"
13
- "PO-Revision-Date: 2021-04-08 09:48+0000\n"
12
+ "POT-Creation-Date: 2021-05-25 15:33+0000\n"
13
+ "PO-Revision-Date: 2021-05-25 15:33+0000\n"
14
14
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15
15
  "Language-Team: LANGUAGE <LL@li.org>\n"
16
16
  "Language: \n"
@@ -184,19 +184,19 @@ msgstr ""
184
184
  msgid "The puppet agent daemon"
185
185
  msgstr ""
186
186
 
187
- #: ../lib/puppet/application/agent.rb:415
187
+ #: ../lib/puppet/application/agent.rb:422
188
188
  msgid "Fingerprint asked but neither the certificate, nor the certificate request have been issued"
189
189
  msgstr ""
190
190
 
191
- #: ../lib/puppet/application/agent.rb:420
191
+ #: ../lib/puppet/application/agent.rb:427
192
192
  msgid "Failed to generate fingerprint: %{message}"
193
193
  msgstr ""
194
194
 
195
- #: ../lib/puppet/application/agent.rb:443
195
+ #: ../lib/puppet/application/agent.rb:450
196
196
  msgid "Starting Puppet client version %{version}"
197
197
  msgstr ""
198
198
 
199
- #: ../lib/puppet/application/agent.rb:459
199
+ #: ../lib/puppet/application/agent.rb:466
200
200
  msgid "The puppet agent command does not take parameters"
201
201
  msgstr ""
202
202
 
@@ -206,35 +206,35 @@ msgstr ""
206
206
 
207
207
  #. TRANSLATORS "puppet apply" is a program command and should not be translated
208
208
  #. TRANSLATORS "puppet apply" is a program command and should not be translated
209
- #: ../lib/puppet/application/apply.rb:208 ../lib/puppet/application/apply.rb:321
209
+ #: ../lib/puppet/application/apply.rb:209 ../lib/puppet/application/apply.rb:322
210
210
  msgid "For puppet apply"
211
211
  msgstr ""
212
212
 
213
- #: ../lib/puppet/application/apply.rb:216
213
+ #: ../lib/puppet/application/apply.rb:217
214
214
  msgid "%{file} is not readable"
215
215
  msgstr ""
216
216
 
217
- #: ../lib/puppet/application/apply.rb:287 ../lib/puppet/application/script.rb:240
217
+ #: ../lib/puppet/application/apply.rb:288 ../lib/puppet/application/script.rb:241
218
218
  msgid "Exiting"
219
219
  msgstr ""
220
220
 
221
- #: ../lib/puppet/application/apply.rb:331
221
+ #: ../lib/puppet/application/apply.rb:332
222
222
  msgid "Could not deserialize catalog from %{format}: %{detail}"
223
223
  msgstr ""
224
224
 
225
- #: ../lib/puppet/application/apply.rb:352 ../lib/puppet/application/script.rb:145
225
+ #: ../lib/puppet/application/apply.rb:353 ../lib/puppet/application/script.rb:146
226
226
  msgid "Could not find facts for %{node}"
227
227
  msgstr ""
228
228
 
229
- #: ../lib/puppet/application/apply.rb:364 ../lib/puppet/application/script.rb:153
229
+ #: ../lib/puppet/application/apply.rb:365 ../lib/puppet/application/script.rb:154
230
230
  msgid "Could not find node %{node}"
231
231
  msgstr ""
232
232
 
233
- #: ../lib/puppet/application/apply.rb:377 ../lib/puppet/application/script.rb:138
233
+ #: ../lib/puppet/application/apply.rb:378 ../lib/puppet/application/script.rb:139
234
234
  msgid "Could not find file %{manifest}"
235
235
  msgstr ""
236
236
 
237
- #: ../lib/puppet/application/apply.rb:378
237
+ #: ../lib/puppet/application/apply.rb:379
238
238
  msgid "Only one file can be applied per run. Skipping %{files}"
239
239
  msgstr ""
240
240
 
@@ -250,47 +250,47 @@ msgstr ""
250
250
  msgid "Manage remote network devices"
251
251
  msgstr ""
252
252
 
253
- #: ../lib/puppet/application/device.rb:231
253
+ #: ../lib/puppet/application/device.rb:232
254
254
  msgid "resource command requires target"
255
255
  msgstr ""
256
256
 
257
- #: ../lib/puppet/application/device.rb:234
257
+ #: ../lib/puppet/application/device.rb:235
258
258
  msgid "facts command requires target"
259
259
  msgstr ""
260
260
 
261
- #: ../lib/puppet/application/device.rb:237
261
+ #: ../lib/puppet/application/device.rb:238
262
262
  msgid "missing argument: --target is required when using --apply"
263
263
  msgstr ""
264
264
 
265
- #: ../lib/puppet/application/device.rb:238
265
+ #: ../lib/puppet/application/device.rb:239
266
266
  msgid "%{file} does not exist, cannot apply"
267
267
  msgstr ""
268
268
 
269
- #: ../lib/puppet/application/device.rb:256
269
+ #: ../lib/puppet/application/device.rb:257
270
270
  msgid "Target device / certificate '%{target}' not found in %{config}"
271
271
  msgstr ""
272
272
 
273
- #: ../lib/puppet/application/device.rb:258
273
+ #: ../lib/puppet/application/device.rb:259
274
274
  msgid "No device found in %{config}"
275
275
  msgstr ""
276
276
 
277
- #: ../lib/puppet/application/device.rb:317
277
+ #: ../lib/puppet/application/device.rb:318
278
278
  msgid "retrieving resource: %{resource} from %{target} at %{scheme}%{url_host}%{port}%{url_path}"
279
279
  msgstr ""
280
280
 
281
- #: ../lib/puppet/application/device.rb:332
281
+ #: ../lib/puppet/application/device.rb:333
282
282
  msgid "retrieving facts from %{target} at %{scheme}%{url_host}%{port}%{url_path}"
283
283
  msgstr ""
284
284
 
285
- #: ../lib/puppet/application/device.rb:355
285
+ #: ../lib/puppet/application/device.rb:356
286
286
  msgid "starting applying configuration to %{target} at %{scheme}%{url_host}%{port}%{url_path}"
287
287
  msgstr ""
288
288
 
289
- #: ../lib/puppet/application/device.rb:393 ../lib/puppet/application/resource.rb:196
289
+ #: ../lib/puppet/application/device.rb:394 ../lib/puppet/application/resource.rb:197
290
290
  msgid "You must specify the type to display"
291
291
  msgstr ""
292
292
 
293
- #: ../lib/puppet/application/device.rb:394 ../lib/puppet/application/resource.rb:197
293
+ #: ../lib/puppet/application/device.rb:395 ../lib/puppet/application/resource.rb:198
294
294
  msgid "Could not find type %{type}"
295
295
  msgstr ""
296
296
 
@@ -422,15 +422,15 @@ msgstr ""
422
422
  msgid "The resource abstraction layer shell"
423
423
  msgstr ""
424
424
 
425
- #: ../lib/puppet/application/resource.rb:140
425
+ #: ../lib/puppet/application/resource.rb:141
426
426
  msgid "Editing with Yaml output is not supported"
427
427
  msgstr ""
428
428
 
429
- #: ../lib/puppet/application/resource.rb:204
429
+ #: ../lib/puppet/application/resource.rb:205
430
430
  msgid "Invalid parameter setting %{setting}"
431
431
  msgstr ""
432
432
 
433
- #: ../lib/puppet/application/resource.rb:226
433
+ #: ../lib/puppet/application/resource.rb:227
434
434
  msgid "Listing all file instances is not supported. Please specify a file or directory, e.g. puppet resource file /etc"
435
435
  msgstr ""
436
436
 
@@ -438,11 +438,11 @@ msgstr ""
438
438
  msgid "Run a puppet manifests as a script without compiling a catalog"
439
439
  msgstr ""
440
440
 
441
- #: ../lib/puppet/application/script.rb:125
441
+ #: ../lib/puppet/application/script.rb:126
442
442
  msgid "Bolt must be installed to use the script application"
443
443
  msgstr ""
444
444
 
445
- #: ../lib/puppet/application/script.rb:139
445
+ #: ../lib/puppet/application/script.rb:140
446
446
  msgid "Only one file can be used per run. Skipping %{files}"
447
447
  msgstr ""
448
448
 
@@ -591,12 +591,12 @@ msgstr ""
591
591
  msgid "Failed to apply catalog: %{detail}"
592
592
  msgstr ""
593
593
 
594
- #: ../lib/puppet/configurer.rb:465 ../lib/puppet/http/resolver/server_list.rb:67
594
+ #: ../lib/puppet/configurer.rb:465 ../lib/puppet/http/resolver/server_list.rb:68 ../lib/puppet/http/resolver/server_list.rb:72
595
595
  msgid "Puppet server %{host}:%{port} is unavailable: %{code} %{reason}"
596
596
  msgstr ""
597
597
 
598
598
  #. TRANSLATORS 'server_list' is the name of a setting and should not be translated
599
- #: ../lib/puppet/configurer.rb:469 ../lib/puppet/http/resolver/server_list.rb:70
599
+ #: ../lib/puppet/configurer.rb:469 ../lib/puppet/http/resolver/server_list.rb:77 ../lib/puppet/http/resolver/server_list.rb:80
600
600
  msgid "Unable to connect to server from server_list setting: %{detail}"
601
601
  msgstr ""
602
602
 
@@ -728,11 +728,11 @@ msgid "Invalid value '%{value}' for parameter %{name}. Allowed values are '%{all
728
728
  msgstr ""
729
729
 
730
730
  #. TRANSLATORS 'pluginsync' is a setting and should not be translated
731
- #: ../lib/puppet/defaults.rb:2015
731
+ #: ../lib/puppet/defaults.rb:2017
732
732
  msgid "Setting 'pluginsync' is deprecated."
733
733
  msgstr ""
734
734
 
735
- #: ../lib/puppet/defaults.rb:2250
735
+ #: ../lib/puppet/defaults.rb:2252
736
736
  msgid "The 'func3x_check' setting is deprecated and will be removed in a future release."
737
737
  msgstr ""
738
738
 
@@ -1750,21 +1750,29 @@ msgstr ""
1750
1750
  msgid "Fileset paths must be fully qualified: %{path}"
1751
1751
  msgstr ""
1752
1752
 
1753
- #: ../lib/puppet/file_serving/fileset.rb:50
1753
+ #: ../lib/puppet/file_serving/fileset.rb:51
1754
1754
  msgid "Fileset paths must exist"
1755
1755
  msgstr ""
1756
1756
 
1757
1757
  #. TRANSLATORS "recurse" and "recurselimit" are parameter names and should not be translated
1758
- #: ../lib/puppet/file_serving/fileset.rb:52
1758
+ #: ../lib/puppet/file_serving/fileset.rb:53
1759
1759
  msgid "Fileset recurse parameter must not be a number anymore, please use recurselimit"
1760
1760
  msgstr ""
1761
1761
 
1762
+ #: ../lib/puppet/file_serving/fileset.rb:69
1763
+ msgid "The directory '%{path}' contains %{entries} entries, which exceeds the limit of %{munged_max_files} specified by the max_files parameter for this resource. The limit may be increased, but be aware that large number of file resources can result in excessive resource consumption and degraded performance. Consider using an alternate method to manage large directory trees"
1764
+ msgstr ""
1765
+
1766
+ #: ../lib/puppet/file_serving/fileset.rb:71
1767
+ msgid "The directory '%{path}' contains %{entries} entries, which exceeds the default soft limit %{soft_max_files} and may cause excessive resource consumption and degraded performance. To remove this warning set a value for `max_files` parameter or consider using an alternate method to manage large directory trees"
1768
+ msgstr ""
1769
+
1762
1770
  #. TRANSLATORS ":links" is a parameter name and should not be translated
1763
- #: ../lib/puppet/file_serving/fileset.rb:80
1771
+ #: ../lib/puppet/file_serving/fileset.rb:92
1764
1772
  msgid "Invalid :links value '%{links}'"
1765
1773
  msgstr ""
1766
1774
 
1767
- #: ../lib/puppet/file_serving/fileset.rb:93
1775
+ #: ../lib/puppet/file_serving/fileset.rb:105
1768
1776
  msgid "Invalid option '%{option}'"
1769
1777
  msgstr ""
1770
1778
 
@@ -2336,6 +2344,10 @@ msgstr ""
2336
2344
  msgid "Location URI is invalid: %{detail}"
2337
2345
  msgstr ""
2338
2346
 
2347
+ #: ../lib/puppet/http/resolver/server_list.rb:70 ../lib/puppet/http/resolver/server_list.rb:78
2348
+ msgid "Trying with next server from server_list."
2349
+ msgstr ""
2350
+
2339
2351
  #: ../lib/puppet/http/retry_after_handler.rb:83
2340
2352
  msgid "Failed to parse Retry-After header '%{retry_after}' as an integer or RFC 2822 date"
2341
2353
  msgstr ""
@@ -2410,87 +2422,87 @@ msgstr ""
2410
2422
  msgid "Inlining file metadata"
2411
2423
  msgstr ""
2412
2424
 
2413
- #: ../lib/puppet/indirector/catalog/compiler.rb:259
2425
+ #: ../lib/puppet/indirector/catalog/compiler.rb:260
2414
2426
  msgid "Could not get metadata for %{resource}"
2415
2427
  msgstr ""
2416
2428
 
2417
- #: ../lib/puppet/indirector/catalog/compiler.rb:280
2429
+ #: ../lib/puppet/indirector/catalog/compiler.rb:281
2418
2430
  msgid "Unable to find a common checksum type between agent '%{agent_type}' and master '%{master_type}'."
2419
2431
  msgstr ""
2420
2432
 
2421
- #: ../lib/puppet/indirector/catalog/compiler.rb:287
2433
+ #: ../lib/puppet/indirector/catalog/compiler.rb:288
2422
2434
  msgid "Compiled static catalog for %{node} in environment %{environment} in %%{seconds} seconds"
2423
2435
  msgstr ""
2424
2436
 
2425
- #: ../lib/puppet/indirector/catalog/compiler.rb:288
2437
+ #: ../lib/puppet/indirector/catalog/compiler.rb:289
2426
2438
  msgid "Compiled static catalog for %{node} in environment %{environment}"
2427
2439
  msgstr ""
2428
2440
 
2429
- #: ../lib/puppet/indirector/catalog/compiler.rb:290
2441
+ #: ../lib/puppet/indirector/catalog/compiler.rb:291
2430
2442
  msgid "Compiled static catalog for %{node} in %%{seconds} seconds"
2431
2443
  msgstr ""
2432
2444
 
2433
- #: ../lib/puppet/indirector/catalog/compiler.rb:291
2445
+ #: ../lib/puppet/indirector/catalog/compiler.rb:292
2434
2446
  msgid "Compiled static catalog for %{node}"
2435
2447
  msgstr ""
2436
2448
 
2437
- #: ../lib/puppet/indirector/catalog/compiler.rb:296
2449
+ #: ../lib/puppet/indirector/catalog/compiler.rb:297
2438
2450
  msgid "Compiled catalog for %{node} in environment %{environment} in %%{seconds} seconds"
2439
2451
  msgstr ""
2440
2452
 
2441
- #: ../lib/puppet/indirector/catalog/compiler.rb:297
2453
+ #: ../lib/puppet/indirector/catalog/compiler.rb:298
2442
2454
  msgid "Compiled catalog for %{node} in environment %{environment}"
2443
2455
  msgstr ""
2444
2456
 
2445
- #: ../lib/puppet/indirector/catalog/compiler.rb:299
2457
+ #: ../lib/puppet/indirector/catalog/compiler.rb:300
2446
2458
  msgid "Compiled catalog for %{node} in %%{seconds} seconds"
2447
2459
  msgstr ""
2448
2460
 
2449
- #: ../lib/puppet/indirector/catalog/compiler.rb:300
2461
+ #: ../lib/puppet/indirector/catalog/compiler.rb:301
2450
2462
  msgid "Compiled catalog for %{node}"
2451
2463
  msgstr ""
2452
2464
 
2453
2465
  #. TRANSLATORS Inlined refers to adding additional metadata
2454
- #: ../lib/puppet/indirector/catalog/compiler.rb:322
2466
+ #: ../lib/puppet/indirector/catalog/compiler.rb:323
2455
2467
  msgid "Inlined resource metadata into static catalog for %{node} in environment %{environment} in %%{seconds} seconds"
2456
2468
  msgstr ""
2457
2469
 
2458
2470
  #. TRANSLATORS Inlined refers to adding additional metadata
2459
- #: ../lib/puppet/indirector/catalog/compiler.rb:324
2471
+ #: ../lib/puppet/indirector/catalog/compiler.rb:325
2460
2472
  msgid "Inlined resource metadata into static catalog for %{node} in environment %{environment}"
2461
2473
  msgstr ""
2462
2474
 
2463
2475
  #. TRANSLATORS Inlined refers to adding additional metadata
2464
- #: ../lib/puppet/indirector/catalog/compiler.rb:327
2476
+ #: ../lib/puppet/indirector/catalog/compiler.rb:328
2465
2477
  msgid "Inlined resource metadata into static catalog for %{node} in %%{seconds} seconds"
2466
2478
  msgstr ""
2467
2479
 
2468
2480
  #. TRANSLATORS Inlined refers to adding additional metadata
2469
- #: ../lib/puppet/indirector/catalog/compiler.rb:329
2481
+ #: ../lib/puppet/indirector/catalog/compiler.rb:330
2470
2482
  msgid "Inlined resource metadata into static catalog for %{node}"
2471
2483
  msgstr ""
2472
2484
 
2473
- #: ../lib/puppet/indirector/catalog/compiler.rb:346
2485
+ #: ../lib/puppet/indirector/catalog/compiler.rb:347
2474
2486
  msgid "Found node information"
2475
2487
  msgstr ""
2476
2488
 
2477
- #: ../lib/puppet/indirector/catalog/compiler.rb:354
2489
+ #: ../lib/puppet/indirector/catalog/compiler.rb:355
2478
2490
  msgid "Failed when searching for node %{name}: %{detail}"
2479
2491
  msgstr ""
2480
2492
 
2481
- #: ../lib/puppet/indirector/catalog/compiler.rb:374
2493
+ #: ../lib/puppet/indirector/catalog/compiler.rb:375
2482
2494
  msgid "Invalid option use_node for a remote request"
2483
2495
  msgstr ""
2484
2496
 
2485
- #: ../lib/puppet/indirector/catalog/compiler.rb:393
2497
+ #: ../lib/puppet/indirector/catalog/compiler.rb:394
2486
2498
  msgid "Could not find node '%{name}'; cannot compile"
2487
2499
  msgstr ""
2488
2500
 
2489
- #: ../lib/puppet/indirector/catalog/compiler.rb:426
2501
+ #: ../lib/puppet/indirector/catalog/compiler.rb:427
2490
2502
  msgid "Could not retrieve fact servername"
2491
2503
  msgstr ""
2492
2504
 
2493
- #: ../lib/puppet/indirector/catalog/compiler.rb:435
2505
+ #: ../lib/puppet/indirector/catalog/compiler.rb:436
2494
2506
  msgid "Could not retrieve either serverip or serverip6 fact"
2495
2507
  msgstr ""
2496
2508
 
@@ -3051,8 +3063,8 @@ msgstr ""
3051
3063
  msgid "Option %{option} conflicts with existing option %{conflict} on %{face}"
3052
3064
  msgstr ""
3053
3065
 
3054
- #. TRANSLATORS 'Puppet.settings' should not be translated
3055
3066
  #. TRANSLATORS 'Puppet.settings' references to the Puppet settings options and should not be translated
3067
+ #. TRANSLATORS 'Puppet.settings' should not be translated
3056
3068
  #: ../lib/puppet/interface/action.rb:315 ../lib/puppet/interface/option_manager.rb:14
3057
3069
  msgid "Global option %{option} does not exist in Puppet.settings"
3058
3070
  msgstr ""
@@ -8719,74 +8731,74 @@ msgstr ""
8719
8731
  msgid "Invalid recurselimit value %{value}"
8720
8732
  msgstr ""
8721
8733
 
8722
- #: ../lib/puppet/type/file.rb:418
8734
+ #: ../lib/puppet/type/file.rb:435
8723
8735
  msgid "You cannot specify more than one of %{creators}"
8724
8736
  msgstr ""
8725
8737
 
8726
- #: ../lib/puppet/type/file.rb:420
8738
+ #: ../lib/puppet/type/file.rb:437
8727
8739
  msgid "You cannot specify a remote recursion without a source"
8728
8740
  msgstr ""
8729
8741
 
8730
- #: ../lib/puppet/type/file.rb:422
8742
+ #: ../lib/puppet/type/file.rb:439
8731
8743
  msgid "You cannot specify source when using checksum 'none'"
8732
8744
  msgstr ""
8733
8745
 
8734
- #: ../lib/puppet/type/file.rb:425
8746
+ #: ../lib/puppet/type/file.rb:442
8735
8747
  msgid "You cannot specify content when using checksum '%{checksum_type}'"
8736
8748
  msgstr ""
8737
8749
 
8738
- #: ../lib/puppet/type/file.rb:428
8750
+ #: ../lib/puppet/type/file.rb:445
8739
8751
  msgid "Possible error: recurselimit is set but not recurse, no recursion will happen"
8740
8752
  msgstr ""
8741
8753
 
8742
- #: ../lib/puppet/type/file.rb:436
8754
+ #: ../lib/puppet/type/file.rb:453
8743
8755
  msgid "Checksum value '%{value}' is not a valid checksum type %{checksum}"
8744
8756
  msgstr ""
8745
8757
 
8746
- #: ../lib/puppet/type/file.rb:439
8758
+ #: ../lib/puppet/type/file.rb:456
8747
8759
  msgid "Checksum value is ignored unless content or source are specified"
8748
8760
  msgstr ""
8749
8761
 
8750
- #: ../lib/puppet/type/file.rb:477
8762
+ #: ../lib/puppet/type/file.rb:494
8751
8763
  msgid "Can not find filebucket for backups without a catalog"
8752
8764
  msgstr ""
8753
8765
 
8754
- #: ../lib/puppet/type/file.rb:482
8766
+ #: ../lib/puppet/type/file.rb:499
8755
8767
  msgid "Could not find filebucket %{backup} specified in backup"
8756
8768
  msgstr ""
8757
8769
 
8758
- #: ../lib/puppet/type/file.rb:780
8770
+ #: ../lib/puppet/type/file.rb:798
8759
8771
  msgid "Could not back up file of type %{current_type}"
8760
8772
  msgstr ""
8761
8773
 
8762
- #: ../lib/puppet/type/file.rb:795
8774
+ #: ../lib/puppet/type/file.rb:813
8763
8775
  msgid "Could not remove files of type %{current_type}"
8764
8776
  msgstr ""
8765
8777
 
8766
8778
  #. TRANSLATORS "source_permissions => ignore" should not be translated
8767
- #: ../lib/puppet/type/file.rb:806
8779
+ #: ../lib/puppet/type/file.rb:824
8768
8780
  msgid "Copying owner/mode/group from the source file on Windows is not supported; use source_permissions => ignore."
8769
8781
  msgstr ""
8770
8782
 
8771
8783
  #. TRANSLATORS "stat" is a program name and should not be translated
8772
- #: ../lib/puppet/type/file.rb:887 ../lib/puppet/type/tidy.rb:352
8784
+ #: ../lib/puppet/type/file.rb:905 ../lib/puppet/type/tidy.rb:371
8773
8785
  msgid "Could not stat; permission denied"
8774
8786
  msgstr ""
8775
8787
 
8776
- #: ../lib/puppet/type/file.rb:890
8788
+ #: ../lib/puppet/type/file.rb:908
8777
8789
  msgid "Could not stat; invalid pathname"
8778
8790
  msgstr ""
8779
8791
 
8780
- #: ../lib/puppet/type/file.rb:1018
8792
+ #: ../lib/puppet/type/file.rb:1036
8781
8793
  msgid "Not removing directory; use 'force' to override"
8782
8794
  msgstr ""
8783
8795
 
8784
8796
  #. TRANSLATORS refers to a file which could not be backed up
8785
- #: ../lib/puppet/type/file.rb:1043
8797
+ #: ../lib/puppet/type/file.rb:1061
8786
8798
  msgid "Could not back up; will not remove"
8787
8799
  msgstr ""
8788
8800
 
8789
- #: ../lib/puppet/type/file.rb:1058
8801
+ #: ../lib/puppet/type/file.rb:1076
8790
8802
  msgid "File written to disk did not match desired checksum; discarding changes (%{content_checksum} vs %{desired_checksum})"
8791
8803
  msgstr ""
8792
8804
 
@@ -8936,50 +8948,46 @@ msgstr ""
8936
8948
  msgid "%{value} is not a valid day of the week"
8937
8949
  msgstr ""
8938
8950
 
8939
- #: ../lib/puppet/type/service.rb:96
8940
- msgid "Setting enable to %{value} is only supported on Microsoft Windows."
8941
- msgstr ""
8942
-
8943
- #: ../lib/puppet/type/service.rb:166
8944
- msgid "The 'logonaccount' parameter is mandatory when setting 'logonpassword'."
8945
- msgstr ""
8946
-
8947
- #: ../lib/puppet/type/service.rb:167 ../lib/puppet/type/user.rb:271
8951
+ #: ../lib/puppet/type/service.rb:151 ../lib/puppet/type/user.rb:271
8948
8952
  msgid "Passwords cannot include ':'"
8949
8953
  msgstr ""
8950
8954
 
8951
- #: ../lib/puppet/type/service.rb:304
8955
+ #: ../lib/puppet/type/service.rb:278
8952
8956
  msgid "\"%{value}\" is not a positive integer: the timeout parameter must be specified as a positive integer"
8953
8957
  msgstr ""
8954
8958
 
8955
- #: ../lib/puppet/type/tidy.rb:85
8959
+ #: ../lib/puppet/type/service.rb:300
8960
+ msgid "The 'logonaccount' parameter is mandatory when setting 'logonpassword'."
8961
+ msgstr ""
8962
+
8963
+ #: ../lib/puppet/type/tidy.rb:101
8956
8964
  msgid "Tidy can't use matches with recurse 0, false, or undef"
8957
8965
  msgstr ""
8958
8966
 
8959
- #: ../lib/puppet/type/tidy.rb:125
8967
+ #: ../lib/puppet/type/tidy.rb:141
8960
8968
  msgid "Invalid age unit '%{unit}'"
8961
8969
  msgstr ""
8962
8970
 
8963
8971
  #. TRANSLATORS tidy is the name of a program and should not be translated
8964
- #: ../lib/puppet/type/tidy.rb:145
8972
+ #: ../lib/puppet/type/tidy.rb:161
8965
8973
  msgid "Invalid tidy age %{age}"
8966
8974
  msgstr ""
8967
8975
 
8968
- #: ../lib/puppet/type/tidy.rb:167
8976
+ #: ../lib/puppet/type/tidy.rb:183
8969
8977
  msgid "Invalid size unit '%{unit}'"
8970
8978
  msgstr ""
8971
8979
 
8972
8980
  #. TRANSLATORS tidy is the name of a program and should not be translated
8973
- #: ../lib/puppet/type/tidy.rb:185
8981
+ #: ../lib/puppet/type/tidy.rb:201
8974
8982
  msgid "Invalid tidy size %{age}"
8975
8983
  msgstr ""
8976
8984
 
8977
8985
  #. TRANSLATORS "Tidy" is a program name and should not be translated
8978
- #: ../lib/puppet/type/tidy.rb:275
8986
+ #: ../lib/puppet/type/tidy.rb:294
8979
8987
  msgid "Tidying %{count} files"
8980
8988
  msgstr ""
8981
8989
 
8982
- #: ../lib/puppet/type/tidy.rb:348
8990
+ #: ../lib/puppet/type/tidy.rb:367
8983
8991
  msgid "File does not exist"
8984
8992
  msgstr ""
8985
8993
 
@@ -9816,31 +9824,31 @@ msgstr ""
9816
9824
  msgid "Caught exception %{klass}:%{error} retrying"
9817
9825
  msgstr ""
9818
9826
 
9819
- #: ../lib/puppet/util/selinux.rb:71
9827
+ #: ../lib/puppet/util/selinux.rb:81
9820
9828
  msgid "Invalid context to parse: %{context}"
9821
9829
  msgstr ""
9822
9830
 
9823
- #: ../lib/puppet/util/selinux.rb:83
9831
+ #: ../lib/puppet/util/selinux.rb:93
9824
9832
  msgid "Invalid SELinux parameter type"
9825
9833
  msgstr ""
9826
9834
 
9827
- #: ../lib/puppet/util/selinux.rb:104
9835
+ #: ../lib/puppet/util/selinux.rb:114
9828
9836
  msgid "Can't set SELinux context on file unless the file already has some kind of context"
9829
9837
  msgstr ""
9830
9838
 
9831
- #: ../lib/puppet/util/selinux.rb:118
9839
+ #: ../lib/puppet/util/selinux.rb:128
9832
9840
  msgid "set_selinux_context component must be one of :seluser, :selrole, :seltype, or :selrange"
9833
9841
  msgstr ""
9834
9842
 
9835
- #: ../lib/puppet/util/selinux.rb:129
9843
+ #: ../lib/puppet/util/selinux.rb:139
9836
9844
  msgid "Failed to set SELinux context %{context} on %{file}"
9837
9845
  msgstr ""
9838
9846
 
9839
- #: ../lib/puppet/util/selinux.rb:180
9847
+ #: ../lib/puppet/util/selinux.rb:190
9840
9848
  msgid "Could not open SELinux category translation file %{path}."
9841
9849
  msgstr ""
9842
9850
 
9843
- #: ../lib/puppet/util/selinux.rb:250
9851
+ #: ../lib/puppet/util/selinux.rb:276
9844
9852
  msgid "got a relative path in SELinux find_fs: %{path}"
9845
9853
  msgstr ""
9846
9854