[chef] Commands not found after running windows_path in Chef run


Chronological Thread 
  • From: "David A. Williams" < >
  • To: " " < >
  • Subject: [chef] Commands not found after running windows_path in Chef run
  • Date: Fri, 29 Aug 2014 10:44:13 -0500
  • Accept-language: en-US
  • Acceptlanguage: en-US

Chef:                             11.14.6
Windows Cookbook:  1.34.2
Node :                           Windows 2012

Hello Everyone,

I’ve encountered a scenario where after the windows_path resource is ran in a Chef run, other resources can't find items currently on the Windows path.  For example the batch resource fails with “STDERR: ‘cmd.exe’ is not recognized as an internal or external command.”  If you don’t have the windows_path resource in your recipe, the batch resource can find the cmd command on the path.

Has anyone seen this?

Thanks,

David Williams 



CONFIDENTIALITY NOTICE: This electronic mail may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic mail or its contents by persons other than the intended recipient(s) is strictly prohibited. If you have received this communication in error, please notify the sender immediately by reply e-mail so that we may correct our internal records. Please then delete the original message. Thank you.


  • [chef] Commands not found after running windows_path in Chef run, David A. Williams, 08/29/2014

Archive powered by MHonArc 2.6.16.

§