check for kitchen-vagrant gem before loading windows tests

This commit is contained in:
Daniel Wallace 2018-05-04 08:16:35 -05:00
parent da9871d36b
commit 99e150e09c
No known key found for this signature in database
GPG key ID: 5FA5E5544F010D48

View file

@ -1,5 +1,5 @@
---
<% vagrant = system('which vagrant 2>/dev/null >/dev/null') %>
<% vagrant = system('gem list -i kitchen-vagrant 2>/dev/null >/dev/null') %>
<% version = '2017.7.4' %>
<% platformsfile = ENV['SALT_KITCHEN_PLATFORMS'] || '.kitchen/platforms.yml' %>
<% driverfile = ENV['SALT_KITCHEN_DRIVER'] || '.kitchen/driver.yml' %>