HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

berks — Chef cookbook dependency manager. More information: <https://docs.chef.io/workstation/berkshelf/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
dependencycommandberkscookbookclichefmoremanager

Problem

How to use the berks command: Chef cookbook dependency manager. More information: <https://docs.chef.io/workstation/berkshelf/>.

Solution

berks — Chef cookbook dependency manager. More information: <https://docs.chef.io/workstation/berkshelf/>.

Install cookbook dependencies into a local repo:
berks install


Update a specific cookbook and its dependencies:
berks update {{cookbook}}


Upload a cookbook to the Chef server:
berks upload {{cookbook}}


View the dependencies of a cookbook:
berks contingent {{cookbook}}

Code Snippets

Install cookbook dependencies into a local repo

berks install

Update a specific cookbook and its dependencies

berks update {{cookbook}}

Upload a cookbook to the Chef server

berks upload {{cookbook}}

View the dependencies of a cookbook

berks contingent {{cookbook}}

Context

tldr-pages: common/berks

Revisions (0)

No revisions yet.