chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::ChefFS::FileSystem::ChefServer::ChefServerRootDir#initialize
Create a new Chef server root.
== Parameters
[root_name]
A friendly name for the root, for printing--like "remote" or "chef_central".
[chef_config]
A hash with options that look suspiciously like Chef::Config, including the
following keys:
:chef_server_url:: The URL to the Chef server or top of the organization
:node_name:: The username to authenticate to the Chef server with
:client_key:: The private key for the user for authentication
:environment:: The environment in which you are presently working
:repo_mode::
The repository mode, :hosted_everything, :everything or :static.
This determines the set of subdirectories the Chef server will
offer up.
:versioned_cookbooks:: whether or not to include versions in cookbook names
[options]
Other options:
:cookbook_version:: when cookbooks are retrieved, grab this version for them.
:freeze:: freeze cookbooks on uploadEdit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/chef_fs/file_system/chef_server/chef_server_root_dir.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--ChefFS--FileSystem--ChefServer--ChefServerRootDir-initialize-for-pr
# Commit to gitgit add lib/chef/chef_fs/file_system/chef_server/chef_server_root_dir.rbgit commit -m "better docs for Chef::ChefFS::FileSystem::ChefServer::ChefServerRootDir#initialize"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--ChefFS--FileSystem--ChefServer--ChefServerRootDir-initialize-for-pr
hub pull-request
# Celebrate!