Archive for the ‘Chef’ Category:

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 is a specific piece of data about the node, such as a network interface, a file system, the number of clients a service running on a node is capable of accepting, and so on. A

(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 to the Chef server. The type of data that should be ignored includes swap files, version control data, build output data, and so on. . The chefignore file can be located in any subdirectory of

(Read More…)

Tags: ,

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 in one of the following formats: fully qualified, cookbook, or default. Both roles and recipes must be in quotes, for example: env_run_list When you specify

(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”): decide what should be done, but then don’t actually do anything until it’s done right. Run the executable in why-run mode, which is a type

(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 Chef development kit. A great way to explore resources Chef The chef executable is a command-line tool which Generates applications, cookbooks, recipes, attributes, files, templates, and custom resources (LWRPs) and Ensures that RubyGems are downloaded

(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. Platform – Linux RHEL Download Chef Development Kit(ChefDK) Install Chef Development Kit(ChefDK) Verify Chef Development Kit(ChefDK) Quick way Verify Chef Development Kit(ChefDK) Detailed way  

Berkshelf in Chef explained?

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 module so its easy to maintain. Also, there are good numbers of cookbooks which is being used from community portal which is from supermarket.chef.io. In

(Read More…)

week1 – Overview of Chef.pdf

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

week2 – Node setup, resources & recipes

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

week3 – Node setup, resources & recipes

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

© Tutorials
CyberChimps