Chef Node Objects Defined!

Chef Node Objects Defined! For the chef-client, two important aspects of nodes are groups of attributes and run-lists. An attribute…

Read more »

Understand the chefignore file

The chefignore file is used to tell knife which cookbook files in the chef-repo should be ignored when uploading data…

Read more »

run_list and env_run_list explanined in chef role

run-list A run-list defines all of the information necessary for Chef to configure a node into the desired state. A…

Read more »

How to run chef-client in why-run mode aka “no-operation”

why-run mode is a way to see what the chef-client would have configured, had an actual chef-client run occurred. This…

Read more »

Ecosystem of chef and Its associated tools explained

Chef Apply chef-apply is an executable program that runs a single recipe from the command line. Is part of the…

Read more »

How to install Chef Development Kit(ChefDK)

How to install Chef Development Kit(ChefDK)? The Chef development kit contains all you need to develop and test your infrastructure,…

Read more »

Berkshelf in Chef explained?

Configuration Management using chef is being implemented with the help of desire files, which is often called a “cookbooks” in…

Read more »

week1 – Overview of Chef.pdf

week1 – Overview of Chef.pdf week1 – Overview of Chef.pdf

Read more »

week2 – Node setup, resources & recipes

week2 – Node setup, resources & recipes week2 – Node setup, resources & recipes

Read more »

week3 – Node setup, resources & recipes

week3 – Node setup, resources & recipes week3 – Node setup, resources & recipes

Read more »

week4 – Common configuration data with data bags

week4 – Common configuration data with data bags week4 – Common configuration data with data bags

Read more »

week5 – Using environments and knife-ec2

week5 – Using environments and knife-ec2 week5 – Using environments and knife-ec2

Read more »

week6 – Community cookbooks and further resources

Community cookbooks and further resources week6 – Community cookbooks and further resources

Read more »
logging-in-chef-explained

Logging in Chef Explained

Chef Server All logs generated by the Chef server can be found in /var/log/opscode. Each service enabled on the system…

Read more »
chef-notifies-and-subscribes-explained-with-examples

Chef notifies and subscribes explained with examples

  Chef notifies and subscribes explained with examples A notification is a property on a resource that listens to other…

Read more »
chef-internal

Chef Internal – How Chef maintain the state of each resources internally?

Chef Client A chef-client is an agent that runs locally on every node that is under management by Chef. The…

Read more »

What is the significance of the default directory under chef cookbook /templates?

  What is the significance of the default directory under chef cookbook /templates? A cookbook is frequently designed to work…

Read more »
chef-cookbooks

Write 10 Chef Cookbooks to test your chef programming skills

Write a cookbook using you can install apache http server in CentOs and Ubuntu, enable the services and start the…

Read more »
10-chef-cookbooks-to-test-y

Write 10 Chef Cookbooks to test your chef programming skills

Write a cookbook using you can install apache http server in CentOs and Ubuntu, enable the services and start the…

Read more »
configure-the-knife-command

Configure the Knife Command – Chef

We now have to configure the knife command. This command is the central way of communicating with our server and the nodes…

Read more »
chef-solo

Chef solo | Chef solo Tutorial | Chef solo Guide

Install chef ============ > curl -L https://www.opscode.com/chef/install.sh | bash Check ===== > chef-solo -v Setup chef repository ===================== > wget…

Read more »

Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial

Provision a AWS ec2 vm using chef Step 1: Install chefdk Step 2: Setup AWS Credentails Step X: Setup your…

Read more »
chefdk-installtion-process-rhel-ubantu-mac-windows

How to install chefDK in RHEL, Ubantu, Mac and Windows?

How to install chefDK in RHEL, Ubantu, Mac and Windows? How to install chefDK in RHEL Step 1: Download checfdk…

Read more »
chef-code-analysis-using-foodcritic

Chef Code Analysis using Foodcritic | Foodcritic Tutorial

What is Foodcritic? Foodcritic is a static linting tool that analyzes all of the Ruby code that is authored in…

Read more »
useful-tools-for-chef

Most Useful Tools for Chef

Useful Tools for Chef  Chef Code Correctness (Chef Code Analysis) Foodcritic Rubocop Chef Unit Testing ChefSpec Chef Integration Testing TestKitchen…

Read more »
implement-chef-roles-using-chef-server

How to Implement Chef roles using Chef server ?

What is Role? A role is a way to define certain patterns and processes that exist across nodes in an…

Read more »
chef-commands-line-reference

Chef commands Web References & Cheatsheet

To run single recipe using chef-solo

To run the single reciepe in same machine > chef-apply hello.rb To generate…

Read more »
chef-documenting-cookbooks

Chef – Documenting Cookbooks automatically

Problems Area – Our infrastructure has many cookbooks that aim to be reusable, primarily through encapsulating behaviour in LWRPs. This…

Read more »