The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
9 views

vagrant-omnibus: not a valid version of chef

At some point I started receiving following error while trying to provision new vm with vagrant: There are errors in the configuration of this machine. Please fix the following errors and try ...
1
vote
1answer
25 views

How fix when cmd prints command instead of run it?

I am trying to automate chef setup for windows. So I wrote .bat according to this: call winrm quickconfig -q call winrm set winrm/config/winrs @{MaxMemoryPerShellMB="300"} call winrm set winrm/config ...
0
votes
0answers
16 views

Installing zend-server php 5.3 on debian 7.x using chef cookbook

When trying to install zend server (6.3) with php5.3 on debian 7.x (wheezy) using the zendserver cookbook for Chef I get the following error: (needs to be php5.3 because of old code in PHP ...
1
vote
0answers
31 views

Enter a Failed Docker Container with a Different Command

I have a fairly complicated docker container I'm attempting to build. As part of the build process I have I install Chef and have Chef install a number of cookbooks using Chef-Solo. I am having the ...
0
votes
0answers
34 views

Berkshelf: Missing artifacts: ca-certificates

I am trying to vargrant up this project git@github.com:ryuzee/vagrant-sensu-sample.git. However I got this exception: $ vagrant up Bringing machine 'server' up with 'virtualbox' provider... Bringing ...
0
votes
0answers
87 views

Knife commands in chef is not working

my knife config was working. Chef server was updated to a newer version. the pem files match and the knife config should be correct. But when I run any knife command..for example knife user list ...
2
votes
2answers
111 views

Chef tool : saying need to mention version while installing httpd

Code I have written [root@ns1 sysadmin]# cat installstarthttpd.rb package' httpd' service 'httpd' do action [:start, :enable] end file '/var/www/html/index.html' do content ' ...
0
votes
1answer
303 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
1answer
386 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
250 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
55 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
341 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
451 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
69 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
1k 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
23 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
16 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
591 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
32 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
96 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
122 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
567 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
93 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
337 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
162 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
4k 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 ...