The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
26 views

How do I create & restore a mysql database dump with Chef?

Environment Ubuntu 12.04 Precise64 Enterprise Chef opscode-cookbooks/mysql opscode-cookbooks/database Wordpress 3.9 Objective I am trying to replicate/clone my production Wordpress server. I'd ...
0
votes
0answers
48 views

Chef “waiting for remote response before bootstrap” indefinitely

Problem: My client does not respond to my bootstrap command, no error is reported. Expected Outcome: I would expect the client to respond within a few seconds of running knife bootstrap. My ...
0
votes
1answer
62 views

Chef fails with python cookbook

I am using this cookbook - https://supermarket.getchef.com/cookbooks/python. Before I continue I have no changes in the recipe. Chef failed to perform the setup during vagrant up --provision. Here is ...
0
votes
0answers
23 views

rails ssl setup on Amazon EC2

Environment Amazon EC2 CentOS Rails 4.0.4 SSL certificates installed Chef My Rails config In my environment .rb (staging.rb and production.rb) I added this config.force_ssl = true Started ...
1
vote
0answers
181 views

OpenSSL::SSL::SSLError while trying to run chef-server

Installed Chef server on my Ubuntu 12.04 server. Following these instructions Getting the following error # chef-server-ctl test The source :rubygems is deprecated because HTTP requests are ...
0
votes
0answers
216 views

Installing libyaml-devel with Chef on CentOS 6.5

I did add the right package name and version but it won't install Chef::Exceptions::Package ------------------------- Version 0.1.6-1.el6 of libyaml-devel not found. Did you specify both version and ...
1
vote
0answers
36 views

Why is connection hanging on 80 or 443?

So I'm using Chef and Vagrant to provision a LAMP stack on a box which I have done before to great success, when along comes this problem. Details as follows: So netstat says we are good tcp ...
0
votes
1answer
492 views

Ubuntu root permission denied

I am trying to setup a Ubuntu 12.04 LTS with chef. I am getting this error, which I'm assuming is related to my user permissions: Chef Client failed. 3 resources updated in 5.613887095 seconds ...
0
votes
1answer
20 views

How to skip a cookbook according to node json file

I have a cookbook like this. if node['httpd'] == "nginx" package "nginx" do action :install end # a lot more stuff end But I don't want to embrace all setting in a if statement. Is ...
0
votes
1answer
15 views

How to make sure order of receipts in chef

I want to create a user at first and then let the user create several directories and templates. I created a cookbook for user like this, knife cookbook create user -o site-cookbooks. How to make it ...
0
votes
2answers
379 views

Should I be using vagrant destroy/up/reload/provision or something of the sort every time I want to change one of my source files?

I have recently started developing a little with vagrant and django in a vm. To get my machine up I use vagrant up, and to destroy it I use vagrant down. Both of these commands are time-consuming as ...
0
votes
1answer
28 views

where do chef and puppet source in house applications from?

We're looking at replacing an in-house solution with chef or puppet to deploy software onto machines. one thing that's not obvious to me in the reading I've done to date is, specifically for in ...
0
votes
1answer
73 views

how to manage secure application API keys with Chef

I have an application I'd like to provision a VPS server for using Chef. My application uses a file that sets up environment variables containing secure API keys for various third party services. I ...
1
vote
1answer
95 views

Chef and PostgreSql

With amazon annoucing postgresql service in RDS, can we setup chef-server(11) with amazon rds postgresql database, rather than using the default databse that gets installed with the omnibus installer. ...
0
votes
1answer
364 views

Creating new user using useradd ,but fails since its unable to create group in Oracle Linux 6

Below is the terminal execution [root@machine chef-server]# useradd -s '/bin/sh' -d '/opt/chef-server/embedded' -r chef_server useradd: Can't get unique system GID (no more available GIDs) useradd: ...
0
votes
1answer
86 views

How to provision a vagrant VM with Chef and and a .rb file filled with instructions

I probably got the whole concept wrong: I have a working Vagrant VM with Ubuntu 12.04, on top of it I want to install a few packages and config files. I have them set in Chef, in the path ...
0
votes
1answer
264 views

Change node value in Chef-solo script at runtime

I'm trying to use Chef-solo to deploy some software inside a Vagrant VM, as well as be able to re-use the same recipes to deploy onto a Centos box running on EC2. I'd prefer to generate the root ...
1
vote
1answer
137 views

ubuntu (setup using chef) - issues updating packages on the system (e.g php, rubygems plus others)

I would really appreciate some help with this as I've been trawling google for days now and coming up empty. Background, I'm using chef-solo/vagrant to build a development webserver, I have used a ...
4
votes
1answer
3k views

How to configure a firewall on Centos using Vagrant and Chef

I've created a server box using Vagrant and Chef and everything is up and running correctly. However, when the box is installed from scratch the default iptables rules are in place and so I need to ...