Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chef server error on create user (/etc/opscode/pivotal.rb does not exist)

I am extremely new to chef and I am attempting to create a chef server running on a Digital Ocean Ubuntu 14.04 droplet. I am using this guide for the install. I download the .deb and installed it fine. I then run chef-server-ctl reconfigure which runs without an issue. When I go to create my user I enter in all the details and run it, it then waits a few seconds and returns the error ERROR: CONFIGURATION ERROR:Specified config file /etc/opscode/pivotal.rb does not exist

I have scoured the internet to try and find a fix but haven't been able to find a thing. I have also tried doing these exact steps on a VPS running Ubuntu 12.04.5 and getting identical results.

like image 692
lochlanna Avatar asked Feb 19 '15 11:02

lochlanna


3 Answers

For /etc/opscode/pivotal.pem is missing error use following command.

cp /opt/opscode/embedded/service/omnibus-ctl/spec/fixtures/pivotal.pem /etc/opscode/

like image 116
Dushan Wijesinghe Avatar answered Nov 18 '22 00:11

Dushan Wijesinghe


Ran into the same thing when trying to install chef in an VM.

Expanding the memory (from 512Mb to 1512Mb) and reran reconfigure solved it for me.

like image 45
fredde Avatar answered Nov 18 '22 00:11

fredde


Same problem here. An older version, for example 12.03 of chef-server works for me with Ubuntu 14.04

like image 1
matthias Avatar answered Nov 18 '22 02:11

matthias