test-kitchen / kitchen-vagrant

A Test Kitchen Driver for Vagrant
Other
348 stars 189 forks source link

allows using cached_copy of the chef-client like with bento boxes #453

Closed gaelik closed 2 years ago

gaelik commented 3 years ago

Description

This change would add the ability for people creating their own boxes to use the cached version of the chef client like the bento machines are doing. That saves a lot of time and bandwitdh on slow and offshore connections that need to download the chef client for windows every time they run a test.

Issues Resolved

List any existing issues this PR resolves

Check List

tas50 commented 3 years ago

@gaelik Is the goal here just to use a chef client that is already installed?

gaelik commented 3 years ago

@gaelik Is the goal here just to use a chef client that is already installed?

The goal is to reuse the chef-client package sitting in ~/.chef/cache instead of redownloading it every time a kitchen test is executed, the same way that is used by boxes named bento/ ...

collinmcneese commented 3 years ago

@tas50 - do you think we might be able to include this? @gaelik - looks like there are some conflicts now, if you could rebase and push again?