Agile Testing: Working with Chef cookbooks and roles

I deleted the cookbooks directory and cloned the Opscode cookbooks in its place:

# cd /srv/chef/repos/chef-repo
# git clone git://github.com/opscode/cookbooks

Uploading the cookbooks to the Chef server

Just downloading the cookbooks somewhere on the file system is not enough. The Chef server needs to be made aware of their existence. You do that with the following knife command (which I ran on the Chef server box):

# knife cookbook upload -a -o /srv/chef/repos/chef-repo/cookbooks

BTW, if you specified a non-default configuration file location for knife when you configured it (I specified /etc/chef/knife.rb for example) then you need to make a symlink from that file to ~/.chef/knife.rb, otherwise knife will complain about not finding a config file. At least it complained to me in its strange Swedish accent.

To go back to the knife command above: it says to upload all (-a) cookbooks it finds under the directory specified with -o.

Modifying an existing cookbook

If you look closely under the Opscode cookbooks, there’s one called python. A cookbook contains one or more recipes, which reside under COOKBOOK_NAME/recipes. Most cookbooks have only one recipe which is a file called default.rb. In the case of the python cookbook, this recipe ensures that certain python packages such as python-dev, python-imaging, etc. get installed on the node running Chef client. To add more packages, simply edit default.rb (there’s a certain weirdness in modifying a Ruby file to make a node install more Python packages….) and add your packages of choice.

Again, modifying a cookbook recipe on the file system is not enough; you need to let the Chef server know about the modification, and you do it by uploading the modified cookbook to the Chef server via knife:

# knife cookbook upload python -o /srv/chef/repos/chef-repo/cookbooks

Note the modified version of the ‘knife cookbook upload’ command. In this case, we don’t specify ‘-a’ for all cookbooks, but instead we specify a cookbook name (python). However, the directory remains the same. Do not make the mistake of specifying /srv/chef/repos/chef-repo/cookbooks/python as the target of your -o parameter, because it will not work. Trust me, I tried it until I was enlightened by @kallistec on the #chef IRC channel.

Creating your own cookbook

It’s time to bite the bullet and create your own cookbook. Chef makes it easy to create all the files needed inside a cookbook. Run this command when in the top-level chef repository directory (/srv/chef/repos/chef-repo in my case):

Collectible Kitchen Cutlery Sets | Griffith Knives

Any person sitting at home when feels hungry then just jump on kitchen to find any food items and so a person should be equipped with kitchen cookware items. Amongst it cutlery is a very important item that one should not forget or should not compromise with cutlery items. Cutlery refers to any hand implement used in preparing, serving, and especially eating food. It is known by other names too as by silverware, flatware and recently tableware has come into existence. Generally it includes knife, fork and spoon. Now various types of cutlery set are available in the market. The cutlery sets are made up of silver, stainless steel, plastic, electroplated nickel silver and few from other items.

If you want to shop for good cutlery set then always prefer to buy a brand name cutlery set which is able to serve all your purpose. Cutlery set made up of stainless steel would be a more preferable option. The most important thing in a cutlery set is Knives

Where Does Cutlery Originate From?

Cultellus is the Latin word for knife and tells us the origins of modern day cutlery. Back in the Roman times they would have used tools for dining, but they were nowhere near as sophisticated as modern day knives, forks and spoons. Here you will find out how all of the above came into being, in their modern day form.

The word for cutlery would have first come to Britain in the Middle Ages. At this time the Anglo Saxons ruled Britain, and it is likely that they interpreted their own word from the French version of it. It became widely used as a phrase over Britain and still remains do this day. As these etymological roots show, cutlery first became used on the continent, an actually arrived in Britain fairly late in comparison.

I will go back to the very origins of what we see today, to show you how our tools for eating have developed over time.

300,000 years ago, knives were needed by the earliest men, in order to do the job of hunting. If not to kill animals, the knives were certainly used for skinning them and removing the meat in order to eat. Originally, of course, there was no way to forge modern day blades, and so flint and other stone was sharpened and used instead.

Onto the Iron Age later on, and technology had started to develop slightly. A larger variety of knives were made, in various guises, and new techniques meant that it was now easier to cut up food than ever before. This was only a small step though, and other forms of cutlery were still non-existent. It is just that the range of materials on offer to people was wider and so more could be produced. Knives were pretty well advanced by this stage, so we will move onto the next invention: the fork.

Formal use of the fork began in the 1600s, as aristocrats and the higher classes would have had them around their tables. They were not yet in the hands of the lower classes, but nonetheless, they were in existence. Italy were the first to have proper forks, maybe due to the Renaissance and aesthetics being strong there, and they were thus imported into Britain later on. They only became widely made in the 19th century. This is when most people would have begun to use them, not just the upper classes. The idea of the fork had been around since the 11th century, so it was a long time until the island of Britain came to actually make use of the continental idea.

Spoons are the last common piece of cutlery we will discuss: and the last that came to the United Kingdom. These had been made out of wood since the earliest men walked the earth, but did not really take off as developments were made. Britain finally began to use spoons in the 19th century, like the fork, and did so because of soup and the need to eat it in a more polite manner than simply drinking it.

Looking for a Present For a Cook? Try a Chef Knife Set

Are you still shopping to get a present for somebody who happens to love to spend a lot of time in the kitchen? there are tons of kitchen gizmos in existence which you’ll be able to decide to offer as a gift, but how on earth do you select, or understand that it is helpful? One of the most original plus useful gifts to get a cook is often a chef knife set. A chef knife set is exactly what it sounds to be. it includes several knives of good value. Those knives should be considered for the number of reasons, nevertheless they’re usually the standards in a chef’s kitchen.

It can be awfully baffling while looking at all of the different chef knife sets to consider which one you want to to present. Find one that’s basic, contains a variety of knives which can be utilized for usual operations. for instance, steak knives, paring knives, et cetera. take into consideration how large the person is who you’re purchasing those for. If they are a big being, search for knives which have bigger handles, a smaller person should have slighter handles.

Many of those sets have a display case or holder. Over and over again you’ll notice them in wood holders on a counter. Make certain to get a set that includes an attractive holder that will match the recipient’s kitchen.

Try to locate a collection which has a sharpener, even though the person could already possess a sharpener, it is nice to receive one that is made to work as particularly used with the knives you’re buying. in addition it will mean that the holder includes a specific spot for this sharpener making it much easier to find.

Make sure that the set you obtain is really of chef’s quality. this means that they’re too sharp and will not dull rapidly. it also means that they ought to last a lifetime. you may possibly be able to getting a set which includes a guaranty, or else along with free sharpening.

As you’ll observe, a chef knife set is an excellent gift for many cooks. Make certain to follow the advice above as well as buy someone a gift that they will use for their whole lives.

Desire to hear more about chef knife set? Visit chef-knife-set.com