[chef] Re: *** PROBABLY SPAM *** Re: Silent installer for windows chef client


Chronological Thread 
  • From: Tensibai < >
  • To: < >
  • Subject: [chef] Re: *** PROBABLY SPAM *** Re: Silent installer for windows chef client
  • Date: Mon, 12 Dec 2011 14:56:12 +0100

Le 12.12.2011 14:29, Madhurranjan Mohaan a écrit :

Apologies : the following works : 

msiexec /qb /i chef-client-0.10.4-6.msi
Problem though is that there is an issue with the Path environment variable. The environment variable "PATH" is appended with the c:\opscode\bin and c:\opscode\embedded\bin but for it to reflect on a new command prompt, I have to go to My computer, -> Environment variables -> open the path Variable -> click OK and then close which is weird and then running "knife" just works fine. WIthout doing that , it doesn't seem to work .
thanks
Ranjan

Indeed, env vars are loaded at logon... so after an install you have to tell the system to reload your env variables.

Same as in unix when editing your .profile, untill you reload it you won't have access to new values.




Archive powered by MHonArc 2.6.16.

§