puppet 5.5.19-x86-mingw32 → 5.5.20-x86-mingw32

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

Potentially problematic release.


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

Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +11 -11
  3. data/lib/puppet/agent.rb +2 -10
  4. data/lib/puppet/functions/reduce.rb +2 -4
  5. data/lib/puppet/provider/group/windows_adsi.rb +3 -3
  6. data/lib/puppet/provider/package/aix.rb +17 -2
  7. data/lib/puppet/provider/package/dnfmodule.rb +39 -12
  8. data/lib/puppet/provider/package/pkgdmg.rb +1 -1
  9. data/lib/puppet/provider/package/pkgng.rb +16 -4
  10. data/lib/puppet/provider/package/yum.rb +18 -15
  11. data/lib/puppet/provider/selmodule/semodule.rb +43 -26
  12. data/lib/puppet/provider/service/systemd.rb +1 -1
  13. data/lib/puppet/type/package.rb +20 -0
  14. data/lib/puppet/util/pidlock.rb +12 -6
  15. data/lib/puppet/util/windows/adsi.rb +2 -2
  16. data/lib/puppet/util/windows/process.rb +16 -15
  17. data/lib/puppet/util/windows/security.rb +1 -0
  18. data/lib/puppet/util/windows/sid.rb +3 -3
  19. data/lib/puppet/version.rb +1 -1
  20. data/locales/puppet.pot +103 -95
  21. data/man/man5/puppet.conf.5 +2 -2
  22. data/man/man8/puppet-agent.8 +1 -1
  23. data/man/man8/puppet-apply.8 +1 -1
  24. data/man/man8/puppet-ca.8 +1 -1
  25. data/man/man8/puppet-catalog.8 +1 -1
  26. data/man/man8/puppet-cert.8 +1 -1
  27. data/man/man8/puppet-certificate.8 +1 -1
  28. data/man/man8/puppet-certificate_request.8 +1 -1
  29. data/man/man8/puppet-certificate_revocation_list.8 +1 -1
  30. data/man/man8/puppet-config.8 +1 -1
  31. data/man/man8/puppet-describe.8 +1 -1
  32. data/man/man8/puppet-device.8 +1 -1
  33. data/man/man8/puppet-doc.8 +1 -1
  34. data/man/man8/puppet-epp.8 +1 -1
  35. data/man/man8/puppet-facts.8 +1 -1
  36. data/man/man8/puppet-filebucket.8 +1 -1
  37. data/man/man8/puppet-generate.8 +1 -1
  38. data/man/man8/puppet-help.8 +1 -1
  39. data/man/man8/puppet-key.8 +1 -1
  40. data/man/man8/puppet-lookup.8 +1 -1
  41. data/man/man8/puppet-man.8 +1 -1
  42. data/man/man8/puppet-master.8 +1 -1
  43. data/man/man8/puppet-module.8 +1 -1
  44. data/man/man8/puppet-node.8 +1 -1
  45. data/man/man8/puppet-parser.8 +1 -1
  46. data/man/man8/puppet-plugin.8 +1 -1
  47. data/man/man8/puppet-report.8 +1 -1
  48. data/man/man8/puppet-resource.8 +1 -1
  49. data/man/man8/puppet-script.8 +1 -1
  50. data/man/man8/puppet-status.8 +1 -1
  51. data/man/man8/puppet.8 +2 -2
  52. data/spec/fixtures/unit/provider/package/dnfmodule/{dnf-module-list-installed.txt → dnf-module-list-enabled.txt} +2 -0
  53. data/spec/fixtures/unit/provider/package/pkgng/pkg.version +2 -0
  54. data/spec/fixtures/unit/provider/package/yum/yum-check-update-subscription-manager.txt +9 -0
  55. data/spec/integration/util/windows/adsi_spec.rb +1 -1
  56. data/spec/unit/agent_spec.rb +33 -25
  57. data/spec/unit/provider/group/windows_adsi_spec.rb +43 -10
  58. data/spec/unit/provider/package/aix_spec.rb +29 -0
  59. data/spec/unit/provider/package/dnfmodule_spec.rb +33 -14
  60. data/spec/unit/provider/package/pkgdmg_spec.rb +1 -1
  61. data/spec/unit/provider/package/pkgng_spec.rb +36 -0
  62. data/spec/unit/provider/package/yum_spec.rb +10 -1
  63. data/spec/unit/provider/selmodule_spec.rb +118 -47
  64. data/spec/unit/provider/user/windows_adsi_spec.rb +3 -3
  65. data/spec/unit/util/pidlock_spec.rb +67 -40
  66. data/spec/unit/util/windows/adsi_spec.rb +4 -4
  67. data/spec/unit/util/windows/sid_spec.rb +2 -2
  68. metadata +6 -4
@@ -20,7 +20,7 @@ Puppet::Type.type(:service).provide :systemd, :parent => :base do
20
20
  defaultfor :osfamily => :coreos
21
21
  defaultfor :operatingsystem => :amazon, :operatingsystemmajrelease => ["2"]
22
22
  defaultfor :operatingsystem => :debian, :operatingsystemmajrelease => ["8", "stretch/sid", "9", "buster/sid", "10", "bullseye/sid"]
23
- defaultfor :operatingsystem => :ubuntu, :operatingsystemmajrelease => ["15.04","15.10","16.04","16.10","17.04","17.10","18.04"]
23
+ defaultfor :operatingsystem => :ubuntu, :operatingsystemmajrelease => ["15.04","15.10","16.04","16.10","17.04","17.10","18.04","18.10","19.04","19.10","20.04"]
24
24
  defaultfor :operatingsystem => :cumuluslinux, :operatingsystemmajrelease => ["3"]
25
25
 
26
26
  def self.instances
@@ -485,6 +485,26 @@ module Puppet
485
485
  newvalues(:true, :false)
486
486
  end
487
487
 
488
+ newparam(:enable_only, :boolean => false, :parent => Puppet::Parameter::Boolean) do
489
+ desc <<-EOT
490
+ Tells `dnf module` to only enable a specific module, instead
491
+ of installing its default profile.
492
+
493
+ Modules with no default profile will be enabled automatically
494
+ without the use of this parameter.
495
+
496
+ Conflicts with the `flavor` property, which selects a profile
497
+ to install.
498
+ EOT
499
+ defaultto false
500
+
501
+ validate do |value|
502
+ if [true, :true, "true"].include?(value) && @resource[:flavor]
503
+ raise ArgumentError, _('Cannot have both `enable_only => true` and `flavor`')
504
+ end
505
+ end
506
+ end
507
+
488
508
  newparam(:install_only, :boolean => false, :parent => Puppet::Parameter::Boolean, :required_features => :install_only) do
489
509
  desc <<-EOT
490
510
  It should be set for packages that should only ever be installed,
@@ -44,7 +44,9 @@ class Puppet::Util::Pidlock
44
44
  end
45
45
 
46
46
  def clear_if_stale
47
- return @lockfile.unlock if lock_pid.nil?
47
+ pid = lock_pid
48
+ return @lockfile.unlock if pid == nil
49
+ return if Process.pid == pid
48
50
 
49
51
  errors = [Errno::ESRCH]
50
52
  # Win32::Process now throws SystemCallError. Since this could be
@@ -52,7 +54,7 @@ class Puppet::Util::Pidlock
52
54
  errors << SystemCallError if Puppet::Util::Platform.windows?
53
55
 
54
56
  begin
55
- Process.kill(0, lock_pid)
57
+ Process.kill(0, pid)
56
58
  rescue *errors
57
59
  return @lockfile.unlock
58
60
  end
@@ -61,14 +63,18 @@ class Puppet::Util::Pidlock
61
63
  # not, we can unlock the lockfile. For now this is only done on
62
64
  # POSIX and Windows platforms (PUP-9247).
63
65
  if Puppet.features.posix?
64
- procname = Puppet::Util::Execution.execute(["ps", "-p", lock_pid, "-o", "comm="]).strip
65
- args = Puppet::Util::Execution.execute(["ps", "-p", lock_pid, "-o", "args="]).strip
66
+ procname = Puppet::Util::Execution.execute(["ps", "-p", pid, "-o", "comm="]).strip
67
+ args = Puppet::Util::Execution.execute(["ps", "-p", pid, "-o", "args="]).strip
66
68
  @lockfile.unlock unless procname =~ /ruby/ && args =~ /puppet/ || procname =~ /puppet(-.*)?$/
67
69
  elsif Puppet.features.microsoft_windows?
68
70
  # On Windows, we're checking if the filesystem path name of the running
69
71
  # process is our vendored ruby:
70
- exe_path = Puppet::Util::Windows::Process::get_process_image_name_by_pid(lock_pid)
71
- @lockfile.unlock unless exe_path =~ /\\bin\\ruby.exe$/
72
+ begin
73
+ exe_path = Puppet::Util::Windows::Process::get_process_image_name_by_pid(pid)
74
+ @lockfile.unlock unless exe_path =~ /\\bin\\ruby.exe$/
75
+ rescue Puppet::Util::Windows::Error => e
76
+ Puppet.debug("Failed to read pidfile #{file_path}: #{e.message}")
77
+ end
72
78
  end
