vagrant-bolt 0.4.0 → 0.4.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: c5315c29b84aa2be5b9d66ef518e07d5eebae92b357becebd7697ee2f4905dee
4
- data.tar.gz: 4da2668141db99cac3f88b6fe29b8309a4d55e5661549b9480f6691fe199f859
3
+ metadata.gz: 0e18fae2e9bc92dec9f02ffcfe99e50dcfdf70f02ef25868446f031b580687f1
4
+ data.tar.gz: a9990a2aad67e44d5ef23044a6f670eb53aec993d14d682b28b6283445976899
5
5
  SHA512:
6
- metadata.gz: d9709b7a1074d96f56fab489b309dcce03f141ff5fdaf469761a60ef4fe42820a0f8e4183c071a0bf31a4690ac9c6ce5153383c13ebeab6f7f2332ba0cbc3b9e
7
- data.tar.gz: 79248aa3739f5908cab9676c3badb6e1237fd2da799beedbbc1033052abb4468c2b7aa5d7bcb6ca8c079456c8d859ec5587479b96fc011070370ce7ca8a93fc8
6
+ metadata.gz: 7db61b05179dc83445106b6e0fdf3a0e8dafc6d4691a215e7ace0702fe6f37ec34736958e7342eeca655eeb2d3ebf5b7c6785dd27504de9bf7fc9f423fbd50af
7
+ data.tar.gz: b71aae81653b51f13af5ff054e87a29981f6856410633ec733d64eb69cdae3930c4d82ab9bf428e1559193bcf6b2251cc1c746c2bf389d36871349a0b5d24ea1
data/.gitignore CHANGED
@@ -1,6 +1,7 @@
1
1
  *.swp
2
2
  .bundle
3
3
  .vendor
4
+ /vendor
4
5
  spec/fixtures
5
6
  .ruby-version
6
7
  .yardoc
data/CHANGELOG.md CHANGED
@@ -1,11 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.4.1](https://github.com/oscar-stack/vagrant-bolt/tree/v0.4.1) (2021-03-15)
4
+
5
+ [Full Changelog](https://github.com/oscar-stack/vagrant-bolt/compare/v0.4.0...v0.4.1)
6
+
7
+ **Closed issues:**
8
+
9
+ - `config.bolt.debug = true` fails when running with Bolt 3.0 [\#19](https://github.com/oscar-stack/vagrant-bolt/issues/19)
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Fix config.debug = true for Bolt 3.0 [\#20](https://github.com/oscar-stack/vagrant-bolt/pull/20) ([op-ct](https://github.com/op-ct))
14
+
3
15
  ## [v0.4.0](https://github.com/oscar-stack/vagrant-bolt/tree/v0.4.0) (2020-12-23)
4
16
 
5
17
  [Full Changelog](https://github.com/oscar-stack/vagrant-bolt/compare/v0.3.0...v0.4.0)
6
18
 
7
19
  **Merged pull requests:**
8
20
 
21
+ - \(maint\) Change to github actions from travis [\#18](https://github.com/oscar-stack/vagrant-bolt/pull/18) ([jarretlavallee](https://github.com/jarretlavallee))
9
22
  - Remove deprecated Bolt features [\#17](https://github.com/oscar-stack/vagrant-bolt/pull/17) ([jarretlavallee](https://github.com/jarretlavallee))
10
23
 
11
24
  **Changes**
data/README.md CHANGED
@@ -438,7 +438,7 @@ Requirements
438
438
  ------------
439
439
 
440
440
  * Vagrant 2.2.0+ is required for this plugin.
441
- * Bolt 2.16+ needs to be installed on the platform machine and accessible on the path. Use the `bolt_exe` config parameter if it is not on the path.
441
+ * Bolt 2.17+ needs to be installed on the platform machine and accessible on the path. Use the `bolt_exe` config parameter if it is not on the path.
442
442
  * Ruby 2.5+
443
443
 
444
444
  Known Issues
@@ -26,7 +26,12 @@ module VagrantBolt::Util
26
26
  # Verbose and debug do not have --no flags so exclude them
27
27
  next if ['verbose', 'debug', 'noop'].include?(key) && !value
28
28
 
29
- arg = value ? "--#{key}" : "--no-#{key}"
29
+ arg = if key == 'debug'
30
+ '--log-level=debug'
31
+ else
32
+ value ? "--#{key}" : "--no-#{key}"
33
+ end
34
+
30
35
  command << arg
31
36
  when String
32
37
  command << "--#{key} \'#{value}\'"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VagrantBolt
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
5
5
  end
@@ -144,7 +144,7 @@ describe VagrantBolt::Util::Bolt do
144
144
  config.verbose = true
145
145
  config.noop = true
146
146
  config.finalize!
147
- expected = "bolt task run 'foo' --verbose --debug --noop --inventoryfile '#{inventory_path}'"
147
+ expected = "bolt task run 'foo' --verbose --log-level=debug --noop --inventoryfile '#{inventory_path}'"
148
148
  expect(subject.generate_bolt_command(config, inventory_path)).to eq(expected)
149
149
  end
150
150
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-bolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jarret Lavallee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-23 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: " Vagrant provisioning with Puppet Bolt\n"
14
14
  email: