[chef] Updating PATH on windows for use in subsequent recipes


Chronological Thread 
  • From: Jeppe Nejsum Madsen < >
  • To: " " < >
  • Subject: [chef] Updating PATH on windows for use in subsequent recipes
  • Date: Mon, 19 May 2014 19:46:13 +0200

Hi

Is there a way to force reload of the PATH variable on windows?

We install git & nodejs and then tries to install some npm packages from a git repo.

But in the initial run, npm cannot find git because the current process' PATH is not updated.

Starting a new shell and running chef-client solves the issue, but this is of course less than ideal.

Any ideas?

/Jeppe






Archive powered by MHonArc 2.6.16.

§