73
79
  end
74
80
  private :clear_if_stale
@@ -180,11 +180,11 @@ module Puppet::Util::Windows::ADSI
180
180
  sids
181
181
  end
182
182
 
183
- def name_sid_hash(names)
183
+ def name_sid_hash(names, allow_unresolved = false)
184
184
  return {} if names.nil? || names.empty?
185
185
 
186
186
  sids = names.map do |name|
187
- sid = Puppet::Util::Windows::SID.name_to_principal(name)
187
+ sid = Puppet::Util::Windows::SID.name_to_principal(name, allow_unresolved)
188
188
  raise Puppet::Error.new( _("Could not resolve name: %{name}") % { name: name } ) if !sid
189
189
  [sid.sid, sid]
190
190
  end
@@ -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
 
@@ -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
@@ -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.19'
9
+ PUPPETVERSION = '5.5.20'
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 5.5.18-49-g561d1a4850\n"
9
+ "Project-Id-Version: Puppet automation framework 5.5.19-48-g3415147ded\n"
10
10
  "\n"
11
11
  "Report-Msgid-Bugs-To: https://tickets.puppetlabs.com\n"
12
- "POT-Creation-Date: 2020-02-05 09:17+0000\n"
13
- "PO-Revision-Date: 2020-02-05 09:17+0000\n"
12
+ "POT-Creation-Date: 2020-04-24 10:01+0000\n"
13
+ "PO-Revision-Date: 2020-04-24 10:01+0000\n"
14
14
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15
15
  "Language-Team: LANGUAGE <LL@li.org>\n"
16
16
  "Language: \n"
@@ -48,15 +48,15 @@ msgstr ""
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
 
@@ -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
 
@@ -670,55 +670,55 @@ msgstr ""
670
670
  msgid "a data type can only have one implementation"
671
671
  msgstr ""
672
672
 
673
- #: ../lib/puppet/defaults.rb:126
673
+ #: ../lib/puppet/defaults.rb:130
674
674
  msgid "Cannot disable unrecognized warning types %{invalid}."
675
675
  msgstr ""
676
676
 
677
- #: ../lib/puppet/defaults.rb:127
677
+ #: ../lib/puppet/defaults.rb:131
678
678
  msgid "Valid values are %{values}."
679
679
  msgstr ""
680
680
 
681
681
  #. TRANSLATORS 'data_binding_terminus' is a setting and should not be translated
682
- #: ../lib/puppet/defaults.rb:480
682
+ #: ../lib/puppet/defaults.rb:484
683
683
  msgid "Setting 'data_binding_terminus' is deprecated."
684
684
  msgstr ""
685
685
 
686
686
  #. TRANSLATORS 'hiera' should not be translated
687
- #: ../lib/puppet/defaults.rb:482
687
+ #: ../lib/puppet/defaults.rb:486
688
688
  msgid "Convert custom terminus to hiera 5 API."
689
689
  msgstr ""
690
690
 
691
691
  #. TRANSLATORS 'environment_data_provider' is a setting and should not be translated
692
- #: ../lib/puppet/defaults.rb:641
692
+ #: ../lib/puppet/defaults.rb:645
693
693
  msgid "Setting 'environment_data_provider' is deprecated."
694
694
  msgstr ""
695
695
 
696
- #: ../lib/puppet/defaults.rb:743
696
+ #: ../lib/puppet/defaults.rb:747
697
697
  msgid "Certificate names must be lower case"
698
698
  msgstr ""
699
699
 
700
- #: ../lib/puppet/defaults.rb:988 ../lib/puppet/settings/enum_setting.rb:13 ../lib/puppet/settings/symbolic_enum_setting.rb:14
700
+ #: ../lib/puppet/defaults.rb:992 ../lib/puppet/settings/enum_setting.rb:13 ../lib/puppet/settings/symbolic_enum_setting.rb:14
701
701
  msgid "Invalid value '%{value}' for parameter %{name}. Allowed values are '%{allowed_values}'"
702
702
  msgstr ""
703
703
 
704
- #: ../lib/puppet/defaults.rb:1059
704
+ #: ../lib/puppet/defaults.rb:1063
705
705
  msgid "The 'caprivatedir' setting is deprecated and will be removed in Puppet 6."
706
706
  msgstr ""
707
707
 
