Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment of cookbooks do differ from berks package #1158

Closed
EugenMayer opened this issue Dec 2, 2016 · 1 comment
Closed

Deployment of cookbooks do differ from berks package #1158

EugenMayer opened this issue Dec 2, 2016 · 1 comment

Comments

@EugenMayer
Copy link

EugenMayer commented Dec 2, 2016

Description

When using kitchen to converge a box, the cookbooks are put under /tmp/kitchen/ - since berks is used and the general folder structure looks like berks package has been used, it suprises, that the result is different.

For example berks package would include data_bags from cookbooks which have been referenced like

cookbook A

in the Berksfile of the cookbook we are testing.

Kitchen thus does not include those, actually excludes more then that.

Kitchen Version

Test Kitchen version 1.13.2

ChefDK Version

If you are running test-kitchen via ChefDK, chef --version will provide additional relevent version details.

Chef Development Kit Version: 0.19.6
chef-client version: 12.15.19
delivery version: master (802e801d920ea6b6d48db735aa7c6e7a6194bea4)
berks version: 5.2.0
kitchen version: 1.14.0

Ruby Version

If you are not using test-kitchen via ChefDK, please provide the output of ruby --version.

chef exec ruby --version                                               1 
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin13]

Platform Version

OSX El Capitan

Replication Case

  1. create a cookbook A with a data_bags
  2. create a other cookbook B, add A as a dependency in the Berksfile
  3. run kitchen converge
  4. check /tmp/kitchen/cookbooks/a/data_bags on the box, it should be missing
@cheeseplus
Copy link

Explained this on IRC, closing.

@test-kitchen test-kitchen locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants