The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
2 views

Chef Installation Error - Error executing action `run` on resource

I am trying install chef (chef-server_11.0.4-1.ubuntu.12.04) on ubuntu 12.04.5 64 bit. After the installation, when I run "chef-server-ctl reconfigure" getting following error. Please let me know ...
-1
votes
2answers
36 views

Real-time integration with Chef Server

We have a set of Chef servers whose node data we integrate with data outside of Chef. Currently we use a batch sync process to read nodes out of Chef and then push the data into the data integration ...
-1
votes
0answers
8 views

unable to install and configure chef-server on ubuntu 12.04

I have ubuntu 12.04 installed on aws cloud and I am trying to install chef server on it, but it does not configures correctly and returns an error. I am following this simple guide for installation ...
0
votes
1answer
47 views

Internal Server Error when trying to upload cookbooks

I'm trying to migrate our Chef server to another box. I installed a new instance of Chef in the new box and I can access it using the default admin and password. I can also do knife node list and ...
0
votes
0answers
51 views

Chef says cookbook doesn't exists when it does

In my runlist for one of my nodes, I have "recipe[logstash::server]". When I run chef-client on the node, the following error is thrown: The following cookbooks are required by the client but don't ...
0
votes
1answer
50 views

Changing Chef Server IP Address

My understanding was that the Chef server is identified to clients by the FQDN, rather than by the IP address (and all the configuration I've done suggested this as well). I found myself in the ...
0
votes
0answers
180 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
78 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 ...
0
votes
1answer
105 views

Chef Reconfigure Errors preventing successful run

I am quite new to chef and is now trying to figure out why the following two errors are preventing me from a successful install. Recipe: private-chef::redis_lb * ...
2
votes
1answer
241 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
316 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
3answers
699 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
629 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. ...
0
votes
0answers
10 views

Chef attributes pass in json or any other possibilities

Is there any possible way to pass attributes OTHER THAN JSON FILES which we need to override a default attributes of cookbook recipe in chef?
1
vote
1answer
380 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
163 views

Chef SSL authentication using enterprise CA

I am trying to configure Chef in our environment. My understanding regarding the Chef SSL configuration is as below. While installing chef-client in nodes using knife bootstrap command, ...
0
votes
0answers
44 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
105 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
275 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
1k 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
563 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
102 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
54 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
456 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
53 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
2k 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
359 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 ...
0
votes
1answer
601 views

Installing Chef-Server on Fedora 18

I am trying to install chef-server on a Fedora 18 aws small instance. The first steps that I have done are the following: yum update rpm -Uvh http://rbel.frameos.org/rbel6 With the intention of ...
2
votes
2answers
701 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 ...
3
votes
1answer
275 views

How to monitor and log Chef server and Chef client response time and network trafiic?

I am very new to Chef Server and Chef Chef client. Also, new to Ruby in which Chef was written. I have a problem monitoring the performance of chef server's response time when Chef client is running ...
0
votes
1answer
192 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
476 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
291 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
232 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
0answers
56 views

Trying chef cookbooks before uploading

We're using Vagrant & Chef to provision the staging VM for our app. Once I have a working cookbook, I upload it to chef-server and Jenkins hook ensures the staging env gets updated. However, ...
2
votes
1answer
180 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
95 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
216 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 ...
0
votes
1answer
176 views

Updating a staging server (from a CI server) in a Vagrant box with Chef

I'm using Vagrant + Chef (chef_client provisioner) to create & provision a staging environment for my server. And I have a Jenkins job set up that is run every time I push to my 'develop' branch. ...
1
vote
1answer
1k 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
510 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 ...