708
- #: ../lib/puppet/defaults.rb:1086
708
+ #: ../lib/puppet/defaults.rb:1090
709
709
  msgid "The 'capass' setting is deprecated and will be removed in Puppet 6."
710
710
  msgstr ""
711
711
 
712
- #: ../lib/puppet/defaults.rb:1326
712
+ #: ../lib/puppet/defaults.rb:1340
713
713
  msgid "The 'ca' setting is deprecated and will be removed in Puppet 6."
714
714
  msgstr ""
715
715
 
716
- #: ../lib/puppet/defaults.rb:1831 ../lib/puppet/settings.rb:1212
716
+ #: ../lib/puppet/defaults.rb:1854 ../lib/puppet/settings.rb:1212
717
717
  msgid "Setting %{name} is deprecated."
718
718
  msgstr ""
719
719
 
720
720
  #. TRANSLATORS 'pluginsync' is a setting and should not be translated
721
- #: ../lib/puppet/defaults.rb:1882
721
+ #: ../lib/puppet/defaults.rb:1905
722
722
  msgid "Setting 'pluginsync' is deprecated."
723
723
  msgstr ""
724
724
 
@@ -2514,7 +2514,7 @@ msgstr ""
2514
2514
  msgid "Could not find node '%{name}'; cannot compile"
2515
2515
  msgstr ""
2516
2516
 
2517
- #: ../lib/puppet/indirector/catalog/compiler.rb:413
2517
+ #: ../lib/puppet/indirector/catalog/compiler.rb:411
2518
2518
  msgid "Could not retrieve fact %{fact}"
2519
2519
  msgstr ""
2520
2520
 
@@ -4114,45 +4114,45 @@ msgstr ""
4114
4114
  msgid "Unrecognized option(s): %{opts}"
4115
4115
  msgstr ""
4116
4116
 
4117
- #: ../lib/puppet/network/http/connection.rb:210
4117
+ #: ../lib/puppet/network/http/connection.rb:214
4118
4118
  msgid "Too many HTTP redirections for %{host}:%{port}"
4119
4119
  msgstr ""
4120
4120
 
4121
4121
  #. TRANSLATORS: Used in the phrase:
4122
4122
  #. "Received a response from the remote server."
4123
- #: ../lib/puppet/network/http/connection.rb:241
4123
+ #: ../lib/puppet/network/http/connection.rb:245
4124
4124
  msgid "the remote server"
4125
4125
  msgstr ""
4126
4126
 
4127
- #: ../lib/puppet/network/http/connection.rb:245
4127
+ #: ../lib/puppet/network/http/connection.rb:249
4128
4128
  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."
4129
4129
  msgstr ""
4130
4130
 
4131
- #: ../lib/puppet/network/http/connection.rb:256
4131
+ #: ../lib/puppet/network/http/connection.rb:260
4132
4132
  msgid "Received a %{status_code} response from %{server_hostname}. Sleeping for %{retry_sleep} seconds before retrying the request."
4133
4133
  msgstr ""
4134
4134
 
4135
- #: ../lib/puppet/network/http/connection.rb:317
4135
+ #: ../lib/puppet/network/http/connection.rb:321
4136
4136
  msgid "request %{uri} interrupted after %{elapsed} seconds"
4137
4137
  msgstr ""
4138
4138
 
4139
- #: ../lib/puppet/network/http/connection.rb:319
4139
+ #: ../lib/puppet/network/http/connection.rb:323
4140
4140
  msgid "request %{uri} timed out after %{elapsed} seconds"
4141
4141
  msgstr ""
4142
4142
 
4143
- #: ../lib/puppet/network/http/connection.rb:321
4143
+ #: ../lib/puppet/network/http/connection.rb:325
4144
4144
  msgid "request %{uri} failed: %{msg}"
4145
4145
  msgstr ""
4146
4146
 
4147
- #: ../lib/puppet/network/http/connection.rb:346 ../lib/puppet/ssl/validator/default_validator.rb:101
4147
+ #: ../lib/puppet/network/http/connection.rb:350 ../lib/puppet/ssl/validator/default_validator.rb:101
4148
4148
  msgid "expected one of %{certnames}"
4149
4149
  msgstr ""
4150
4150
 
4151
- #: ../lib/puppet/network/http/connection.rb:348 ../lib/puppet/ssl/validator/default_validator.rb:103
4151
+ #: ../lib/puppet/network/http/connection.rb:352 ../lib/puppet/ssl/validator/default_validator.rb:103
4152
4152
  msgid "expected %{certname}"
4153
4153
  msgstr ""
4154
4154
 
