chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Mixin::PowershellOut#run_command_with_os_architecture
Helper function to run shell_out and wrap it with the correct flags to possibly disable WOW64 redirection (which we often need because chef-client runs as a 32-bit app on 64-bit windows).
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/mixin/powershell_out.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Mixin--PowershellOut-run_command_with_os_architecture-for-pr
# Commit to gitgit add lib/chef/mixin/powershell_out.rbgit commit -m "better docs for Chef::Mixin::PowershellOut#run_command_with_os_architecture"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Mixin--PowershellOut-run_command_with_os_architecture-for-pr
hub pull-request
# Celebrate!