[chef] Re: Query node's environment from recipe?


Chronological Thread 
  • From: Nathen Harvey < >
  • To: " " < >
  • Subject: [chef] Re: Query node's environment from recipe?
  • Date: Fri, 7 Nov 2014 13:07:35 -0500

node.environment() should do it

On Fri, Nov 7, 2014 at 1:02 PM, Jeff Blaine < " target="_blank"> > wrote:
I'm failing.

How does one determine the current node's Chef environment from within a
recipe?

node['environment'] and node['chef_environment'] do not seem to be the way.

--
Jeff Blaine
kickflop.net
PGP/GnuPG Key ID: 0x0C8EDD02




Archive powered by MHonArc 2.6.16.

§