4155
- #: ../lib/puppet/network/http/connection.rb:351 ../lib/puppet/ssl/validator/default_validator.rb:106
4155
+ #: ../lib/puppet/network/http/connection.rb:355 ../lib/puppet/ssl/validator/default_validator.rb:106
4156
4156
  msgid "Server hostname '%{host}' did not match server certificate; %{expected_certnames}"
4157
4157
  msgstr ""
4158
4158
 
@@ -4200,7 +4200,7 @@ msgstr ""
4200
4200
  msgid "Could not resolve %{ip}: %{detail}"
4201
4201
  msgstr ""
4202
4202
 
4203
- #: ../lib/puppet/network/http/pool.rb:65
4203
+ #: ../lib/puppet/network/http/pool.rb:68
4204
4204
  msgid "Failed to close connection for %{site}: %{detail}"
4205
4205
  msgstr ""
4206
4206
 
@@ -6950,27 +6950,31 @@ msgstr ""
6950
6950
  msgid "Could not perform network device prefetch: %{detail}"
6951
6951
  msgstr ""
6952
6952
 
6953
- #: ../lib/puppet/provider/package/aix.rb:37
6953
+ #: ../lib/puppet/provider/package/aix.rb:46
6954
6954
  msgid "The aix provider can only be used by root"
6955
6955
  msgstr ""
6956
6956
 
6957
- #: ../lib/puppet/provider/package/aix.rb:79 ../lib/puppet/provider/package/nim.rb:53
6957
+ #: ../lib/puppet/provider/package/aix.rb:88 ../lib/puppet/provider/package/nim.rb:53
6958
6958
  msgid "Failed to uninstall package '%{name}'"
6959
6959
  msgstr ""
6960
6960
 
6961
- #: ../lib/puppet/provider/package/aix.rb:85
6961
+ #: ../lib/puppet/provider/package/aix.rb:94
6962
6962
  msgid "A directory is required which will be used to find packages"
6963
6963
  msgstr ""
6964
6964
 
6965
- #: ../lib/puppet/provider/package/aix.rb:97
6965
+ #: ../lib/puppet/provider/package/aix.rb:106
6966
6966
  msgid "aix package provider is unable to downgrade packages"
6967
6967
  msgstr ""
6968
6968
 
6969
- #: ../lib/puppet/provider/package/aix.rb:116
6969
+ #: ../lib/puppet/provider/package/aix.rb:111
6970
+ msgid "Package '%{name}' is in a %{status} state and requires manual intervention"
6971
+ msgstr ""
6972
+
6973
+ #: ../lib/puppet/provider/package/aix.rb:131
6970
6974
  msgid "Could not list installed Packages: %{detail}"
6971
6975
  msgstr ""
6972
6976
 
6973
- #: ../lib/puppet/provider/package/aix.rb:139 ../lib/puppet/provider/package/yum.rb:252
6977
+ #: ../lib/puppet/provider/package/aix.rb:154 ../lib/puppet/provider/package/yum.rb:255
6974
6978
  msgid "Tried to get latest on a missing package"
6975
6979
  msgstr ""
6976
6980
 
@@ -7002,7 +7006,7 @@ msgstr ""
7002
7006
  msgid "No responsefile specified or non existent, not preseeding anything"
7003
7007
  msgstr ""
7004
7008
 
7005
- #: ../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
7009
+ #: ../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:109
7006
7010
  msgid "Could not find package %{name}"
7007
7011
  msgstr ""
7008
7012
 
@@ -7321,23 +7325,23 @@ msgstr ""
7321
7325
  msgid "Don't know how to install '%{source}'"
7322
7326
  msgstr ""
7323
7327
 
7324
- #: ../lib/puppet/provider/package/yum.rb:29
7328
+ #: ../lib/puppet/provider/package/yum.rb:31
7325
7329
  msgid "The yum provider can only be used as root"
7326
7330
  msgstr ""
7327
7331
 
7328
- #: ../lib/puppet/provider/package/yum.rb:83
7332
+ #: ../lib/puppet/provider/package/yum.rb:85
7329
7333
  msgid "Could not check for updates, '%{cmd} check-update' exited with %{status}"
7330
7334
  msgstr ""
7331
7335
 
7332
- #: ../lib/puppet/provider/package/yum.rb:117
7336
+ #: ../lib/puppet/provider/package/yum.rb:120
7333
7337
  msgid "Failed to parse package name and architecture from '%{pkgname}'"
7334
7338
  msgstr ""
7335
7339
 
