chef

https://github.com/opscode/chef

Ruby

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

Chef::Daemon._change_privilege

Change privileges of the process to be the specified user and group

==== Parameters
user<String>:: The user to change the process to.
group<String>:: The group to change the process to.

==== Alternatives
If group is left out, the user will be used (changing to user:user)

Source | Google | Stack overflow

Edit

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

cd chef

open lib/chef/daemon.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--Daemon-_change_privilege-for-pr


# Commit to git

git add lib/chef/daemon.rbgit commit -m "better docs for Chef::Daemon._change_privilege"


# 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--Daemon-_change_privilege-for-pr

hub pull-request


# Celebrate!