Use environment files with defined cookbook_versions {} attributes Chris From: Benzinger, Dennis [mailto:
Hello John, Policyfiles are a relatively new feature. What did people do in older Chef versions?
-
Stop the Chef clients, upload cookbooks and start them again -
Block connection from the Chef clients e.g. on a firewall Thanks, Hi! knife cookbook upload will atomically switch individual cookbooks, but won't switch out whole sets of cookbooks. Policyfiles are almost certainly what you are looking for here: assign a policy to your node, and it will lock down to an exact set of cookbooks (and atomically switch from one set to another). You can learn more about Policyfile here: https://www.chef.io/blog/2015/08/18/policyfiles-a-guided-tour/ --John On Tue, Aug 25, 2015 at 7:40 AM Benzinger, Dennis <
">
> wrote:
|
Archive powered by MHonArc 2.6.16.