7336
- #: ../lib/puppet/provider/package/yum.rb:226
7340
+ #: ../lib/puppet/provider/package/yum.rb:229
7337
7341
  msgid "Could not find package %{wanted}"
7338
7342
  msgstr ""
7339
7343
 
7340
- #: ../lib/puppet/provider/package/yum.rb:237
7344
+ #: ../lib/puppet/provider/package/yum.rb:240
7341
7345
  msgid "Failed to update to version %{should}, got version %{version} instead"
7342
7346
  msgstr ""
7343
7347
 
@@ -7373,7 +7377,7 @@ msgstr ""
7373
7377
  msgid "Somehow got told to prefetch with no resource set"
7374
7378
  msgstr ""
7375
7379
 
7376
- #: ../lib/puppet/provider/selmodule/semodule.rb:136
7380
+ #: ../lib/puppet/provider/selmodule/semodule.rb:150
7377
7381
  msgid "Could not list policy modules: \"%{selmodule_command}\" failed with \"%{selmod_output}\""
7378
7382
  msgstr ""
7379
7383
 
@@ -8701,82 +8705,82 @@ msgstr ""
8701
8705
  msgid "File paths must be fully qualified, not '%{path}'"
8702
8706
  msgstr ""
8703
8707
 
8704
- #: ../lib/puppet/type/file.rb:124
8708
+ #: ../lib/puppet/type/file.rb:137
8705
8709
  msgid "Invalid backup type %{value}"
8706
8710
  msgstr ""
8707
8711
 
8708
- #: ../lib/puppet/type/file.rb:168 ../lib/puppet/type/tidy.rb:48
8712
+ #: ../lib/puppet/type/file.rb:181 ../lib/puppet/type/tidy.rb:48
8709
8713
  msgid "Invalid recurse value %{value}"
8710
8714
  msgstr ""
8711
8715
 
8712
- #: ../lib/puppet/type/file.rb:200
8716
+ #: ../lib/puppet/type/file.rb:213
8713
8717
  msgid "Invalid recurselimit value %{value}"
8714
8718
  msgstr ""
8715
8719
 
8716
- #: ../lib/puppet/type/file.rb:370
8720
+ #: ../lib/puppet/type/file.rb:383
8717
8721
  msgid "You cannot specify more than one of %{creators}"
8718
8722
  msgstr ""
8719
8723
 
8720
- #: ../lib/puppet/type/file.rb:372
8724
+ #: ../lib/puppet/type/file.rb:385
8721
8725
  msgid "You cannot specify a remote recursion without a source"
8722
8726
  msgstr ""
8723
8727
 
8724
- #: ../lib/puppet/type/file.rb:374
8728
+ #: ../lib/puppet/type/file.rb:387
8725
8729
  msgid "You cannot specify source when using checksum 'none'"
8726
8730
  msgstr ""
8727
8731
 
8728
- #: ../lib/puppet/type/file.rb:377
8732
+ #: ../lib/puppet/type/file.rb:390
8729
8733
  msgid "You cannot specify content when using checksum '%{checksum_type}'"
8730
8734
  msgstr ""
8731
8735
 
8732
- #: ../lib/puppet/type/file.rb:380
8736
+ #: ../lib/puppet/type/file.rb:393
8733
8737
  msgid "Possible error: recurselimit is set but not recurse, no recursion will happen"
8734
8738
  msgstr ""
8735
8739
 
8736
- #: ../lib/puppet/type/file.rb:388
8740
+ #: ../lib/puppet/type/file.rb:401
8737
8741
  msgid "Checksum value '%{value}' is not a valid checksum type %{checksum}"
8738
8742
  msgstr ""
8739
8743
 
8740
- #: ../lib/puppet/type/file.rb:391
8744
+ #: ../lib/puppet/type/file.rb:404
8741
8745
  msgid "Checksum value is ignored unless content or source are specified"
8742
8746
  msgstr ""
8743
8747
 
8744
- #: ../lib/puppet/type/file.rb:429
8748
+ #: ../lib/puppet/type/file.rb:442
8745
8749
  msgid "Can not find filebucket for backups without a catalog"
8746
8750
  msgstr ""
8747
8751
 
8748
- #: ../lib/puppet/type/file.rb:433
8752
+ #: ../lib/puppet/type/file.rb:446
8749
8753
  msgid "Could not find filebucket %{backup} specified in backup"
8750
8754
  msgstr ""
8751
8755
 
8752
- #: ../lib/puppet/type/file.rb:728
8756
+ #: ../lib/puppet/type/file.rb:741
8753
8757
  msgid "Could not back up file of type %{current_type}"
