Top "Chef-infra" questions

Chef Infra (formerly just Chef) is a DevOps tool for scripting server configurations in Ruby (called cookbooks).

Setting up a MySQL database with a user with Vagrant and chef-solo

I'm trying to automate the developer setup on a project, such that a new developer can simply issue vagrant up …

chef-infra vagrant
Adding chef cookbooks from github

I've downloaded a number of cookbooks from the opscode site using the command: knife cookbook site install git for example. …

chef-infra
How print or debug Chef attributes

I created a Chef cookbook with attributes, then tried to boostrap a code to node and pass additional attributes in …

java ruby attributes chef-infra
Chef 'cookbook' in Berksfile vs 'depends' in metadata.rb

What's the difference between adding cookbooks to Berksfile using 'cookbook' and adding cookbooks to metadata.rb using 'depends'? For example, …

chef-infra berkshelf berksfile
How can I develop and debug Chef cookbooks and recipes in an IDE (like Eclipse)?

I'm new to ruby and Chef. I've been developing cookbooks, committing them, uploading them to the Chef Server then deploying …

ruby eclipse ide eclipse-plugin chef-infra
Chef clients and validators

I'm trying to understand the concept of Chef clients and validators, and their relationship to the bootstrapping process. According to …

chef-infra bootstrapping knife
Can I set fqdn for chef nodes?

I have several servers set up with a custom internal local domain - x.local. So I have servers s1.…

chef-infra knife
how to require my library in chef ruby_block

I'm developing a cookbook to deploy a simple ROR application. I write an app_helper.rb and put it into …

chef-infra cookbook
Resolving and downloading chef cookbook dependencies

Let's say I want to use a community cookbook (i.e. http://community.opscode.com/cookbooks/gerrit). So I will …

chef-infra knife cookbook
Chef Ruby loop over attributes in an .erb template file

So this might be a little confusing but bear with me. In short I want to loop over all attributes …

ruby elasticsearch chef-infra cookbook chef-template