문제

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