8754
8758
  msgstr ""
8755
8759
 
8756
- #: ../lib/puppet/type/file.rb:743
8760
+ #: ../lib/puppet/type/file.rb:756
8757
8761
  msgid "Could not remove files of type %{current_type}"
8758
8762
  msgstr ""
8759
8763
 
8760
8764
  #. TRANSLATORS "source_permissions => ignore" should not be translated
8761
- #: ../lib/puppet/type/file.rb:754
8765
+ #: ../lib/puppet/type/file.rb:767
8762
8766
  msgid "Copying owner/mode/group from the source file on Windows is not supported; use source_permissions => ignore."
8763
8767
  msgstr ""
8764
8768
 
8765
8769
  #. TRANSLATORS "stat" is a program name and should not be translated
8766
- #: ../lib/puppet/type/file.rb:835 ../lib/puppet/type/k5login.rb:97 ../lib/puppet/type/tidy.rb:345
8770
+ #: ../lib/puppet/type/file.rb:848 ../lib/puppet/type/k5login.rb:97 ../lib/puppet/type/tidy.rb:345
8767
8771
  msgid "Could not stat; permission denied"
8768
8772
  msgstr ""
8769
8773
 
8770
- #: ../lib/puppet/type/file.rb:960
8774
+ #: ../lib/puppet/type/file.rb:973
8771
8775
  msgid "Not removing directory; use 'force' to override"
8772
8776
  msgstr ""
8773
8777
 
8774
8778
  #. TRANSLATORS refers to a file which could not be backed up
8775
- #: ../lib/puppet/type/file.rb:985
8779
+ #: ../lib/puppet/type/file.rb:998
8776
8780
  msgid "Could not back up; will not remove"
8777
8781
  msgstr ""
8778
8782
 
8779
- #: ../lib/puppet/type/file.rb:999
8783
+ #: ../lib/puppet/type/file.rb:1012
8780
8784
  msgid "File written to disk did not match checksum; discarding changes (%{content_checksum} vs %{newsum})"
8781
8785
  msgstr ""
8782
8786
 
@@ -8942,11 +8946,15 @@ msgstr ""
8942
8946
  msgid "Name must be a String not %{klass}"
8943
8947
  msgstr ""
8944
8948
 
8945
- #: ../lib/puppet/type/package.rb:635
8949
+ #: ../lib/puppet/type/package.rb:503
8950
+ msgid "Cannot have both `enable_only => true` and `flavor`"
8951
+ msgstr ""
8952
+
8953
+ #: ../lib/puppet/type/package.rb:655
8946
8954
  msgid "Invalid hold value %{value}. %{doc}"
8947
8955
  msgstr ""
8948
8956
 
8949
- #: ../lib/puppet/type/package.rb:665
8957
+ #: ../lib/puppet/type/package.rb:685
8950
8958
  msgid "You cannot use \"mark\" property while \"ensure\" is one of [\"absent\", \"purged\", \"held\"]"
8951
8959
  msgstr ""
8952
8960
 
@@ -10229,23 +10237,23 @@ msgstr ""
10229
10237
  msgid "Failed to get child process exit code"
10230
10238
  msgstr ""
10231
10239
 
10232
- #: ../lib/puppet/util/windows/process.rb:287
10240
+ #: ../lib/puppet/util/windows/process.rb:288
10233
10241
  msgid "GetVersionEx failed"
10234
10242
  msgstr ""
10235
10243
 
10236
- #: ../lib/puppet/util/windows/process.rb:316
10244
+ #: ../lib/puppet/util/windows/process.rb:317
10237
10245
  msgid "Discarding environment variable %{string} which contains invalid bytes"
10238
10246
  msgstr ""
10239
10247
 
10240
- #: ../lib/puppet/util/windows/process.rb:332
10248
+ #: ../lib/puppet/util/windows/process.rb:333
10241
10249
  msgid "environment variable name must not be nil or empty"
10242
10250
  msgstr ""
10243
10251
 
10244
- #: ../lib/puppet/util/windows/process.rb:337
10252
+ #: ../lib/puppet/util/windows/process.rb:338
10245
10253
  msgid "Failed to remove environment variable: %{name}"
10246
10254
  msgstr ""
10247
10255
 
10248
- #: ../lib/puppet/util/windows/process.rb:342
10256
+ #: ../lib/puppet/util/windows/process.rb:343
10249
10257
  msgid "Failed to set environment variable: %{name}"
10250
10258
  msgstr ""
10251
10259
 
