0
votes
0answers
31 views

Open Source Chef Server can't upload cookbook

I just setup the open source chef server on an Ubuntu 12.04 EC2 instance, I've setup my webui and am able to get responses from my knife commands ie: knife node list, knife client list, knife user ...
2
votes
1answer
32 views

Migrate from enterprise chef to open source chef

I tested out Enterprise Chef and its 5 free nodes. Since then, I have setup the open source chef and want to migrate three nodes from the enterprise setup to the open source server. Aside from just ...
2
votes
1answer
49 views

chef-server-ctl command not found

I've installed the Chef server on Ubuntu Server 14.04. After downloading the Chef package (chef_11.12.8-2_amd64.deb) I ran sudo dpkg -i chef_11.12.8-2_amd64.deb. The package seems to have installed ...
0
votes
1answer
74 views

Chef Server on Amazon 2014.03 fails to configure

I'm trying to configure Chef Server 11.1.8 on Amazon Linux 2014.03 (on EC2 instance). The RPM installs OK: sudo rpm -Uhv private-chef-11.1.8-1.el6.x86_64.rpm then run sudo ...
0
votes
2answers
246 views

Chef Server 11.4 SSL certificate failure when bootstrapping a node

I'm trying to bootstrap a RHEL 5 server with Chef 11 Chef-Client using my Chef 11 Work station through a Chef Server 11.4. However, I am receiving the error below. ...
-1
votes
2answers
225 views

chef-client stop working just since 2 days ago

I'm having some troubles with new windows node deployments. The chef-client fails with this error I want to solve this, but i don't know were to find errors which can help me to solve this. ...
1
vote
0answers
217 views

How to test installation of Chef Server using ChefSpec?

I'm getting started writing tests for my Chef cookbooks. I'm using ChefSpec to unit test my cookbooks. I need to install a Chef Server on one of my hosts and I would like to write a test for that. So ...
0
votes
0answers
30 views

Enabling chef-validator as admin from web UI

I set up a Chef-server instance on Digital Ocean following OpsCode's instructions. Everything up through Step 8 works just fine. However, I'm having trouble enabling chef-validator as an admin. ...
0
votes
1answer
72 views

Single sign-on with Chef

I'm getting my personal infrastructure set up (Gitlab, Jenkins, etc.) and I'm planning on using OpenID for single sign-on. I understand that SSO works for Gitlab and Jenkins. Would I be able to ...
1
vote
1answer
179 views

Bootstrap Chef on Vagrant Box

I'm trying to bootstrap a Vagrant box using hosted chef server. knife bootstrap testbed001.me --sudo -x root -N "testbed001" However, the command throws an error: Bootstrapping Chef on ...
2
votes
4answers
657 views

chef-server-webui session not working when access from external IP address

I have installed chef-server on an Ubuntu 12.10 system using the official .deb package for that release. After the installation had finished I run chef-server-ctl test Which reported success, 0 ...
2
votes
2answers
435 views

Chef cookbook continuous deployment

I'm trying to integrate my chef workflow to my usual continuous integration/deployment workflows. I managed already to have a jenkins task which checks out the git repo and runs foodcritic but i ...
0
votes
1answer
64 views

Package versions on chef

We're deploying a multi-node PHP environment using chef. I've written a couple of cookbooks for specific server roles, that install certain packages (mostly using the package manager) the application ...
0
votes
1answer
46 views

How can I fix a missing activesupport 3.2.12 gem error in Chef 11?

Symptom: In the Chef Server 11 user interface (UI), when clicking the "Edit" link on a user (ie: 'hxxp://chef.example.com/users/admin/edit'), the following error shows up: ERROR: No such file or ...
0
votes
1answer
391 views

Chef clients time out trying to connect to server

I'm not sure whether the problem is on client or server. All my machines are Ubuntu 12.04 x64. I'm on Digital Ocean, and I have to configure iptables to "survive". Server Story My Chef Server is on ...
0
votes
3answers
1k views

Setting up Chef Node: Amazon EC2 instance is create but bootstrap fails

