The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
14 views

Trying to install graphite via chef

We have graphite installed but it needs to be migrated from where it is to aws however I'm having trouble getting it to install in a new environment. Originally it installed everything though apt-get ...
0
votes
0answers
26 views

How to override ssh port in .kitchen.yml?

I want to be able to set which port to use for ssh forwarding when running up kitchen converge. I added the forwarded_port lines to .kitchen.yml: --- ...
0
votes
2answers
26 views

trying to get msysgit installed via chocolatey with chef but it's hanging

I'm building a Go-Agent that's deployable via chef to AWS (to give you some context) Part of that is installing Msysgit and as I look it's been 1 hour and 3 mins since it's started trying to install ...
0
votes
2answers
51 views

nginx on vagrant box doesn't start automatically

I've set up a vagrant box with this vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "puphpet/debian75-x64" config.vm.synced_folder "../.", ...
1
vote
1answer
46 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
58 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
1answer
77 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 ...
2
votes
0answers
77 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
88 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
1answer
219 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
395 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
604 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
607 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
463 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
74 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
369 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
502 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
77 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
28 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 ...
1
vote
2answers
25 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
748 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
34 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
117 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
166 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
730 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
102 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
353 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
173 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 ...
5
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 ...