Top "Chef-infra" questions

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

Chef - How to get the output of a command to a Ruby variable

Chef - How to get the output of a command to a Ruby variable I have the below scenario where …

chef-infra engineyard
How to add a cron job entry using Chef recipe

All, I have a shell script that is creates tar file of logs. I have embeded the recipe in the …

shell cron chef-infra chef-recipe cookbook
What is the idiomatic way to install a Debian package using Chef?

Below my code for installing vcider. I am learning chef but have not seen anything for installing a dpkg. I …

chef-infra
Chef Error - SSL Validation failure connecting to host

My chef-server is COMPUTE1 (in capital letters) and workstation is COMPUTE2 (in capital letters) and I am trying to upload …

chef-infra chef-recipe cookbook
DRY within a Chef recipe

What's the best way to do a little DRY within a chef recipe? I.e. just break out little bits …

ruby chef-infra chef-recipe
Chef on Vagrant Box: Can't find encrypted data bag secret

When provisioning a vagrant box with (hosted-)chef I get the following error: No such file or directory - file …

chef-infra vagrant
chef-client cannot find cookbooks using berkshelf

I'm new to chef and ran into problems with berkshelf and chef-client. I want to have my own cookbook with …

chef-infra berkshelf
Why doesn't "knife upload roles" upload any roles?

I followed the OpsCode quickstart guide and things went fairly smoothly, but now I'm running into issues experimenting with roles. …

chef-infra knife
download roles and cookbooks from ChefServer with knife

Given I started working with Chef using the Chef Server Management Console and I now want to start using a …

chef-infra continuous-deployment
Updating a run list in chef using knife

I have cookbook which contains a list of recipes. What is the command to add some specific recipes (not all) …

ruby knife chef-infra