bolt 3.10.0 → 3.11.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 +4 -4
- data/lib/bolt/bolt_option_parser.rb +2 -2
- data/lib/bolt/module_installer/installer.rb +1 -1
- data/lib/bolt/outputter/human.rb +13 -2
- data/lib/bolt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef5e67102ddbc1b3ef1c0d08352fd5392766b73f3686e54ca62e9f5e09141356
|
4
|
+
data.tar.gz: dc371bb5483705f7c7dbca0be037aad53338e27480faf1f884eb669f8c14fbb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7efd326949ec4d661ff4d4471d9626dcf2688a5e0f699f777d70537135493b2b55250054b6de1989f933a23c8aafb6e2124a7062d32f398218529fd6550ff2b7
|
7
|
+
data.tar.gz: ac92568d449f852bc39e0c824c9fe6e3c13cee329fa6c5a3bfc1794b01a9b4b9278124456fe4adfd9cebe2ec0056ab42651b5f1aa4f1a56402a743c7893e42a3
|
data/Puppetfile
CHANGED
@@ -6,13 +6,13 @@ moduledir File.join(File.dirname(__FILE__), 'modules')
|
|
6
6
|
|
7
7
|
# Core modules used by 'apply'
|
8
8
|
mod 'puppetlabs-service', '2.0.0'
|
9
|
-
mod 'puppetlabs-puppet_agent', '4.
|
9
|
+
mod 'puppetlabs-puppet_agent', '4.7.0'
|
10
10
|
mod 'puppetlabs-facts', '1.4.0'
|
11
11
|
|
12
12
|
# Core types and providers for Puppet 6
|
13
13
|
mod 'puppetlabs-augeas_core', '1.1.2'
|
14
14
|
mod 'puppetlabs-host_core', '1.0.3'
|
15
|
-
mod 'puppetlabs-scheduled_task', '3.0.
|
15
|
+
mod 'puppetlabs-scheduled_task', '3.0.1'
|
16
16
|
mod 'puppetlabs-sshkeys_core', '2.2.0'
|
17
17
|
mod 'puppetlabs-zfs_core', '1.2.0'
|
18
18
|
mod 'puppetlabs-cron_core', '1.0.5'
|
@@ -29,14 +29,14 @@ mod 'puppetlabs-python_task_helper', '0.5.0'
|
|
29
29
|
mod 'puppetlabs-reboot', '4.0.2'
|
30
30
|
mod 'puppetlabs-ruby_task_helper', '0.6.0'
|
31
31
|
mod 'puppetlabs-ruby_plugin_helper', '0.2.0'
|
32
|
-
mod 'puppetlabs-stdlib', '7.0
|
32
|
+
mod 'puppetlabs-stdlib', '7.1.0'
|
33
33
|
|
34
34
|
# Plugin modules
|
35
35
|
mod 'puppetlabs-aws_inventory', '0.7.0'
|
36
36
|
mod 'puppetlabs-azure_inventory', '0.5.0'
|
37
37
|
mod 'puppetlabs-gcloud_inventory', '0.3.0'
|
38
38
|
mod 'puppetlabs-http_request', '0.2.2'
|
39
|
-
mod 'puppetlabs-pkcs7', '0.1.
|
39
|
+
mod 'puppetlabs-pkcs7', '0.1.2'
|
40
40
|
mod 'puppetlabs-secure_env_vars', '0.2.0'
|
41
41
|
mod 'puppetlabs-terraform', '0.6.1'
|
42
42
|
mod 'puppetlabs-vault', '0.4.0'
|
@@ -718,7 +718,7 @@ module Bolt
|
|
718
718
|
Run a script on the specified targets.
|
719
719
|
|
720
720
|
#{colorize(:cyan, 'Documentation')}
|
721
|
-
Learn more about running
|
721
|
+
Learn more about running scripts at https://pup.pt/bolt-commands.
|
722
722
|
|
723
723
|
#{colorize(:cyan, 'Actions')}
|
724
724
|
run Run a script on the specified targets.
|
@@ -740,7 +740,7 @@ module Bolt
|
|
740
740
|
be quoted.
|
741
741
|
|
742
742
|
#{colorize(:cyan, 'Documentation')}
|
743
|
-
Learn more about running
|
743
|
+
Learn more about running scripts at https://pup.pt/bolt-commands.
|
744
744
|
|
745
745
|
#{colorize(:cyan, 'Examples')}
|
746
746
|
bolt script run myscript.sh 'echo hello' --targets target1,target2
|
@@ -30,7 +30,7 @@ module Bolt
|
|
30
30
|
|
31
31
|
settings = R10K::Settings.global_settings.evaluate(@config)
|
32
32
|
R10K::Initializers::GlobalInitializer.new(settings).call
|
33
|
-
install_action = R10K::Action::Puppetfile::Install.new(r10k_opts, nil)
|
33
|
+
install_action = R10K::Action::Puppetfile::Install.new(r10k_opts, nil, {})
|
34
34
|
|
35
35
|
# Override the r10k logger with a proxy to our own logger
|
36
36
|
R10K::Logging.instance_variable_set(:@outputter, Bolt::R10KLogProxy.new)
|
data/lib/bolt/outputter/human.rb
CHANGED
@@ -174,11 +174,22 @@ module Bolt
|
|
174
174
|
if result.message?
|
175
175
|
@stream.puts(remove_trail(indent(2, result.message)))
|
176
176
|
end
|
177
|
-
|
178
177
|
case result.action
|
179
178
|
when 'command', 'script'
|
180
179
|
safe_value = result.safe_value
|
181
|
-
|
180
|
+
if safe_value["merged_output"]
|
181
|
+
@stream.puts(indent(2, safe_value['merged_output'])) unless safe_value['merged_output'].strip.empty?
|
182
|
+
|
183
|
+
else # output stdout or stderr
|
184
|
+
unless safe_value['stdout'].nil? || safe_value['stdout'].strip.empty?
|
185
|
+
@stream.puts(indent(2, "STDOUT:"))
|
186
|
+
@stream.puts(indent(4, safe_value['stdout']))
|
187
|
+
end
|
188
|
+
unless safe_value['stderr'].nil? || safe_value['stderr'].strip.empty?
|
189
|
+
@stream.puts(indent(2, "STDERR:"))
|
190
|
+
@stream.puts(indent(4, safe_value['stderr']))
|
191
|
+
end
|
192
|
+
end
|
182
193
|
when 'lookup'
|
183
194
|
@stream.puts(indent(2, result['value']))
|
184
195
|
else
|
data/lib/bolt/version.rb
CHANGED
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: 3.
|
4
|
+
version: 3.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|