Report this

What is the reason for this report?

Problems Uploading to WebServer

Posted on July 3, 2017

Hello Community,

My very first post here - my first foray into Chef.

I have been using the following document: Automating Azure virtual machine deployment with Chef

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/chef-automation.

I have come across the following stumbling block with the error message:

PS C:\chef> knife cookbook upload webserver WARNING: No knife configuration file found ERROR: Could not find cookbook webserver in your cookbook path, skipping it WARN: Failed to read the private key C:\chef\client.pem: #<Errno::ENOENT: No such file or directory @ rb_sysopen - C:\chef\client.pem> ERROR: Your private key could not be loaded from C:\chef\client.pem Check your configuration file and ensure that your private key is readable

I have installed the server and followed the instructions as best as I could. Can someone please let me know where I might be going wrong?

Thanks

Carlton



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Why are you asking on DigitalOcean if you’re using Windows and Azure?

Hi,

I thought this community was for all platforms.

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.