Top "Chef-infra" questions

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

specify exact cookbook version in node run_list still possible?

I have this in my notes that {"run_list":["recipe[[email protected]]"]} is possible to explicitly specify a cookbook version to …

chef-infra
How To Set An Attribute on a Chef Node?

I seem to be missing something obvious with Chef. I want to set an attribute on a node (a file …

chef-infra knife
Chef correct way to load new rpm and install package

I am trying to install the latest version of php on a centos box and am struggling. The cookbook i …

chef-infra vagrant provisioning sysadmin chef-solo
How to control the version of Chef that Vagrant uses to provision VMs?

A current Chef recipe isn't running because of a bug in version 0.10.10. How can I upgrade the version of Chef …

rubygems chef-infra vagrant
Vagrant provisioning shell vs puppet vs chef

I have the following setup: Many different projects which are separate git repositories, but all have mostly the same server …

shell chef-infra vagrant puppet provisioning
Create file using template.erb

I am fairly new to ruby and chef, I wanted to know if there is a way to create a …

ruby erb chef-infra
Cookbook not found : Chef Solo

I downloaded the cookbook "oc-java-master" from the Chef community and now I am trying to run it using chef-solo which …

chef-infra cookbook
How to query cookbook versions on a node?

Usage case: The DevOps team launched a node sometime ago, and my team would like to know what's the version(…

chef-infra chef-recipe knife cookbook
Difference between 'knife cookbook create' and 'chef generate cookbook'?

I'm struggling with the chef learning curve. What is the difference between these two commands, and why are there two …

chef-infra
Storing passwords in Chef?

What is the best practice for storing password and API keys with Chef? It's really tempting to store database passwords, …

deployment configuration chef-infra