chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

Win32::Registry::API.DeleteValue

::Win32::Registry#delete_value uses RegDeleteValue which
is not an imported function after bug 10820 was solved.  So
we overwrite it to call the correct imported function.
https://bugs.ruby-lang.org/issues/10820
Still a bug in trunk as of March 21, 2016 (Ruby 2.3.0)

Source | Google | Stack overflow

Edit

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

cd chef

open lib/chef/monkey_patches/win32/registry.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Win32--Registry--API-DeleteValue-for-pr


# Commit to git

git add lib/chef/monkey_patches/win32/registry.rbgit commit -m "better docs for Win32::Registry::API.DeleteValue"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Win32--Registry--API-DeleteValue-for-pr

hub pull-request


# Celebrate!