bolt 0.21.1 → 0.21.2

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

Potentially problematic release.


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

Files changed (105) hide show
  1. checksums.yaml +5 -5
  2. data/lib/bolt/applicator.rb +56 -0
  3. data/lib/bolt/error.rb +6 -0
  4. data/lib/bolt/pal.rb +8 -1
  5. data/lib/bolt/transport/winrm.rb +4 -1
  6. data/lib/bolt/version.rb +1 -1
  7. data/libexec/apply_catalog.rb +61 -0
  8. data/{exe → libexec}/bolt_catalog +0 -0
  9. data/vendored/puppet/lib/puppet/application.rb +8 -1
  10. data/vendored/puppet/lib/puppet/application/device.rb +24 -28
  11. data/vendored/puppet/lib/puppet/application/doc.rb +4 -2
  12. data/vendored/puppet/lib/puppet/configurer/plugin_handler.rb +1 -2
  13. data/vendored/puppet/lib/puppet/datatypes.rb +1 -1
  14. data/vendored/puppet/lib/puppet/defaults.rb +2 -6
  15. data/vendored/puppet/lib/puppet/environments.rb +4 -10
  16. data/vendored/puppet/lib/puppet/error.rb +1 -1
  17. data/vendored/puppet/lib/puppet/etc.rb +4 -5
  18. data/vendored/puppet/lib/puppet/face/config.rb +1 -1
  19. data/vendored/puppet/lib/puppet/face/module/build.rb +5 -55
  20. data/vendored/puppet/lib/puppet/face/module/generate.rb +5 -247
  21. data/vendored/puppet/lib/puppet/gettext/config.rb +28 -5
  22. data/vendored/puppet/lib/puppet/indirector/catalog/compiler.rb +5 -7
  23. data/vendored/puppet/lib/puppet/indirector/rest.rb +7 -56
  24. data/vendored/puppet/lib/puppet/indirector/terminus.rb +1 -1
  25. data/vendored/puppet/lib/puppet/interface.rb +1 -1
  26. data/vendored/puppet/lib/puppet/interface/face_collection.rb +3 -1
  27. data/vendored/puppet/lib/puppet/metatype/manager.rb +2 -2
  28. data/vendored/puppet/lib/puppet/module_tool/applications.rb +0 -1
  29. data/vendored/puppet/lib/puppet/module_tool/applications/application.rb +1 -1
  30. data/vendored/puppet/lib/puppet/network/http/connection.rb +2 -23
  31. data/vendored/puppet/lib/puppet/network/http/factory.rb +2 -6
  32. data/vendored/puppet/lib/puppet/node.rb +1 -2
  33. data/vendored/puppet/lib/puppet/node/environment.rb +5 -1
  34. data/vendored/puppet/lib/puppet/parser/functions.rb +35 -3
  35. data/vendored/puppet/lib/puppet/pops/evaluator/evaluator_impl.rb +12 -0
  36. data/vendored/puppet/lib/puppet/pops/loader/static_loader.rb +0 -5
  37. data/vendored/puppet/lib/puppet/pops/model/ast.rb +107 -0
  38. data/vendored/puppet/lib/puppet/pops/model/factory.rb +11 -0
  39. data/vendored/puppet/lib/puppet/pops/model/model_label_provider.rb +2 -0
  40. data/vendored/puppet/lib/puppet/pops/parser/eparser.rb +1519 -1485
  41. data/vendored/puppet/lib/puppet/pops/parser/lexer2.rb +1 -1
  42. data/vendored/puppet/lib/puppet/pops/puppet_stack.rb +1 -1
  43. data/vendored/puppet/lib/puppet/pops/serialization/to_data_converter.rb +1 -1
  44. data/vendored/puppet/lib/puppet/pops/types/p_binary_type.rb +1 -2
  45. data/vendored/puppet/lib/puppet/pops/types/types.rb +1 -24
  46. data/vendored/puppet/lib/puppet/pops/validation/checker4_0.rb +5 -0
  47. data/vendored/puppet/lib/puppet/pops/validation/tasks_checker.rb +31 -4
  48. data/vendored/puppet/lib/puppet/provider.rb +12 -1
  49. data/vendored/puppet/lib/puppet/provider/package/dnf.rb +2 -1
  50. data/vendored/puppet/lib/puppet/provider/selmodule/semodule.rb +1 -1
  51. data/vendored/puppet/lib/puppet/provider/service/base.rb +1 -1
  52. data/vendored/puppet/lib/puppet/provider/service/systemd.rb +3 -1
  53. data/vendored/puppet/lib/puppet/provider/service/upstart.rb +2 -0
  54. data/vendored/puppet/lib/puppet/reference/configuration.rb +6 -0
  55. data/vendored/puppet/lib/puppet/reports.rb +2 -2
  56. data/vendored/puppet/lib/puppet/resource/status.rb +2 -0
  57. data/vendored/puppet/lib/puppet/resource/type_collection.rb +1 -1
  58. data/vendored/puppet/lib/puppet/rest/client.rb +28 -24
  59. data/vendored/puppet/lib/puppet/rest/response.rb +5 -0
  60. data/vendored/puppet/lib/puppet/rest/route.rb +13 -31
  61. data/vendored/puppet/lib/puppet/rest/routes.rb +65 -5
  62. data/vendored/puppet/lib/puppet/rest/ssl_context.rb +13 -0
  63. data/vendored/puppet/lib/puppet/settings.rb +6 -0
  64. data/vendored/puppet/lib/puppet/settings/config_file.rb +1 -2
  65. data/vendored/puppet/lib/puppet/ssl/certificate_request.rb +5 -1
  66. data/vendored/puppet/lib/puppet/ssl/host.rb +148 -43
  67. data/vendored/puppet/lib/puppet/ssl/oids.rb +1 -1
  68. data/vendored/puppet/lib/puppet/test/test_helper.rb +3 -0
  69. data/vendored/puppet/lib/puppet/transaction/event_manager.rb +3 -1
  70. data/vendored/puppet/lib/puppet/transaction/report.rb +1 -1
  71. data/vendored/puppet/lib/puppet/type.rb +2 -2
  72. data/vendored/puppet/lib/puppet/type/file/content.rb +2 -3
  73. data/vendored/puppet/lib/puppet/type/schedule.rb +33 -84
  74. data/vendored/puppet/lib/puppet/type/user.rb +1 -1
  75. data/vendored/puppet/lib/puppet/util.rb +5 -0
  76. data/vendored/puppet/lib/puppet/util/autoload.rb +39 -31
  77. data/vendored/puppet/lib/puppet/util/character_encoding.rb +0 -22
  78. data/vendored/puppet/lib/puppet/util/command_line.rb +0 -1
  79. data/vendored/puppet/lib/puppet/util/connection.rb +74 -0
  80. data/vendored/puppet/lib/puppet/util/feature.rb +2 -2
  81. data/vendored/puppet/lib/puppet/util/instance_loader.rb +1 -19
  82. data/vendored/puppet/lib/puppet/util/json.rb +0 -8
  83. data/vendored/puppet/lib/puppet/util/log/destinations.rb +1 -1
  84. data/vendored/puppet/lib/puppet/util/network_device/base.rb +1 -1
  85. data/vendored/puppet/lib/puppet/util/platform.rb +3 -0
  86. data/vendored/puppet/lib/puppet/util/rdoc/parser/puppet_parser_core.rb +1 -1
  87. data/vendored/puppet/lib/puppet/util/reference.rb +2 -2
  88. data/vendored/puppet/lib/puppet/util/rubygems.rb +1 -13
  89. data/vendored/puppet/lib/puppet/util/ssl.rb +40 -1
  90. data/vendored/puppet/lib/puppet/util/windows.rb +1 -0
  91. data/vendored/puppet/lib/puppet/util/windows/file.rb +18 -0
  92. data/vendored/puppet/lib/puppet/util/windows/security.rb +26 -14
  93. metadata +8 -73
  94. data/vendored/puppet/lib/puppet/module_tool/applications/builder.rb +0 -152
  95. data/vendored/puppet/lib/puppet/module_tool/skeleton/templates/generator/spec/spec_helper.rb +0 -1
  96. data/vendored/puppet/lib/puppet/provider/mailalias/aliases.rb +0 -50
  97. data/vendored/puppet/lib/puppet/provider/maillist/mailman.rb +0 -108
  98. data/vendored/puppet/lib/puppet/provider/zfs/zfs.rb +0 -108
  99. data/vendored/puppet/lib/puppet/provider/zone/solaris.rb +0 -364
  100. data/vendored/puppet/lib/puppet/provider/zpool/zpool.rb +0 -125
  101. data/vendored/puppet/lib/puppet/type/mailalias.rb +0 -46
  102. data/vendored/puppet/lib/puppet/type/maillist.rb +0 -62
  103. data/vendored/puppet/lib/puppet/type/zfs.rb +0 -154
  104. data/vendored/puppet/lib/puppet/type/zone.rb +0 -382
  105. data/vendored/puppet/lib/puppet/type/zpool.rb +0 -91
