2
votes
2answers
59 views

Customizing Chef cookbooks

I am trying to setup Munin using Chef, and I'm not sure where to put the customizations that are needed. For example, the documentation on Github says to add munin_plugin 'plugin_name', in the ...
1
vote
2answers
317 views

Adding/Enabling windows feature using chef

I am writing chef cookbook to add/enable some of the windows feature. For enabling I am using powershell_script resource and below is the powershell script. Import-Module Servermanager ...
2
votes
2answers
1k views

chef upload cookbook failed with network error

I've created a chef server on a virtual machine (192.168.0.21). The server runs fine on https (this is the last version from the opscode site). knife user list (and the other list commands) run fine, ...
1
vote
1answer
496 views

A chef recipe to install ruby 1.9.3 system wide without rvm nor rbenv

I'm looking for an Opscode Chef cookbook that installs system-wide Ruby version 1.9.3, patch-level latest at the time of the run_list execution. Have done some research and there is a Brightbox PPA ...
0
votes
0answers
159 views

How to override a resource defined by another cookbook?

I'm writing a cookbook for nginx with a mix of HWRPs and LWRPs to handle resources such as upstreams, sites and locations, so it's easier for us to create and deploy the development environments on ...
0
votes
1answer
75 views

Chef cookbooks marked as executed

I have setup a Chef server in our network that I use to manage several nodes. These nodes have a chef-client installed executing as a daemon every X minutes. The problem is that every time the client ...
1
vote
3answers
1k views

Chef Knife Upload Cookbook: Method not Allowed

I'm running Chef server 11 on a CentOS 6 box. Installed via the RPM from Opscode. I set up my workstation on a Windows 7 box. I can run the usual knife client list and get a response, so I'm confident ...
2
votes
2answers
1k views

Chef cookbook dependencies of dependencies

This might be a simple question - I am trying to install a cookbook (gitlab) I cloned the cookbook into a folder on my local drive and ran knife cookbook upload gitlab. Immediately it threw an ...
2
votes
1answer
1k views

Overriding attributes with Chef Solo

I'm trying to install Maven 3 using Chef Solo and the following cookbook: http://community.opscode.com/cookbooks/maven The cookbook installs Maven 2 by default, and the first time I ran it, it ...
1
vote
1answer
857 views

Specify virtualenv python version using Chef's application_python cookbook

I'm using Opscode's application_python cookbook, and trying to deploy a Django application. I need to use Python 2.7 for this project, but it appears that the virtualenv creation is done with ...
3
votes
1answer
2k views

setting chef hostname to nodename on/after bootstrap

I do tests atm with Chef and I have a virtual machine which I'm cloning to generate new nodes. I do bootstrap with the knife command and the -N Parameter to give each host a nodename. The Problem is ...
3
votes
2answers
1k views

chef assign elastic ip to instance

I am using a custom bash script to spin up/down EC2 instances as needed. The script creates the instance similar to: knife ec2 server create --config .chef/knife.rb with a few other parameters. It ...
0
votes
1answer
260 views

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 ...
1
vote
1answer
677 views

Problem configuring Cookbooks in chef

I've been trying to setup a chef server and supply it with the cookbooks form the opscode github page http://github.com/opscode/cookbooks.git I've cloned this repo and set it in both my server ...