chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::DataCollector::Messages::Helpers#chef_server_fqdn
Fully-qualified domain name of the Chef Server configured in Chef::Config If the chef_server_url cannot be parsed as a URI, the node["fqdn"] attribute will be returned, or "localhost" if the run_status is unavailable to us.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/data_collector/messages/helpers.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--DataCollector--Messages--Helpers-chef_server_fqdn-for-pr
# Commit to gitgit add lib/chef/data_collector/messages/helpers.rbgit commit -m "better docs for Chef::DataCollector::Messages::Helpers#chef_server_fqdn"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--DataCollector--Messages--Helpers-chef_server_fqdn-for-pr
hub pull-request
# Celebrate!