Top "Chef-infra" questions

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

How can I put the output of a Chef 'execute resource' into a variable

I'd like to put the output of a shell command into a variable for later use in a Chef recipe. …

chef-infra
How to recursively change the owner and group on a directory with Chef?

the resource_directory has only 2 actions available: create and delete I need to update the owner and group of a …

chef-infra file-permissions
Chef and erb templates. How to use boolean code blocks

I am new to chef, ruby, ruby DSL, and erb. I come from python. In a ruby erb template I …

ruby chef-infra
What does `Chef::Config[:file_cache_path]` do exactly?

First off, I apologize for asking such a dumb question. But the reason I ask is because I'm having a …

chef-infra
Rabbit - Error: mnesia_unexpectedly_running

I am trying to cluster rabbit using chef Here is my error. I shutdown all of rabbit on the second …

rabbitmq chef-infra
How to lazily evaluate an arbitrary variable with Chef

I'm writing a Chef recipe to install our application code and execute it. The recipe needs to be particular about …

ruby variables chef-infra chef-recipe
How to make chef check for RPM package and then install?

I am currently using chef to install the RPM JDK package but the problem is that it does it every …

rpm chef-infra
How do I create user account by chef-solo?

Question How do I create user account by chef-solo? Why does "users" recipe needs client.pem? Environment ruby is ruby 1.8.7 (2011…

chef-infra vagrant
Can I modify the ownership for a shared folder in vagrant?

I use vagrant and chef to develop my own blog in a virtual machine. To have easy access to the …

acl chef-infra vagrant
Which is better, Nagios or Sensu?

I am unsure about which monitoring framework to use. Currently I am looking at either Nagios or Sensu. Can anybody …

amazon-ec2 monitoring chef-infra