@@ -49,14 +49,14 @@ class Puppet::Util::Feature
49
49
  end
50
50
 
51
51
  def load
52
- @loader.loadall
52
+ @loader.loadall(Puppet.lookup(:current_environment))
53
53
  end
54
54
 
55
55
  def method_missing(method, *args)
56
56
  return super unless method.to_s =~ /\?$/
57
57
 
58
58
  feature = method.to_s.sub(/\?$/, '')
59
- @loader.load(feature)
59
+ @loader.load(feature, Puppet.lookup(:current_environment))
60
60
 
61
61
  respond_to?(method) && self.send(method)
62
62
  end
@@ -32,24 +32,6 @@ module Puppet::Util::InstanceLoader
32
32
  @instances[type].keys
33
33
  end
34
34
 
35
- # Collect the docs for all of our instances.
36
- def instance_docs(type)
37
- docs = ""
38
-
39
- # Load all instances.
40
- instance_loader(type).loadall
41
-
42
- # Use this method so they all get loaded
43
- loaded_instances(type).sort { |a,b| a.to_s <=> b.to_s }.each do |name|
44
- mod = self.loaded_instance(type, name)
45
- docs << "#{name}\n#{"-" * name.to_s.length}\n"
46
-
47
- docs << Puppet::Util::Docs.scrub(mod.doc) << "\n\n"
48
- end
49
-
50
- docs
51
- end
52
-
53
35
  # Return the instance hash for our type.
