[chef] Re: How to determine windows node OS info in a cookbook?


Chronological Thread 
  • From: Larry Wright < >
  • To:
  • Subject: [chef] Re: How to determine windows node OS info in a cookbook?
  • Date: Thu, 7 Feb 2013 21:47:49 -0600

You can use node["processor"]["machine"] to detect this. It will return i386 or x86_64, depending on the whether it is 32 or 64-bit respectively. 

On Thursday, February 7, 2013 at 9:41 PM, Peter Loron wrote:

I'm working on a cookbook that downloads and installs a MSI. However, I need to know if the node running the cookbook is 32 or 64 bit Windows. Any pointers on this?

Thanks.

-Pete




Archive powered by MHonArc 2.6.16.

§