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

[test] The spec for cookbook_generator doesn't work with local ~/.chef/knife.rb file. #1226

Closed
ppg opened this issue Jun 6, 2014 · 4 comments

Comments

@ppg
Copy link

ppg commented Jun 6, 2014

If you have a local ~/.chef/knife.rb file on your development machine that specifies things like cookbook_copyright or cookbook_email those values will be used when the tests generate a cookbook, but the specs expect those to come from the spec knife.rb file. The execution of CookbookGenerator should be spec'd out so that it only uses the knife.rb file within the repo, so its not polluted by the users development environment.

@sethvargo
Copy link
Contributor

Sounds like you know what needs to happen. Would you like to submit a PR?

@ppg
Copy link
Author

ppg commented Jun 23, 2014

Yeah, I know the areas that need changing, just need to study a little more to figure out how to change correctly; will PR unless someone beats me to it.

@sethvargo
Copy link
Contributor

@ppg any update on this?

@ppg
Copy link
Author

ppg commented Oct 29, 2014

Haven't had time recently, still in progress :/

@berkshelf berkshelf locked and limited conversation to collaborators Jun 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