I am doing a if platform?('windows')
check inside my cookbook, but how can i tell easily if I am running what OS and 64 or 32 bit ?
Here is a good example of how to do that. https://github.com/chef-cookbooks/powershell/blob/master/attributes/powershell5.rb#L37