May 2015
Intermediate to advanced
278 pages
5h 34m
English
Uploading broken cookbooks that override your working ones is a major pain and can result in widespread outage throughout your infrastructure. If you have a cookbook version that is known to work, it's a good idea to freeze this version so that no one can overwrite the same version with broken code. When used together with version constraints that are specified in your environment manifests, freezing cookbooks can keep your production servers safe from accidental changes.
Make sure you have at least one cookbook (I'll use the ntp cookbook) registered with your Chef server.
Let's see what happens if we freeze a cookbook.
mma@laptop:~/chef-repo $ knife cookbook upload ntp ...Read now
Unlock full access