kitchen-vagrant 1.7.1 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6eea2b13ae661430bd3bb6d2f860790e92073f3e4c73953c7158524b6883fe78
4
- data.tar.gz: 71492f51d07e28547642bd2cbbf0412e592b89101883a4b707f4758e7127ea47
3
+ metadata.gz: 3c72511abbc2ebaecf070000334cfb6007e2ea9d4b7b37510dc37cb615ef6683
4
+ data.tar.gz: cc7d51dd336a7834f4a41cef38ac61a5ee032b04ede79ee0e5bd49c73152f4dd
5
5
  SHA512:
6
- metadata.gz: 50493706587595344c62f3c19b44884c9a890a1f4dfad1e3566ab76f01dae6df0f8acf17a39bbc3b9b6925d3dda1f6a6a9984c6e64b95de8c999f7ec5c7f8735
7
- data.tar.gz: bdbb2f2e15af0418a526ba5386affe68bf96dccc376d01c4bed55112648ae67e4a5c8356d0e4bc0cf49b5165fa0313c4d8a0c784cb16d42a650a2e5669889f22
6
+ metadata.gz: 412f726eac124fed8de34891cef4156d54de487db7a25464f6d6fe95f6076273333c5328bcfab8a1288e262a5bcdebffda329ebdb81ea1efdbebf1035ff22f76
7
+ data.tar.gz: 44f6fac1806fada336fb1cb6ceb2fd36bb416833ec59cc213076f89c2f24e4ed79c92b049275a9d91c11105a79195dba4fabb76005a2cd6bc42c7c1298082bf4
@@ -485,7 +485,13 @@ module Kitchen
485
485
  # Tell vagrant to update vagrant box to latest version
486
486
  def run_box_auto_update
487
487
  if config[:box_auto_update]
488
- run(config[:box_auto_update])
488
+ begin
489
+ run(config[:box_auto_update])
490
+ rescue Kitchen::ShellOut::ShellCommandFailed => e
491
+ # If the box has never been downloaded, the update command will fail with this message.
492
+ # Just ignore it and move on. Re-raise all other errors.
493
+ raise e unless e.message.match?(/The box '.*' does not exist/m)
494
+ end
489
495
  end
490
496
  end
491
497
 
@@ -20,6 +20,6 @@ module Kitchen
20
20
  module Driver
21
21
 
22
22
  # Version string for Vagrant Kitchen driver
23
- VAGRANT_VERSION = "1.7.1".freeze
23
+ VAGRANT_VERSION = "1.7.2".freeze
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-vagrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-03 00:00:00.000000000 Z
11
+ date: 2020-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen