[chef] Not able to create Environments and Roles using Chef-solo and knife


Chronological Thread 
  • From: Venkat Chowdhary < >
  • To: " " < >
  • Subject: [chef] Not able to create Environments and Roles using Chef-solo and knife
  • Date: Mon, 17 Mar 2014 15:23:14 +0800 (SGT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=rQBaqYiH0QJMo90V/khmKw5EeLxYYi8t4XE572t9GxvG0IIPXM0tlmuXiuKHq7pQXq7cR0K5MX1NjDH+P+bY5yQ7g6BGQexFg89FoFe81hDgwqDSRenuZtnRSTKKMAzDIAw4DyD6srdOemWLlTtTx/hN1FKXvW1bNa2geXpiO2I=;

Hi
I am installed chef-solo using curl -L https://www.opscode.com/chef/install.sh | bash
But, When i am trying to create Roles and Environments, i am getting 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, Chef experts, could you please help/guide me how to create roles, environments and deployment using chef-solo.
Thanks in advance.
Thanks & Regards
Venkat



Archive powered by MHonArc 2.6.16.

§