I am trying to get going with Chef and the freebie Chef server from Opscode. I got my Chef workstation configured on a local VM running Ubuntu 12.04LTS. I downloaded the chef-repo from GitHub as ...
0
votes
1answer
47 views

How to execute script only after chef updates all nodes?

I want to make a recipe that deploys our software update executable to all servers and then publishes new version info to database. How to make script that makes database request only after all nodes ...
7
votes
1answer
1k views

Chef Server vs Chef Solo [duplicate]

I'm putting together a structure to run a Rails application. The application itself runs on Heroku. However, it makes requests to a cluster, which performs the call through a program in C. To be able ...
0
votes
3answers
303 views

chef server on AWS, ERROR: Connection refused

I'm trying to get a chef server running on a CentOS instance on AWS. I've been following Opscode's directions here: http://www.opscode.com/blog/2013/03/11/chef-11-server-up-and-running/ However, when ...
2
votes
2answers
576 views

keeping chef data bags on server in sync via git repository

I recently started using chef and I love it for provisioning my vagrant boxes and quickly spawning new machinges. Now I started using a hosted chef server. It's pretty easy to manage my cookbooks ...
0
votes
1answer
170 views

Using Chef Server, what is a good pattern for removing duplicate calls to a particular resource?

I have a recipe with multiple calls to a given resource, let's say directory. The calls to directory, for the most part, have very similar parameters (i.e. same owner, same action, etc.) - i.e. a lot ...
0
votes
2answers
2k views

Using Chef, can I use include_recipe in an If statement and count on it working multiple times?

I would like to include a recipe based on a conditional branch in another recipe. This is currently planned to be during the execution of a Ruby .each iterator. The opscode wiki says the following ...
0
votes
1answer
365 views

Chef bootstrap chef-server, deploy my own validation.pem and webui.pem

I have existing validation and webui private keys that I wish to use on a new chef-server deployment. Part of my bootstrap template copies these keys to /etc/chef/. When chef-solo does its run and ...
0
votes
1answer
261 views

Spinning up multiple EC2 servers with knife and assigning elastic ips from a pool

I'm wondering how to go about spinning up multiple EC2 servers using knife of the same type, say 4 app servers, and assigning them each an elastic IP from a pool of available Elastic IPs. I have ...
1
vote
2answers
178 views

replicate an existing chef node

I have a VM (hosted "in the cloud") that has been provisioned with chef using my organisation's own chef server. I would like to replicate that VM locally (using a vagrant managed VM), in order to do ...
2
votes
1answer
128 views

Where is the history for the knife executing on the open-source chef server?

For example, after I run a knife command of 'knife cookbook upload cookbook_name' from a chef workstation or somewhere, where can I find the history or log about who sent the knife command and when, ...
1
vote
1answer
90 views

Chef-Server fails startup

I've installed chef-server from the chef apt repository using these instructions and everything seems to work until I try to start chef-server. I'm running Debian Squeeze in a Linux container (LXC). ...
4
votes
2answers
2k views

Why can't “knife data bag from file” find existing json file on chef server?

Summary: I'm running into a problem with "knife data bag from file", where knife doesn't recognize the .json data bag file pulled down from a remote git repo. Background: I'm currently trying to ...
3
votes
1answer
169 views

Two chef nodes (two environments) on one machine

We are resource limited here, and want our qa and staging environments on one machine. We are going to run separate binaries and confs for our app & supporting services. According to chef docs ...
1
vote
1answer
757 views

Shared files/templates between cookbooks

We have multiple cookbooks which reference the same files and templates and were wondering if there is a reasonable way to ensure all of these are the same file to ensure that none go out of date. An ...
4
votes
2answers
2k views

Chef recipe read attributes from another node

I'm writing a very simple chef cookbook to manage the deployment of a web app, and I have a chef managed node for the database server, and would like to bring in the IP address (and a few other ...
2
votes
1answer
459 views

Can you upload chef cookbooks directly from a hosted Git repository?

I'm learning Chef. My cookbooks are on Github. It seems the workflow goes: Install cookbooks locally (download them from Github with knife site install) Upload cookbooks to server (knife cookbook ...