I installed chef-solo using curl -L https://www.opscode.com/chef/install.sh | bash
But when I try to create roles and environments, I am getting the below error:
knife role create test
ERROR: Your private key could not be loaded from /etc/chef/client.pem
Check your configuration file and ensure that your private key is readable
As I am using chef-solo, I don't have /etc/chef/client.pem
(I guess this will be available in Chef server and client model).
And I think knife is not best option in chef-solo as most knife commands are basically wrappers around uploading and downloading data to/from a chef server (if I am correct).
So, can anyone tell me how to create roles, environments and deployment using chef-solo?