- From: Paul Morton - BIA <
>
- To: "
" <
>
- Cc: "
" <
>
- Subject: [chef] Re: How to determine windows node OS info in a cookbook?
- Date: Thu, 7 Feb 2013 19:47:26 -0800
- Accept-language: en-US
- Acceptlanguage: en-US
If the environmental variable programfiles(x86) exists you are on 64 bit
windows. This is how the windows cookbook determines the bittedness of the os.
On Feb 7, 2013, at 7:42 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.