54
36
  def instance_hash(type)
55
37
  @instances[type.intern]
@@ -65,7 +47,7 @@ module Puppet::Util::InstanceLoader
65
47
  name = name.intern
66
48
  return nil unless instances = instance_hash(type)
67
49
  unless instances.include? name
68
- if instance_loader(type).load(name)
50
+ if instance_loader(type).load(name, Puppet.lookup(:current_environment))
69
51
  unless instances.include? name
70
52
  Puppet.warning(_("Loaded %{type} file for %{name} but %{type} was not defined") % { type: type, name: name })
71
53
  return nil
@@ -59,14 +59,6 @@ module Puppet::Util
59
59
 
60
60
  def self.dump(object, options = {})
61
61
  if defined? MultiJson
62
- # MultiJson calls `merge` on the options it is passed, which relies
63
- # on the options' defining a `to_hash` method. In Ruby 1.9.3,
64
- # JSON::Ext::Generator::State only defines `to_h`, not `to_hash`, so we
65
- # need to convert it first, similar to what is done in the `else` block
66
- # below. Later versions of the JSON gem alias `to_h` to `to_hash`, so this
67
- # can be removed once we drop Ruby 1.9.3 support.
68
- options = options.to_h if options.class.name == "JSON::Ext::Generator::State"
69
-
70
62
  MultiJson.dump(object, options)
71
63
  else
72
64
  options.merge!(::JSON::PRETTY_STATE_PROTOTYPE.to_h) if options.delete(:pretty)
@@ -109,7 +109,7 @@ Puppet::Util::Log.newdesttype :file do
109
109
  def handle(msg)
110
110
  if @json > 0
111
111
  @json > 1 ? @file.puts(',') : @json = 2
112
- Puppet::Util::Json.dump(msg.to_structured_hash, @file)
112
+ @file.puts(Puppet::Util::Json.dump(msg.to_structured_hash))
113
113
  else
114
114
  @file.puts("#{msg.time} #{msg.source} (#{msg.level}): #{msg}")
115
115
  end
@@ -12,7 +12,7 @@ class Puppet::Util::NetworkDevice::Base
12
12
 
