bolt 2.24.1 → 2.29.0
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.
- checksums.yaml +4 -4
- data/Puppetfile +1 -1
- data/bolt-modules/boltlib/lib/puppet/datatypes/result.rb +2 -1
- data/bolt-modules/boltlib/lib/puppet/functions/download_file.rb +1 -1
- data/bolt-modules/dir/lib/puppet/functions/dir/children.rb +1 -1
- data/lib/bolt/analytics.rb +7 -3
- data/lib/bolt/applicator.rb +21 -21
- data/lib/bolt/bolt_option_parser.rb +77 -26
- data/lib/bolt/catalog.rb +4 -2
- data/lib/bolt/cli.rb +135 -147
- data/lib/bolt/config.rb +48 -25
- data/lib/bolt/config/options.rb +34 -2
- data/lib/bolt/executor.rb +1 -1
- data/lib/bolt/inventory.rb +8 -1
- data/lib/bolt/inventory/group.rb +1 -1
- data/lib/bolt/inventory/inventory.rb +1 -1
- data/lib/bolt/inventory/target.rb +1 -1
- data/lib/bolt/logger.rb +35 -21
- data/lib/bolt/outputter/logger.rb +1 -1
- data/lib/bolt/pal.rb +21 -10
- data/lib/bolt/pal/yaml_plan/evaluator.rb +1 -1
- data/lib/bolt/plugin/puppetdb.rb +1 -1
- data/lib/bolt/project.rb +62 -17
- data/lib/bolt/puppetdb/client.rb +1 -1
- data/lib/bolt/puppetdb/config.rb +1 -1
- data/lib/bolt/puppetfile.rb +160 -0
- data/lib/bolt/puppetfile/installer.rb +43 -0
- data/lib/bolt/puppetfile/module.rb +89 -0
- data/lib/bolt/r10k_log_proxy.rb +1 -1
- data/lib/bolt/rerun.rb +2 -2
- data/lib/bolt/result.rb +23 -0
- data/lib/bolt/shell.rb +1 -1
- data/lib/bolt/task.rb +1 -1
- data/lib/bolt/transport/base.rb +5 -5
- data/lib/bolt/transport/docker/connection.rb +1 -1
- data/lib/bolt/transport/local/connection.rb +1 -1
- data/lib/bolt/transport/ssh.rb +1 -1
- data/lib/bolt/transport/ssh/connection.rb +1 -1
- data/lib/bolt/transport/ssh/exec_connection.rb +1 -1
- data/lib/bolt/transport/winrm.rb +1 -1
- data/lib/bolt/transport/winrm/connection.rb +1 -1
- data/lib/bolt/util.rb +30 -11
- data/lib/bolt/version.rb +1 -1
- data/lib/bolt_server/base_config.rb +1 -1
- data/lib/bolt_server/config.rb +1 -1
- data/lib/bolt_server/file_cache.rb +12 -12
- data/lib/bolt_server/transport_app.rb +125 -26
- data/lib/bolt_spec/bolt_context.rb +4 -4
- data/lib/bolt_spec/run.rb +3 -0
- metadata +11 -14
@@ -142,10 +142,10 @@ module BoltSpec
|
|
142
142
|
# Override in your tests
|
143
143
|
def config
|
144
144
|
@config ||= begin
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
145
|
+
conf = Bolt::Config.default
|
146
|
+
conf.modulepath = [modulepath].flatten
|
147
|
+
conf
|
148
|
+
end
|
149
149
|
end
|
150
150
|
|
151
151
|
def plugins
|
data/lib/bolt_spec/run.rb
CHANGED
@@ -8,6 +8,7 @@ require 'bolt/pal'
|
|
8
8
|
require 'bolt/plugin'
|
9
9
|
require 'bolt/puppetdb'
|
10
10
|
require 'bolt/util'
|
11
|
+
require 'bolt/logger'
|
11
12
|
|
12
13
|
# This is intended to provide a relatively stable method of executing bolt in process from tests.
|
13
14
|
module BoltSpec
|
@@ -153,6 +154,8 @@ module BoltSpec
|
|
153
154
|
end
|
154
155
|
|
155
156
|
def initialize(config_data, inventory_data, project_path)
|
157
|
+
Bolt::Logger.initialize_logging
|
158
|
+
|
156
159
|
@config_data = config_data || {}
|
157
160
|
@inventory_data = inventory_data || {}
|
158
161
|
@project_path = project_path
|
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: 2.
|
4
|
+
version: 2.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -182,36 +182,30 @@ dependencies:
|
|
182
182
|
name: puppet
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- -
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: 6.16.0
|
188
|
-
- - "<"
|
185
|
+
- - '='
|
189
186
|
- !ruby/object:Gem::Version
|
190
|
-
version:
|
187
|
+
version: 6.18.0
|
191
188
|
type: :runtime
|
192
189
|
prerelease: false
|
193
190
|
version_requirements: !ruby/object:Gem::Requirement
|
194
191
|
requirements:
|
195
|
-
- -
|
192
|
+
- - '='
|
196
193
|
- !ruby/object:Gem::Version
|
197
|
-
version: 6.
|
198
|
-
- - "<"
|
199
|
-
- !ruby/object:Gem::Version
|
200
|
-
version: '7'
|
194
|
+
version: 6.18.0
|
201
195
|
- !ruby/object:Gem::Dependency
|
202
196
|
name: puppetfile-resolver
|
203
197
|
requirement: !ruby/object:Gem::Requirement
|
204
198
|
requirements:
|
205
199
|
- - "~>"
|
206
200
|
- !ruby/object:Gem::Version
|
207
|
-
version: 0.
|
201
|
+
version: '0.4'
|
208
202
|
type: :runtime
|
209
203
|
prerelease: false
|
210
204
|
version_requirements: !ruby/object:Gem::Requirement
|
211
205
|
requirements:
|
212
206
|
- - "~>"
|
213
207
|
- !ruby/object:Gem::Version
|
214
|
-
version: 0.
|
208
|
+
version: '0.4'
|
215
209
|
- !ruby/object:Gem::Dependency
|
216
210
|
name: puppet-resource_api
|
217
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -504,6 +498,9 @@ files:
|
|
504
498
|
- lib/bolt/puppetdb.rb
|
505
499
|
- lib/bolt/puppetdb/client.rb
|
506
500
|
- lib/bolt/puppetdb/config.rb
|
501
|
+
- lib/bolt/puppetfile.rb
|
502
|
+
- lib/bolt/puppetfile/installer.rb
|
503
|
+
- lib/bolt/puppetfile/module.rb
|
507
504
|
- lib/bolt/r10k_log_proxy.rb
|
508
505
|
- lib/bolt/rerun.rb
|
509
506
|
- lib/bolt/resource_instance.rb
|