سؤال

I try tu use Chef on debian machine (version 8 : Jessy). I have installed Chef with this command :

apt-get install chef chef-server

After, I try to configure Knife with this command :

knife configure -i

At the end of the configuration I have this error :

ERROR: Your private key could not be loaded from /etc/chef-server/admin.pem
Check your configuration file ensure that your private key is readable

In the repository /etc/chef I have only one file : "client.rb" .

Can you help me ?

Samuel

PS: Sorry for my bad English (I'm french ;) )

هل كانت مفيدة؟

المحلول

After installing Chef Server 11, you have to run chef-server-ctl reconfigure, which then extracts the server. This is described in the docs and should also be emitted after installing the debian package.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top