13
13
  @autoloader = Puppet::Util::Autoload.new(self, "puppet/util/network_device/transport")
14
14
 
15
- if @autoloader.load(@url.scheme)
15
+ if @autoloader.load(@url.scheme, Puppet.lookup(:current_environment))
16
16
  @transport = Puppet::Util::NetworkDevice::Transport.const_get(@url.scheme.capitalize).new(options[:debug])
17
17
  @transport.host = @url.host
18
18
  @transport.port = @url.port || case @url.scheme ; when "ssh" ; 22 ; when "telnet" ; 23 ; end
@@ -30,6 +30,9 @@ module Puppet
30
30
  end
31
31
  module_function :fips_enabled?
32
32
 
33
+ def self.jruby?
34
+ RUBY_PLATFORM == 'java'
35
+ end
33
36
  end
34
37
  end
35
38
  end
@@ -127,7 +127,7 @@ module RDoc::PuppetParserCore
127
127
  container, name = get_class_or_module(container,name)
128
128
  mod = container.add_module(RDoc::PuppetModule, name)
129
129
  mod.record_location(@top_level)
130
- mod.add_comment(comment, @input_file_name)
130
+ mod.add_comment(comment, @top_level)
131
131
 
132
132
  if @input_file_name =~ /\.rb$/
133
133
  parse_plugins(mod)
@@ -56,8 +56,8 @@ class Puppet::Util::Reference
56
56
 
57
57
  end
58
58
 
59
- def self.references
60
- instance_loader(:reference).loadall
59
+ def self.references(environment)
60
+ instance_loader(:reference).loadall(environment)
61
61
  loaded_instances(:reference).sort { |a,b| a.to_s <=> b.to_s }
62
62
  end
63
63
 
@@ -21,7 +21,7 @@ module Puppet::Util::RubyGems
21
21
  # @api private
22
22
  def source
23
23
  if has_rubygems?
24
- Gem::Specification.respond_to?(:latest_specs) ? Gems18Source : OldGemsSource
24
+ Gems18Source
25
25
  else
26
26
  NoGemsSource
27
27
  end
@@ -51,18 +51,6 @@ module Puppet::Util::RubyGems
51
51
  end
52
52
  end
53
53
 
54
- # RubyGems < 1.8.0
55
- # @api private
56
- class OldGemsSource < Source
57
- def directories
58
- @paths ||= Gem.latest_load_paths
59
- end
60
-
61
- def clear_paths
62
- Gem.clear_paths
63
- end
64
- end
65
-
66
54
  # @api private
67
55
  class NoGemsSource < Source
68
56
  def directories
@@ -1,6 +1,8 @@
1
+ require 'openssl'
2
+
1
3
  ##
2
4
  # SSL is a private module with class methods that help work with x.509
3
- # subjects.
5
+ # subjects and errors.
4
6
  #
5
7
  # @api private
6
8
  module Puppet::Util::SSL
@@ -50,4 +52,41 @@ module Puppet::Util::SSL
50
52
  def self.is_possibly_valid_dn?(dn)
51
53
  dn =~ /=/
52
54
  end
55
+
56
+ ##
57
+ # Extract and format meaningful error messages from OpenSSL::OpenSSLErrors
58
+ # and a Validator. Re-raises the error if unknown.
59
+ #
60
+ # @api private
61
+ #
62
+ # @param [OpenSSL::OpenSSLError] error An error thrown during creating a
63
+ # connection
64
+ # @param [Puppet::SSL::DefaultValidator] verifier A Validator who may have
65
+ # invalidated the connection
66
+ # @param [String] host The DNS name of the other end of the SSL connection
67
+ #
68
+ # @raises [Puppet::Error, OpenSSL::OpenSSLError]
69
+ def self.handle_connection_error(error, verifier, host)
70
+ # can be nil
71
+ peer_cert = verifier.peer_certs.last
72
+
73
+ if error.message.include? "certificate verify failed"
74
+ msg = error.message
75
+ msg << ": [" + verifier.verify_errors.join('; ') + "]"
76
+ raise Puppet::Error, msg, error.backtrace
77
+ elsif peer_cert && !OpenSSL::SSL.verify_certificate_identity(peer_cert, host)
78
+ valid_certnames = [peer_cert.subject.to_s.sub(/.*=/, ''),
79
+ *Puppet::SSL::Certificate.subject_alt_names_for(peer_cert)].uniq
80
+ if valid_certnames.size > 1
81
+ expected_certnames = _("expected one of %{certnames}") % { certnames: valid_certnames.join(', ') }
82
+ else
83
+ expected_certnames = _("expected %{certname}") % { certname: valid_certnames.first }
84
+ end
85
+
86
+ msg = _("Server hostname '%{host}' did not match server certificate; %{expected_certnames}") % { host: host, expected_certnames: expected_certnames }
87
+ raise Puppet::Error, msg, error.backtrace
88
+ else
89
+ raise error
90
+ end
91
+ end
53
92
  end
