Top "Chef-infra" questions

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

How can I display the output of a Opscode Chef bash command in my console?

I use Vagrant to spawn a standard "precise32" box and provision it with Chef so I can test my Node.…

bash stdout chef-infra vagrant
Private key could not be loaded when I run "knife client list"

Configuration file written to /home/ubuntu/sudo /home/ubuntu/chef-repo/.chef/knife.rb ubuntu@mychefclient:~$ knife client list WARNING: No …

ubuntu chef-infra installation knife
How to find out the version of a chef server

I have a chef server that I'm pretty sure is chef 10. I don't remember the exact version and it doesn't …

chef-infra
Node Name in Chef Template?

I've been trying to figure out how to get the node's name (knife bootstrap -N) into a template. I've tried …

chef-infra chef-recipe
Why can't chef resolve my cookbooks?

Intro I am learning Chef to automate the server management at work. I downloaded chefdk 3.0 from here and now I …

chef-infra chef-recipe berkshelf
Chef: How do I override default attributes in roles?

I'm using the opscode nginx cookbook for configuring the nginx server on my nodes. The nginx cookbook has some default …

chef-infra
Why do people use Puppet/Chef with Amazon Cloud Formation instead of just using CloudInit?

We're planning to use AMI EC2 instances which are not "pre-baked". I.e. when they are spun up, they are …

chef-infra puppet configuration-management cloud-init
How can I see all the data that solr is indexing?

So I have a solr server running as part of a chef server. Some of my nodes just aren't coming …

java solr chef-infra
How to update the chef-client version?

I have a chef client that is running chef 11.4.0, that means, when I run chef on the machine it says …

chef-infra
chef only_if attribute equals true

Problem: I have a chef statement that should only run if the attribute is "true". But it runs every time. …

ruby chef-infra lwrp