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


Chronological Thread 
  • From: Venkat Chowdhary < >
  • To: Venkat Chowdhary < >, " " < >
  • Subject: [chef] Re: Not able to create Environments and Roles using Chef-solo and knife
  • Date: Mon, 17 Mar 2014 20:49:01 +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:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=33scgLppjQCQRA7l4p6AVklnazPbsdYFbJtK09T5nV6CKPQDAGq9nB/DtQbTriiTkMa24pfJ3ec9FmXZQM2TEfi0fd/lbxK30ViwrbOtrPFUo9HPHyZHub3Da+ELd24W5wf70JOg965TAsc0uIaI2rVvlNqCmeaWg9XWmTcsF6g=;

Hi

    Can someone please help me? Do we have any plug in to create Roles, Environments in chef-solo like how we do using knife (knife environment create ENVIRONMENT, knife role create ROLE).
 
Thanks & Regards
Venkat


On Monday, 17 March 2014 12:53 PM, Venkat Chowdhary < > wrote:
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.

§