@@ -1,3 +1,4 @@
1
+ require 'puppet/util/platform'
1
2
  module Puppet::Util::Windows
2
3
  module ADSI
3
4
  class User; end
@@ -7,11 +7,29 @@ module Puppet::Util::Windows::File
7
7
 
8
8
  FILE_ATTRIBUTE_READONLY = 0x00000001
9
9
 
10
+ # https://msdn.microsoft.com/en-us/library/windows/desktop/aa379607(v=vs.85).aspx
11
+ # The right to use the object for synchronization. This enables a thread to
12
+ # wait until the object is in the signaled state. Some object types do not
13
+ # support this access right.
10
14
  SYNCHRONIZE = 0x100000
15
+ # The right to delete the object.
16
+ DELETE = 0x00010000
17
+ # The right to read the information in the object's security descriptor, not including the information in the system access control list (SACL).
18
+ # READ_CONTROL = 0x00020000
19
+ # The right to modify the discretionary access control list (DACL) in the object's security descriptor.
20
+ WRITE_DAC = 0x00040000
21
+ # The right to change the owner in the object's security descriptor.
22
+ WRITE_OWNER = 0x00080000
23
+
24
+ # Combines DELETE, READ_CONTROL, WRITE_DAC, and WRITE_OWNER access.
11
25
  STANDARD_RIGHTS_REQUIRED = 0xf0000
26
+ # Currently defined to equal READ_CONTROL.
12
27
  STANDARD_RIGHTS_READ = 0x20000
28
+ # Currently defined to equal READ_CONTROL.
13
29
  STANDARD_RIGHTS_WRITE = 0x20000
30
+ # Currently defined to equal READ_CONTROL.
14
31
  STANDARD_RIGHTS_EXECUTE = 0x20000
32
+ # Combines DELETE, READ_CONTROL, WRITE_DAC, WRITE_OWNER, and SYNCHRONIZE access.
15
33
  STANDARD_RIGHTS_ALL = 0x1F0000
16
34
  SPECIFIC_RIGHTS_ALL = 0xFFFF
17
35
 
@@ -283,6 +283,8 @@ module Puppet::Util::Windows::Security
283
283
  owner_allow = FILE::STANDARD_RIGHTS_ALL |
284
284
  FILE::FILE_READ_ATTRIBUTES |
285
285
  FILE::FILE_WRITE_ATTRIBUTES
286
+ # this prevents a mode that is not 7 from taking ownership of a file based
287
+ # on group membership and rewriting it / making it executable
286
288
  group_allow = FILE::STANDARD_RIGHTS_READ |
287
289
  FILE::FILE_READ_ATTRIBUTES |
288
290
  FILE::SYNCHRONIZE
@@ -304,6 +306,15 @@ module Puppet::Util::Windows::Security
304
306
  end
305
307
  end
306
308
 
309
+ # With a mode value of '7' for group / other, the value must then include
310
+ # additional perms beyond STANDARD_RIGHTS_READ to allow DACL modification
311
+ if ((mode & S_IRWXG) == S_IRWXG)
312
+ group_allow |= FILE::DELETE | FILE::WRITE_DAC | FILE::WRITE_OWNER
313
+ end
314
+ if ((mode & S_IRWXO) == S_IRWXO)
315
+ other_allow |= FILE::DELETE | FILE::WRITE_DAC | FILE::WRITE_OWNER
316
+ end
317
+
307
318
  if (mode & S_ISVTX).nonzero?
308
319
  nobody_allow |= FILE::FILE_APPEND_DATA;
309
320
  end
