[chef] Re: Re: Roles to JSON broken on Chef-Solo


Chronological Thread 
  • From: consiliens < >
  • To:
  • Subject: [chef] Re: Re: Roles to JSON broken on Chef-Solo
  • Date: Mon, 19 Jul 2010 18:36:34 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=mhw+ylq4evEerNgHqHwkw1Q+edYI26a2+VDdI+/EeRbJsSdZIVSULNqm2orlSQmxgO XwPBk+OsPbTwakDYGL7xfQdoDUPhaeHJdL9d1fx8f+jz6IZUMbpF/K50YOtBvSlq5Ro5 82dmJ57GICryyGsjQEd5VNGueXcDTqsFwwLrc=

On 07/19/2010 12:07 PM, Daniel DeLeo wrote:
On Fri, Jul 16, 2010 at 1:01 PM, 
consiliens< >
  wrote:
Why does chef-solo require a key to generate a JSON representation of a role
for use with chef-solo?

`rake roles` calls `knife role from file` which assumes you want to
upload the role to the server. With chef solo, you are not required to
convert the role to JSON before using it, however--you should be able
to just configure your `role_path` in solo.rb and run with it. I see
this is not documented on the roles page in the wiki, and the chef
solo page states that you have to convert to JSON first, which is
incorrect. I don't have time to fix these right now, but I'll make a
note to fix them as I'm able. If you're willing to fix them, that
would be greatly appreciated.

Dan DeLeo


I'm willing to fix them. Thank you for explaining how to use roles with chef-solo.



Archive powered by MHonArc 2.6.16.

§