bolt 2.8.0 → 2.12.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 +2 -2
- data/bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb +2 -0
- data/bolt-modules/boltlib/lib/puppet/datatypes/resourceinstance.rb +27 -0
- data/bolt-modules/boltlib/lib/puppet/datatypes/result.rb +2 -0
- data/bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb +2 -0
- data/bolt-modules/boltlib/lib/puppet/datatypes/target.rb +4 -3
- data/bolt-modules/boltlib/lib/puppet/functions/run_plan.rb +61 -0
- data/bolt-modules/boltlib/lib/puppet/functions/set_resources.rb +122 -0
- data/bolt-modules/boltlib/types/planresult.pp +12 -1
- data/bolt-modules/file/lib/puppet/functions/file/exists.rb +3 -1
- data/bolt-modules/file/lib/puppet/functions/file/join.rb +1 -1
- data/bolt-modules/file/lib/puppet/functions/file/read.rb +2 -1
- data/bolt-modules/file/lib/puppet/functions/file/readable.rb +3 -1
- data/bolt-modules/file/lib/puppet/functions/file/write.rb +3 -1
- data/lib/bolt/analytics.rb +21 -2
- data/lib/bolt/applicator.rb +3 -1
- data/lib/bolt/apply_result.rb +1 -1
- data/lib/bolt/apply_target.rb +3 -2
- data/lib/bolt/bolt_option_parser.rb +18 -8
- data/lib/bolt/cli.rb +35 -5
- data/lib/bolt/config.rb +45 -13
- data/lib/bolt/config/transport/docker.rb +2 -0
- data/lib/bolt/config/transport/local.rb +2 -0
- data/lib/bolt/config/transport/orch.rb +2 -0
- data/lib/bolt/config/transport/remote.rb +2 -0
- data/lib/bolt/config/transport/ssh.rb +50 -1
- data/lib/bolt/config/transport/winrm.rb +2 -0
- data/lib/bolt/inventory.rb +2 -1
- data/lib/bolt/inventory/group.rb +1 -0
- data/lib/bolt/inventory/inventory.rb +5 -0
- data/lib/bolt/inventory/target.rb +17 -1
- data/lib/bolt/node/output.rb +1 -1
- data/lib/bolt/outputter/human.rb +5 -4
- data/lib/bolt/outputter/json.rb +1 -1
- data/lib/bolt/pal.rb +4 -1
- data/lib/bolt/pal/yaml_plan.rb +1 -0
- data/lib/bolt/plugin.rb +13 -7
- data/lib/bolt/plugin/puppetdb.rb +5 -2
- data/lib/bolt/project.rb +25 -7
- data/lib/bolt/puppetdb/config.rb +14 -26
- data/lib/bolt/rerun.rb +1 -1
- data/lib/bolt/resource_instance.rb +126 -0
- data/lib/bolt/result.rb +46 -23
- data/lib/bolt/result_set.rb +2 -5
- data/lib/bolt/shell/bash.rb +1 -1
- data/lib/bolt/shell/powershell.rb +12 -4
- data/lib/bolt/target.rb +12 -1
- data/lib/bolt/transport/ssh.rb +6 -2
- data/lib/bolt/transport/ssh/connection.rb +4 -0
- data/lib/bolt/transport/ssh/exec_connection.rb +110 -0
- data/lib/bolt/transport/winrm/connection.rb +6 -2
- data/lib/bolt/version.rb +1 -1
- data/lib/bolt_server/pe/pal.rb +1 -38
- data/lib/bolt_server/transport_app.rb +7 -7
- data/lib/bolt_spec/bolt_context.rb +1 -4
- data/lib/bolt_spec/plans/mock_executor.rb +1 -0
- data/lib/bolt_spec/run.rb +2 -5
- metadata +6 -2
data/lib/bolt_spec/run.rb
CHANGED
@@ -152,14 +152,11 @@ module BoltSpec
|
|
152
152
|
end
|
153
153
|
|
154
154
|
def plugins
|
155
|
-
@plugins ||= Bolt::Plugin.setup(config, pal
|
155
|
+
@plugins ||= Bolt::Plugin.setup(config, pal)
|
156
156
|
end
|
157
157
|
|
158
158
|
def puppetdb_client
|
159
|
-
|
160
|
-
puppetdb_config = Bolt::PuppetDB::Config.load_config(nil, config.puppetdb)
|
161
|
-
Bolt::PuppetDB::Client.new(puppetdb_config)
|
162
|
-
end
|
159
|
+
plugins.puppetdb_client
|
163
160
|
end
|
164
161
|
|
165
162
|
def pal
|
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.12.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-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -390,6 +390,7 @@ extra_rdoc_files: []
|
|
390
390
|
files:
|
391
391
|
- Puppetfile
|
392
392
|
- bolt-modules/boltlib/lib/puppet/datatypes/applyresult.rb
|
393
|
+
- bolt-modules/boltlib/lib/puppet/datatypes/resourceinstance.rb
|
393
394
|
- bolt-modules/boltlib/lib/puppet/datatypes/result.rb
|
394
395
|
- bolt-modules/boltlib/lib/puppet/datatypes/resultset.rb
|
395
396
|
- bolt-modules/boltlib/lib/puppet/datatypes/target.rb
|
@@ -413,6 +414,7 @@ files:
|
|
413
414
|
- bolt-modules/boltlib/lib/puppet/functions/run_task_with.rb
|
414
415
|
- bolt-modules/boltlib/lib/puppet/functions/set_config.rb
|
415
416
|
- bolt-modules/boltlib/lib/puppet/functions/set_feature.rb
|
417
|
+
- bolt-modules/boltlib/lib/puppet/functions/set_resources.rb
|
416
418
|
- bolt-modules/boltlib/lib/puppet/functions/set_var.rb
|
417
419
|
- bolt-modules/boltlib/lib/puppet/functions/upload_file.rb
|
418
420
|
- bolt-modules/boltlib/lib/puppet/functions/vars.rb
|
@@ -493,6 +495,7 @@ files:
|
|
493
495
|
- lib/bolt/puppetdb/config.rb
|
494
496
|
- lib/bolt/r10k_log_proxy.rb
|
495
497
|
- lib/bolt/rerun.rb
|
498
|
+
- lib/bolt/resource_instance.rb
|
496
499
|
- lib/bolt/result.rb
|
497
500
|
- lib/bolt/result_set.rb
|
498
501
|
- lib/bolt/secret.rb
|
@@ -516,6 +519,7 @@ files:
|
|
516
519
|
- lib/bolt/transport/simple.rb
|
517
520
|
- lib/bolt/transport/ssh.rb
|
518
521
|
- lib/bolt/transport/ssh/connection.rb
|
522
|
+
- lib/bolt/transport/ssh/exec_connection.rb
|
519
523
|
- lib/bolt/transport/winrm.rb
|
520
524
|
- lib/bolt/transport/winrm/connection.rb
|
521
525
|
- lib/bolt/util.rb
|