@@ -315,18 +326,16 @@ module Puppet::Util::Windows::Security
315
326
  system_allow = FILE::FILE_ALL_ACCESS
316
327
  end
317
328
 
318
- isdir = File.directory?(path)
319
-
320
- if isdir
321
- if (mode & (S_IWUSR | S_IXUSR)) == (S_IWUSR | S_IXUSR)
322
- owner_allow |= FILE::FILE_DELETE_CHILD
323
- end
324
- if (mode & (S_IWGRP | S_IXGRP)) == (S_IWGRP | S_IXGRP) && (mode & S_ISVTX) == 0
325
- group_allow |= FILE::FILE_DELETE_CHILD
326
- end
327
- if (mode & (S_IWOTH | S_IXOTH)) == (S_IWOTH | S_IXOTH) && (mode & S_ISVTX) == 0
328
- other_allow |= FILE::FILE_DELETE_CHILD
329
- end
329
+ # even though FILE_DELETE_CHILD only applies to directories, it can be set on files
330
+ # this is necessary to do to ensure a file ends up with (F) FullControl
331
+ if (mode & (S_IWUSR | S_IXUSR)) == (S_IWUSR | S_IXUSR)
332
+ owner_allow |= FILE::FILE_DELETE_CHILD
333
+ end
334
+ if (mode & (S_IWGRP | S_IXGRP)) == (S_IWGRP | S_IXGRP) && (mode & S_ISVTX) == 0
335
+ group_allow |= FILE::FILE_DELETE_CHILD
336
+ end
337
+ if (mode & (S_IWOTH | S_IXOTH)) == (S_IWOTH | S_IXOTH) && (mode & S_ISVTX) == 0
338
+ other_allow |= FILE::FILE_DELETE_CHILD
330
339
  end
331
340
 
332
341
  # if owner and group the same, then map group permissions to the one owner ACE
@@ -341,6 +350,7 @@ module Puppet::Util::Windows::Security
341
350
  FILE.remove_attributes(path, FILE::FILE_ATTRIBUTE_READONLY)
342
351
  end
343
352
 
353
+ isdir = File.directory?(path)
344
354
  dacl = Puppet::Util::Windows::AccessControlList.new
345
355
  dacl.allow(sd.owner, owner_allow)
346
356
  unless isownergroup
@@ -363,8 +373,10 @@ module Puppet::Util::Windows::Security
363
373
  dacl.allow(Puppet::Util::Windows::SID::CreatorGroup, group_allow, inherit)
364
374
 
365
375
  inherit = inherit_only | Puppet::Util::Windows::AccessControlEntry::OBJECT_INHERIT_ACE
366
- dacl.allow(Puppet::Util::Windows::SID::CreatorOwner, owner_allow & ~FILE::FILE_EXECUTE, inherit)
367
- dacl.allow(Puppet::Util::Windows::SID::CreatorGroup, group_allow & ~FILE::FILE_EXECUTE, inherit)
376
+ # allow any previously set bits *except* for these
377
+ perms_to_strip = ~(FILE::FILE_EXECUTE + FILE::WRITE_OWNER + FILE::WRITE_DAC)
378
+ dacl.allow(Puppet::Util::Windows::SID::CreatorOwner, owner_allow & perms_to_strip, inherit)
379
+ dacl.allow(Puppet::Util::Windows::SID::CreatorGroup, group_allow & perms_to_strip, inherit)
368
380
  end
369
381
 
370
382
  new_sd = Puppet::Util::Windows::SecurityDescriptor.new(sd.owner, sd.group, dacl, protected)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.1
4
+ version: 0.21.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-27 00:00:00.000000000 Z
11
+ date: 2018-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -206,62 +206,6 @@ dependencies:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
208
  version: 1.0.2
