Questions tagged [chef]

Chef is an open source configuration management framework for infrastructure automation.

Chef is an open source systems integration framework built to bring the benefits of configuration management to your entire infrastructure. You write source code to describe how you want each part of your infrastructure to be built, then apply those descriptions to your servers. The result is a fully automated infrastructure: when a new server comes on line, the only thing you have to do is tell Chef what role it should play in your architecture.

More information can be found in the Documentation.

635 questions
0
votes
1 answer

chef and monit files

I have several processes running on servers with different roles that are monitored by monit. For example, say I have an Apache server and a DB server with MySQL. I have several monitrc files that can be dropped in to monit's configuration…
Josh Nankin
  • 722
  • 12
  • 27
0
votes
3 answers

writing a chef cookbook for an application with lots of dependencies

If i have a a software system that has a lot of dependencies on other libraries, like libssl, or libxml etc, should I be creating separate cookbooks for each of these libraries (with a recipe that really only has like 2 lines) or do people do…
Josh Nankin
  • 722
  • 12
  • 27
0
votes
2 answers

chef and software packages with long running builds

I'm experimenting with chef and moving my server configuration over to it. One hurdle I'm encountering is how to deal with packages that must be compiled and installed manually (configure, make, make install) but take forever to compile. I don't…
Josh Nankin
  • 722
  • 12
  • 27
0
votes
2 answers

How to use only Chef's "php_pear" provider from "php" cookbook

When using Vagrant (and subsequently Chef), I'm provisioning my VM using Zend Server CE, which automatically installs the usually *AMP stack. I'd like to install some packages via PEAR, for which the "php" cookbook already has a "pear" and…
Eric
  • 111
  • 4
0
votes
2 answers

Chef-solo cannot locate an nginx recipe template

I have been recently experimenting with Chef. I thought I would attempt to rebuild my personal web server using chef-solo. It's an AWS instance running the Amazon 64bit Linux AMI. My first objective is to install nginx. I have cloned the Opscode…
crftr
  • 177
  • 1
  • 8
0
votes
2 answers

CouchDB/xulrunner hang on Ubuntu 10.04 LTS

I have an Ubuntu 10.04 LTS box setup as a Chef server. This was all working fine until the first time the box was rebooted, after which the following three (possibly unrelated) things happened: chef-client attempted to install updates via. apt,…
Tim Fountain
  • 53
  • 1
  • 8
0
votes
2 answers

Running scripts before Chef-solo starts?

I'm using Vagrant with Chef-solo to create a dev environment VM. Problem is, the Debian Chef package depends on a certain version of RubyGems to run, but I want the VM to have a much newer installed-from-source RubyGems version. Is there a way in…
Suan
  • 163
  • 1
  • 5
0
votes
2 answers

How to dynamically setup DNS

I trying to setup as part of a study a PaaS (Platform as a service) for Ruby on Rails applications. I have already played with Amazon EC2 and Chef creating EC2 instances based on Chef's recipes and roles. Now I need to be able to give every…
Newtonx
  • 305
  • 1
  • 4
  • 11
0
votes
1 answer

Configuring Virtual Hosts with Chef - Best Practice

I'm getting started with Chef and I've got a couple of things work which is great. I'm a little stuck though with how to use the Apache2 recipe to configure a virtual host. I have 5 hosts to set up and I'm wondering where the best place is to store…
0
votes
1 answer

Chef conditional execute in recipe

I'd like to create an execute block which is only run when some specific condition is met (in this case if an interface wlan0 is present). Alternatively, I'd like to prevent the notifies clause of a template on the same condition. How can I describe…
viraptor
  • 1,296
  • 6
  • 21
  • 41
0
votes
1 answer

Problems bootstrapping Chef from Rubygems on CentOS5.4

I am new to Chef and am trying to install chef-server on an AWS t1.micro instance based on RightScale CentOS5.4 32 bit ami. I am bootstrapping from Rubygems following the guide from the opscode wiki except I installed Rubygems 1.8.5 instead of…
kdl
  • 119
  • 4
  • 16
0
votes
1 answer

Scaling Chef with multiple instances or replication

I have a chef server setup, but since it serves quite a lot nodes, the server gets slow. There is two scenarios I would like to explore and I would like to know if anyone has experience with them: Since Merb is single threaded, is it possible to…
Wouter de Bie
  • 719
  • 5
  • 7
0
votes
5 answers

Any conference videos online that you guys can recommend?

I like watching conference presentations that show you how to do things when it comes to server setup/deployment etc. Any good ones out there? The more practical and hands on the better.
Blankman
  • 2,891
  • 10
  • 39
  • 68
0
votes
1 answer

Chef - not able to install sysstat

I am having trouble installing sysstat using a chef (v0.9.8) recipe. Any help or pointers would be greatly appreciated! I have included my chef recipe towards the end. After running this recipe, I am unable to execute /etc/init.d/sysstat start I…
user57888
0
votes
2 answers

rb_sys_fail_path_in(rb_file_s_rename, (filepath1, filepath2)- errno == 0 error when running a newly installed version of chef

I have 1 box that seems to not want to run chef, while I have 5 other identical boxes that are working just fine using the same rhel and chef versions. On the non-working box, Chef runs correctly when the runbook is empty, but it fails when I add…