chef

https://github.com/opscode/chef

Ruby

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

Chef::FileAccessControl::Unix#diminished_radix_complement

Workaround the fact that Ruby's Etc module doesn't believe in negative
uids, so negative uids show up as the diminished radix complement of
a uint. For example, a uid of -2 is reported as 4294967294

Source | Google | Stack overflow

Edit

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

cd chef

open lib/chef/file_access_control/unix.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--FileAccessControl--Unix-diminished_radix_complement-for-pr


# Commit to git

git add lib/chef/file_access_control/unix.rbgit commit -m "better docs for Chef::FileAccessControl::Unix#diminished_radix_complement"


# 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--FileAccessControl--Unix-diminished_radix_complement-for-pr

hub pull-request


# Celebrate!