209
- - !ruby/object:Gem::Dependency
210
- name: win32-dir
211
- requirement: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - '='
214
- - !ruby/object:Gem::Version
215
- version: 0.4.9
216
- type: :runtime
217
- prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - '='
221
- - !ruby/object:Gem::Version
222
- version: 0.4.9
223
- - !ruby/object:Gem::Dependency
224
- name: win32-process
225
- requirement: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - '='
228
- - !ruby/object:Gem::Version
229
- version: 0.7.5
230
- type: :runtime
231
- prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- requirements:
234
- - - '='
235
- - !ruby/object:Gem::Version
236
- version: 0.7.5
237
- - !ruby/object:Gem::Dependency
238
- name: win32-security
239
- requirement: !ruby/object:Gem::Requirement
240
- requirements:
241
- - - '='
242
- - !ruby/object:Gem::Version
243
- version: 0.2.5
244
- type: :runtime
245
- prerelease: false
246
- version_requirements: !ruby/object:Gem::Requirement
247
- requirements:
248
- - - '='
249
- - !ruby/object:Gem::Version
250
- version: 0.2.5
251
- - !ruby/object:Gem::Dependency
252
- name: win32-service
253
- requirement: !ruby/object:Gem::Requirement
254
- requirements:
255
- - - '='
256
- - !ruby/object:Gem::Version
257
- version: 0.8.8
258
- type: :runtime
259
- prerelease: false
260
- version_requirements: !ruby/object:Gem::Requirement
261
- requirements:
262
- - - '='
263
- - !ruby/object:Gem::Version
264
- version: 0.8.8
265
209
  - !ruby/object:Gem::Dependency
266
210
  name: bundler
267
211
  requirement: !ruby/object:Gem::Requirement
@@ -324,7 +268,6 @@ email:
324
268
  executables:
325
269
  - bolt
326
270
  - bolt-inventory-pdb
327
- - bolt_catalog
328
271
  extensions: []
329
272
  extra_rdoc_files: []
330
273
  files:
@@ -350,9 +293,9 @@ files:
350
293
  - bolt-modules/boltlib/types/targetspec.pp
351
294
  - exe/bolt
352
295
  - exe/bolt-inventory-pdb
353
- - exe/bolt_catalog
354
296
  - lib/bolt.rb
355
297
  - lib/bolt/analytics.rb
298
+ - lib/bolt/applicator.rb
356
299
  - lib/bolt/bolt_option_parser.rb
357
300
  - lib/bolt/catalog.rb
358
301
  - lib/bolt/cli.rb
@@ -390,6 +333,8 @@ files:
390
333
  - lib/bolt/util/on_access.rb
391
334
  - lib/bolt/version.rb
392
335
  - lib/bolt_ext/puppetdb_inventory.rb
336
+ - libexec/apply_catalog.rb
337
+ - libexec/bolt_catalog
393
338
  - modules/aggregate/lib/puppet/functions/aggregate/count.rb
394
339
  - modules/aggregate/lib/puppet/functions/aggregate/nodes.rb
395
340
  - modules/aggregate/plans/count.pp
@@ -913,7 +858,6 @@ files:
913
858
  - vendored/puppet/lib/puppet/module_tool.rb
914
859
  - vendored/puppet/lib/puppet/module_tool/applications.rb
915
860
  - vendored/puppet/lib/puppet/module_tool/applications/application.rb
916
- - vendored/puppet/lib/puppet/module_tool/applications/builder.rb
917
861
  - vendored/puppet/lib/puppet/module_tool/applications/checksummer.rb
918
862
  - vendored/puppet/lib/puppet/module_tool/applications/installer.rb
919
863
  - vendored/puppet/lib/puppet/module_tool/applications/searcher.rb
@@ -934,7 +878,6 @@ files:
934
878
  - vendored/puppet/lib/puppet/module_tool/local_tarball.rb
935
879
  - vendored/puppet/lib/puppet/module_tool/metadata.rb
936
880
  - vendored/puppet/lib/puppet/module_tool/shared_behaviors.rb
937
- - vendored/puppet/lib/puppet/module_tool/skeleton/templates/generator/spec/spec_helper.rb
938
881
  - vendored/puppet/lib/puppet/module_tool/tar.rb
939
882
  - vendored/puppet/lib/puppet/module_tool/tar/gnu.rb
940
883
  - vendored/puppet/lib/puppet/module_tool/tar/mini.rb
@@ -1258,8 +1201,6 @@ files:
1258
1201
  - vendored/puppet/lib/puppet/provider/interface/cisco.rb
1259
1202
  - vendored/puppet/lib/puppet/provider/ldap.rb
1260
1203
  - vendored/puppet/lib/puppet/provider/macauthorization/macauthorization.rb
