You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.
Hello, when i run chef commands that are connecting to chef server from $env:userprofile\chef-repo then knife command for example finds the config files in .chef folder, but if run from $env:userprofile(c:\users\administrator), then it complains;
WARNING: No knife configuration file found
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 can specify "-c" flag for knife if running from other locations but if using berkshelf, for example berks upload which must be run from the actual cookbook's repo where Berksfile is in then berks can't connect to chef server. It's supposed to be using knife config but how, when even knife can't find it?
is there some env var for chef-repo and .chef folder that i don't know of, or what am i missing here?
Thanks in advance,
Igor
The text was updated successfully, but these errors were encountered:
Hello, when i run chef commands that are connecting to chef server from $env:userprofile\chef-repo then knife command for example finds the config files in .chef folder, but if run from $env:userprofile(c:\users\administrator), then it complains;
WARNING: No knife configuration file found
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 can specify "-c" flag for knife if running from other locations but if using berkshelf, for example berks upload which must be run from the actual cookbook's repo where Berksfile is in then berks can't connect to chef server. It's supposed to be using knife config but how, when even knife can't find it?
is there some env var for chef-repo and .chef folder that i don't know of, or what am i missing here?
Thanks in advance,
Igor
The text was updated successfully, but these errors were encountered: