≡ Menu

Chef

Once you’ve created your recipes and other objects for your chef cookbook, it should be uploaded to the Chef server. There are two ways you can upload your cookbooks: Using knife cookbook sub-command – This helps you to manipulate your cookbooks Using knife upload sub-command – This helps you to upload all chef objects (including [...]

{ 0 comments }

Starting from Chef server version 12, SSL verification is enabled by default for all the communication that are initiated from any of the chef utilities (knife, chef-client). For this, Chef server will generate a self-signed SSL certificate during the installation process. From your Chef workstation when you execute knife command, you should download the SSL [...]

{ 0 comments }

Chef Cookbook Directory Structure Explained with Examples

When you create a new Chef cookbook, it will automatically create certain directories and files. You’ll then be adding your own custom files on top these default files and directories. For every chef cookbook you create, you’ll see 8 directories and 3 files under the top-level for that particular cookbook. In this tutorial, we’ll explain [...]

{ 2 comments }

12 Chef Knife Cookbook Command Examples

When you are using Chef to manage all your servers and network equipments, you should first create cookbooks and appropriate recipes. On all your remote servers, you’ll use chef-client to execute the recipes from the cookbook. In this tutorial, we’ll explain how to use knife command to create and manage your Chef cookbooks. The knife [...]

{ 2 comments }

How to Install and Setup Chef Workstation on Linux

Chef is an IT infrastructure automation software, which can be used to manage all your servers and network equipments in your organization. You need a chef workstation when you want to interact with the chef server, or any physical nodes (servers, network equipments, etc) in your infrastructure. On a chef workstation, using several chef related [...]

{ 3 comments }