Chef Lab and Excercise – Test Your Chef Skills

Chef Lab and Excercise – Recipe – Part 1 Chef Lab and Excercise – Recipe – Part 2 Chef Lab and Excercise – Cookbooks – Part 3 Chef Lab and…

Read more »

How to share code between Chef recipes using module?

The simplest thing would be is moving this do stuff to library. my_cookbook/libraries/myhelper.rb: Then you can use this module in recipes like that: Just make sure you add a dependency…

Read more »

How to call another chef recipe within same or other Cookbook?

How to call another chef recipe within same or other Cookbook? How to call another chef recipe within same Cookbook? You can use include_recipe with a file name of the…

Read more »

Chef Errors and Solutions Database

Chef Error: Could not find cookbook cookbooks_test in your cookbook path, sk Chef Error: Network Error: getaddrinfo: nodename nor servname provided, or Chef Error: Getting Error while executing Che recipe…

Read more »

Chef Lab and Excercise – roles – Part 4

Create a role and assign any two cookbooks to role and setup a 2 nodes assigned to role and conerse the role.

Read more »

Chef Lab and Excercise – Cookbooks – Part 3

Write a cookbook using install version of latest tomcat and deploy a Jenkins.war file into tomcat web directory. Write a cookbook using you can install apache http server in CentOs…

Read more »

Chef Lab and Excercise – Recipe – Part 2

Write a recipe using template resources to create a file, but only if an attribute has a specific value. Write a recipe and set same attributes in following location and…

Read more »

Chef Lab and Excercise – Recipe – Part 1

Write a recipe to create a file which should be owned by group called “root”, user “ec2-user” and permission executable. Write a recipe to updates the access (atime) and file…

Read more »

Understanding Chef Node Objects json content!

Chef Node Objects Defined! For the chef-client, two important aspects of nodes are groups of attributes and run-lists. An attribute is a specific piece of data about the node, such…

Read more »

Understanding the chef cookbook’s chefignore file

The chefignore file is used to tell knife which cookbook files in the chef-repo should be ignored when uploading data to the Chef server. The type of data that should…

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 run-list may include roles and/or recipes. A run-list must be…

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 approach is similar to the concept of “no-operation” (or “no-op”):…

Read more »

List Of Chef Tools and their explainations

Chef Code Correctness (Chef Code Analysis) Foodcritic Tutorials Rubocop Chef Unit Testing ChefSpec Chef Integration Testing TestKitchen ServerSpec RSpec Some other tools which can be used along with Chef dsh…

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, built by the awesome Chef community. Its Chef Developer tool….

Read more »

Understanding the chef cookbook’s Berkshelf file

Configuration Management using chef is being implemented with the help of desire files, which is often called a “cookbooks” in chef. Usuallay separate cookbooks is written in practice for each…

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 »