[chef] Re: Determine if Chef Run is Solo or Client


Chronological Thread 
  • From: Seth Chisamore < >
  • To:
  • Subject: [chef] Re: Determine if Chef Run is Solo or Client
  • Date: Fri, 10 Feb 2012 16:28:11 -0500

You can check Chef::Config[:solo]:

https://github.com/opscode/cookbooks/blob/master/mysql/recipes/server.rb#L100

-- 
Seth Chisamore
Software Design Engineer, Opscode, Inc.
IRC, Skype, Twitter, Github: schisamo

On Friday, February 10, 2012 at 4:17 PM, wrote:

Is there a way to determine if the chef run is from chef-solo or chef-client?




Archive powered by MHonArc 2.6.16.

§