-
Notifications
You must be signed in to change notification settings - Fork 313
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
berks apply command #473
berks apply command #473
Conversation
Conflicts: lib/berkshelf/berksfile.rb lib/berkshelf/errors.rb spec/unit/berkshelf/berksfile_spec.rb
We should use Chef-Zero to handle these acceptance tests |
So I really like this, but I think |
Concur with @sethvargo on |
same here, I like |
Berksfile will be installed before environment is attempted to be locked add test coverage to apply function
@ivey @sethvargo @bluepojo updated to support the latest lockfile. Also modified the behavior slightly: the application of the lock will always include dependencies. From our architecture discussion the other day, this command makes most sense when you lock all dependencies to allow for some sort of "promotion" process across environments. |
Makes sense to me. I waffled a fair bit on whether to default to dependencies or not. I ended up choosing not to cause I imagined this feature would mimic what a human would do to lock their dependencies (that is: lock only the top level), but I see why locking dependencies by default is reasonable. |
👍 |
I'm 👍 on this now. |
Addresses #440
This adds the
berks apply ENVIRONMENT
command to Berkshelf.ALL version locks will be applied to the target environment's cookbook_versions hash