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

Generate a lock file with the same name of the original Berksfile #1247

Closed
gionn opened this issue Jun 30, 2014 · 1 comment · Fixed by #1328
Closed

Generate a lock file with the same name of the original Berksfile #1247

gionn opened this issue Jun 30, 2014 · 1 comment · Fixed by #1328

Comments

@gionn
Copy link

gionn commented Jun 30, 2014

Hi,

berks command has a nice -b parameter so it's possibile to use an alternate configuration file name instead of the default Berksfile (this is good to have multiple Berksfile pointing to different cookbooks in the same directory).

Unfortunately when doing berks install, both them overwrite the same Berksfile.lock in the current directory, impacting notably on the usefulness of the -b switch.

The Berksfile.lock should be created using the same pattern name of the original Berksfile used with -b switch, so it will be possible to use and commit multiple Berksfile in the same directory.

@sethvargo
Copy link
Contributor

Hi @gionn thank you for the bug report. Would you like to take a stab at fixing it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants