[chef] Resource attribute environment


Chronological Thread 
  • From: Gordon Franke < >
  • To:
  • Subject: [chef] Resource attribute environment
  • Date: Mon, 16 Feb 2015 11:17:16 +0100

Hello,

i have found several variants of the environment attribute.

environment "PATH" => "/my/path/to/bin:#{ENV["PATH"]}"
environment ({'HOME' => '/home/myhome'})
environment  { 'VAR' => 'whatever' }

What is the correct one and what is the difference?


Best Regards
Gordon



Archive powered by MHonArc 2.6.16.

§