



In a second article, we will apply our knowledge acquired in this article and we will be creating our first cookbook and applying the recipes to a couple of servers.Īnother key point when creating recipes is to understand the Ruby language, which is not hard to learn and it is required when working with recipes. In this article, we will work with Chef Development Kit (Chef-DK), which is installed on a workstation to test the recipes. They are well documented and the administrator can check all options available for each resource built in on the solution on Chef’s website. All those areas of the operating system are known as Resources in Chef’s world. In the Windows world, an administrator is able to manage several areas of the operating system, such as PowerShell, MSI packages, manage folders, files, registry, services, Windows tasks, environment variables, and more.
CHEF RECIPE EXAMPLE FOR MAC CODE
Chef makes it easier because it does not require a lot of scripting - just a few lines of code and the “chef” will take care of the changes at the operating system level. Using Chef, an organization can manage tons of servers and automate the deployment process from a single location, using a consistent process without human intervention. Chef works with several operating systems, including Microsoft, Linux (Red Hat, Ubuntu, Oracle Linux, CentOS, Amazon Linux, SUSE), AIX, FreeBSD, and MacOS. The popular management configuration tool Chef uses the concept of Infrastructure as a Code and it supports on-premises, cloud, and hybrid environments.
