bolt 2.24.0 → 2.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e572a2c5aec9f127f48764b6a2fe903c91566c8aa0f3a1db33e40347bd1630b
4
- data.tar.gz: 1445543fb941e0b8c12ec60900975a45e368a08e593ebe75c87ee946317f57b7
3
+ metadata.gz: 4a424969e4d64b199e77f75c0d67f2f8d668124dea01c8feaec98f7c8d6acd8a
4
+ data.tar.gz: c877c94c963b4dcca169b8bad3cf85fe547c1ca9a6050c9554fcc0685cb324b5
5
5
  SHA512:
6
- metadata.gz: 4cdee0a056e3c248a72ea3a4cb1872453611ca241d19ad3c98f5e0e89c550368ab19e34999e121f0e98c5e5cac353fed32eb174fb54fd149bd4558bd84e5706e
7
- data.tar.gz: d505e8baf7c6ce5b21c20e27d7979c39c871e5bc69ea7bcf5d898ac94261850afea03028569ed60e192196d215837a2b339fef24231ea9491bc4901e93cba3dd
6
+ metadata.gz: 7720901d8ad877de79b073b3d2d845e78845366bd3e556b4e9c7f4c3be7907e4f9bbf95de06a2583fa2b8d773494855bc3ff1d03fbd3a05217afa969caa1b703
7
+ data.tar.gz: f9f4ffb0512f5be6962497bec3f64f69e58f79862fb0337c7d7d67d8964a124afc01ea99cec2f39c12952943e06006d8bc99bb2651e592b909f599791d2b0b4d
@@ -204,7 +204,7 @@ module Bolt
204
204
  'compile-concurrency' => Etc.nprocessors,
205
205
  'concurrency' => default_concurrency,
206
206
  'format' => 'human',
207
- 'log' => { 'console' => {}, 'bolt-debug.log' => { 'level' => 'debug', 'append' => false } },
207
+ 'log' => { 'console' => {} },
208
208
  'plugin_hooks' => {},
209
209
  'plugins' => {},
210
210
  'puppetdb' => {},
@@ -213,6 +213,13 @@ module Bolt
213
213
  'transport' => 'ssh'
214
214
  }
215
215
 
216
+ if project.path.directory?
217
+ default_data['log']['bolt-debug.log'] = {
218
+ 'level' => 'debug',
219
+ 'append' => false
220
+ }
221
+ end
222
+
216
223
  loaded_data = config_data.each_with_object([]) do |data, acc|
217
224
  @warnings.concat(data[:warnings]) if data[:warnings].any?
218
225
  @deprecations.concat(data[:deprecations]) if data[:deprecations].any?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bolt
4
- VERSION = '2.24.0'
4
+ VERSION = '2.24.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.24.0
4
+ version: 2.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet