Skip to content

Latest commit

 

History

History
95 lines (78 loc) · 3.5 KB

File metadata and controls

95 lines (78 loc) · 3.5 KB

+++ title = "About Chef Workstation" draft = false

gh_repo = "chef-workstation"

aliases = ["/about_workstation.html", "/about_chefdk.html", "/chef_dk.html", "/about_workstation/"]

[cascade] product = ["workstation"]

[menu] [menu.workstation] title = "Overview" identifier = "chef_workstation/about_workstation.md About Chef Workstation" parent = "chef_workstation" weight = 10 +++

{{< readfile file="content/workstation/reusable/md/chef_workstation.md" >}}

Chef Workstation replaces ChefDK, combining all the existing features with new features, such as ad-hoc task support and the new Chef Workstation desktop application.

Getting Started

Chef Infra is a systems and cloud infrastructure automation framework that makes it easy to deploy servers and applications to any physical, virtual, or cloud location, no matter the size of the infrastructure. Each organization is comprised of one (or more) Chef Workstation installations, a single server, and every node that will be configured and maintained by Chef Infra Client. Cookbooks (and recipes) are used to tell Chef Infra Client how each node in your organization should be configured. Chef Infra Client---which is installed on every node---does the actual configuration.

Cookbook Development Workflow

Chef Infra defines a common workflow for cookbook development:

  1. Create a skeleton cookbook by running chef generate cookbook MY_COOKBOOK_NAME. This generates a cookbook with a single recipe and testing configuration for Test Kitchen with Chef InSpec.
  2. Write cookbook recipes or resources and lint and debug them with Cookstyle and Test Kitchen. Making your own cookbooks is an iterative process where you develop, test, find and fix bugs, and then develop and test some more. A text editor---Visual Studio Code, Atom, vim, or any other preferred text editor---is the only tool that you need to author your cookbooks.
  3. Test in acceptance. Test your work in an environment that matches your production environment.
  4. Deploy your cookbooks to the production environment, but only after they pass all the acceptance tests and are verified to work in the desired manner.

Tools

Chef Workstation packages all the tools necessary to be successful with Chef Infra and InSpec. These tools are combined into packages for common operating systems and include all the dependencies you need to get started.

The most important tools included in Chef Workstation are:

Tool Description
Chef CLI A workflow tool for Chef Infra.
knife A tool for managing systems on the Chef Infra Server.
Chef Infra Client The Chef Infra agent.
Chef InSpec A compliance as code tool that can also be used for testing Chef Infra cookbooks.
Cookstyle A linting tool that helps you write better Chef Infra cookbooks by detecting and automatically correcting style, syntax, and logic mistakes in your code.
Test Kitchen An integration testing framework tool that tests cookbooks across platforms and various cloud provider / hypervisors.