1261
- - vendored/puppet/lib/puppet/provider/mailalias/aliases.rb
1262
- - vendored/puppet/lib/puppet/provider/maillist/mailman.rb
1263
1204
  - vendored/puppet/lib/puppet/provider/mcx/mcxcontent.rb
1264
1205
  - vendored/puppet/lib/puppet/provider/mount.rb
1265
1206
  - vendored/puppet/lib/puppet/provider/mount/parsed.rb
@@ -1348,9 +1289,6 @@ files:
1348
1289
  - vendored/puppet/lib/puppet/provider/user/windows_adsi.rb
1349
1290
  - vendored/puppet/lib/puppet/provider/vlan/cisco.rb
1350
1291
  - vendored/puppet/lib/puppet/provider/yumrepo/inifile.rb
1351
- - vendored/puppet/lib/puppet/provider/zfs/zfs.rb
1352
- - vendored/puppet/lib/puppet/provider/zone/solaris.rb
1353
- - vendored/puppet/lib/puppet/provider/zpool/zpool.rb
1354
1292
  - vendored/puppet/lib/puppet/reference/configuration.rb
1355
1293
  - vendored/puppet/lib/puppet/reference/function.rb
1356
1294
  - vendored/puppet/lib/puppet/reference/indirection.rb
@@ -1374,6 +1312,7 @@ files:
1374
1312
  - vendored/puppet/lib/puppet/rest/response.rb
1375
1313
  - vendored/puppet/lib/puppet/rest/route.rb
1376
1314
  - vendored/puppet/lib/puppet/rest/routes.rb
1315
+ - vendored/puppet/lib/puppet/rest/ssl_context.rb
1377
1316
  - vendored/puppet/lib/puppet/scheduler.rb
1378
1317
  - vendored/puppet/lib/puppet/scheduler/job.rb
1379
1318
  - vendored/puppet/lib/puppet/scheduler/scheduler.rb
@@ -1460,8 +1399,6 @@ files:
1460
1399
  - vendored/puppet/lib/puppet/type/interface.rb
1461
1400
  - vendored/puppet/lib/puppet/type/k5login.rb
1462
1401
  - vendored/puppet/lib/puppet/type/macauthorization.rb
1463
- - vendored/puppet/lib/puppet/type/mailalias.rb
1464
- - vendored/puppet/lib/puppet/type/maillist.rb
1465
1402
  - vendored/puppet/lib/puppet/type/mcx.rb
1466
1403
  - vendored/puppet/lib/puppet/type/mount.rb
1467
1404
  - vendored/puppet/lib/puppet/type/notify.rb
@@ -1481,9 +1418,6 @@ files:
1481
1418
  - vendored/puppet/lib/puppet/type/vlan.rb
1482
1419
  - vendored/puppet/lib/puppet/type/whit.rb
1483
1420
  - vendored/puppet/lib/puppet/type/yumrepo.rb
1484
- - vendored/puppet/lib/puppet/type/zfs.rb
1485
- - vendored/puppet/lib/puppet/type/zone.rb
1486
- - vendored/puppet/lib/puppet/type/zpool.rb
1487
1421
  - vendored/puppet/lib/puppet/util.rb
1488
1422
  - vendored/puppet/lib/puppet/util/at_fork.rb
1489
1423
  - vendored/puppet/lib/puppet/util/at_fork/noop.rb
@@ -1497,6 +1431,7 @@ files:
1497
1431
  - vendored/puppet/lib/puppet/util/command_line.rb
1498
1432
  - vendored/puppet/lib/puppet/util/command_line/puppet_option_parser.rb
1499
1433
  - vendored/puppet/lib/puppet/util/command_line/trollop.rb
1434
+ - vendored/puppet/lib/puppet/util/connection.rb
1500
1435
  - vendored/puppet/lib/puppet/util/constant_inflector.rb
1501
1436
  - vendored/puppet/lib/puppet/util/diff.rb
1502
1437
  - vendored/puppet/lib/puppet/util/docs.rb
@@ -1638,7 +1573,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1638
1573
  version: '0'
1639
1574
  requirements: []
1640
1575
  rubyforge_project:
1641
- rubygems_version: 2.6.14
1576
+ rubygems_version: 2.7.7
1642
1577
  signing_key:
1643
1578
  specification_version: 4
1644
1579
  summary: Execute commands remotely over SSH and WinRM