| Work in Progress Ohai on Windows is a work in progress. It is one small step toward getting Chef ported to Windows, and there's some rough spots. Read on for more. |
Ohai is known to work on a limited number of Windows platforms as of the current development branch from the Git repository. This will be available in the 0.3.2 release, coming soon to an Opscode gem repository near you.
The following platforms are known to work and return gobs of data (mainly through WMI):
- Windows 7 Ultimate RC1
- Windows XP Professional
Some data from WMI on Windows Vista returns Unicode characters that the JSON generator doesn't encode properly. We're working on a fix for this issue, OHAI-101. Testing on Windows 2003 indicates it doesn't return much data, for example see this gist.
Install Ruby via one-click installer (I used ruby186-27_rc):
Start the RubyGems Package Manager
- Programs -> Ruby-186-27 -> RubyGems -> RubyGems Package Manager
Add gems.opscode.com to gem sources.
Verify the following gems are installed first, they should be by default with the one-click installer.
Install ohai and wmi bindings
Run Ohai:
