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::Command#run_command_with_systems_locale

Call #run_command but set LC_ALL to the system's current environment so it doesn't get changed to C.

=== Parameters
args<Hash>: A number of required and optional arguments that will be handed out to #run_command

=== Returns
Returns the result of #run_command

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/mixin/command.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--Mixin--Command-run_command_with_systems_locale-for-pr


# Commit to git

git add lib/chef/mixin/command.rbgit commit -m "better docs for Chef::Mixin::Command#run_command_with_systems_locale"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Chef--Mixin--Command-run_command_with_systems_locale-for-pr

hub pull-request


# Celebrate!