@@ -10297,77 +10305,77 @@ msgstr ""
10297
10305
  msgid "Failed to import root certificate: %{detail}"
10298
10306
  msgstr ""
10299
10307
 
10300
- #: ../lib/puppet/util/windows/security.rb:173
10308
+ #: ../lib/puppet/util/windows/security.rb:174
10301
10309
  msgid "Failed to get volume information"
10302
10310
  msgstr ""
10303
10311
 
10304
10312
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10305
- #: ../lib/puppet/util/windows/security.rb:339
10313
+ #: ../lib/puppet/util/windows/security.rb:340
10306
10314
  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"
10307
10315
  msgstr ""
10308
10316
 
10309
10317
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10310
- #: ../lib/puppet/util/windows/security.rb:342
10318
+ #: ../lib/puppet/util/windows/security.rb:343
10311
10319
  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"
10312
10320
  msgstr ""
10313
10321
 
10314
10322
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10315
- #: ../lib/puppet/util/windows/security.rb:345
10323
+ #: ../lib/puppet/util/windows/security.rb:346
10316
10324
  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"
10317
10325
  msgstr ""
10318
10326
 
10319
10327
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10320
- #: ../lib/puppet/util/windows/security.rb:355
10328
+ #: ../lib/puppet/util/windows/security.rb:356
10321
10329
  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"
10322
10330
  msgstr ""
10323
10331
 
10324
10332
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10325
- #: ../lib/puppet/util/windows/security.rb:358
10333
+ #: ../lib/puppet/util/windows/security.rb:359
10326
10334
  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"
10327
10335
  msgstr ""
10328
10336
 
10329
10337
  #. TRANSLATORS 'SYSTEM' is a Windows name and should not be translated
10330
- #: ../lib/puppet/util/windows/security.rb:361
10338
+ #: ../lib/puppet/util/windows/security.rb:362
10331
10339
  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"
10332
10340
  msgstr ""
10333
10341
 
10334
- #: ../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
10342
+ #: ../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
10335
10343
  msgid "Invalid SID"
10336
10344
  msgstr ""
10337
10345
 
10338
- #: ../lib/puppet/util/windows/security.rb:436 ../lib/puppet/util/windows/security.rb:453
10346
+ #: ../lib/puppet/util/windows/security.rb:437 ../lib/puppet/util/windows/security.rb:454
10339
10347
  msgid "Failed to add access control entry"
10340
10348
  msgstr ""
10341
10349
 
10342
- #: ../lib/puppet/util/windows/security.rb:464 ../lib/puppet/util/windows/security.rb:646
10350
+ #: ../lib/puppet/util/windows/security.rb:465 ../lib/puppet/util/windows/security.rb:647
10343
10351
  msgid "Invalid DACL"
10344
10352
  msgstr ""
10345
10353
 
10346
- #: ../lib/puppet/util/windows/security.rb:487
10354
+ #: ../lib/puppet/util/windows/security.rb:488
10347
10355
  msgid "Unsupported access control entry type: 0x%{type}"
10348
10356
  msgstr ""
10349
10357
 
10350
- #: ../lib/puppet/util/windows/security.rb:521
10358
+ #: ../lib/puppet/util/windows/security.rb:522
10351
10359
  msgid "Failed to open '%{path}'"
10352
10360
  msgstr ""
10353
10361
 
10354
- #: ../lib/puppet/util/windows/security.rb:568
10362
+ #: ../lib/puppet/util/windows/security.rb:569
10355
10363
  msgid "Failed to adjust process privileges"
10356
10364
  msgstr ""
10357
10365
 
10358
- #: ../lib/puppet/util/windows/security.rb:598
10366
+ #: ../lib/puppet/util/windows/security.rb:599
10359
10367
  msgid "Failed to get security information"
10360
10368
  msgstr ""
10361
10369
 
10362
- #: ../lib/puppet/util/windows/security.rb:609
10370
+ #: ../lib/puppet/util/windows/security.rb:610
10363
10371
  msgid "Failed to get security descriptor control"
10364
10372
  msgstr ""
10365
10373
 
10366
- #: ../lib/puppet/util/windows/security.rb:642
10374
+ #: ../lib/puppet/util/windows/security.rb:643
10367
10375
  msgid "Failed to initialize ACL"
10368
10376
  msgstr ""
10369
10377
 
10370
- #: ../lib/puppet/util/windows/security.rb:681
10378
+ #: ../lib/puppet/util/windows/security.rb:682
10371
10379
  msgid "Failed to set security information"
10372
10380
  msgstr ""
10373
10381