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::Repository::ChefRepositoryFileSystemRootDir#initialize
Create a new Chef Repository File System root.
== Parameters
[child_paths]
A hash of child paths, e.g.:
"nodes" => [ '/var/nodes', '/home/jkeiser/nodes' ],
"roles" => [ '/var/roles' ],
...
[root_paths]
An array of paths representing the top level, where
+org.json+, +members.json+, and +invites.json+ will be stored.
[chef_config] - a hash of options that looks suspiciously like the ones
stored in Chef::Config, containing at least these keys:
:versioned_cookbooks:: whether to include versions in cookbook namesEdit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/chef_fs/file_system/repository/chef_repository_file_system_root_dir.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--ChefFS--FileSystem--Repository--ChefRepositoryFileSystemRootDir-initialize-for-pr
# Commit to gitgit add lib/chef/chef_fs/file_system/repository/chef_repository_file_system_root_dir.rbgit commit -m "better docs for Chef::ChefFS::FileSystem::Repository::ChefRepositoryFileSystemRootDir#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--Repository--ChefRepositoryFileSystemRootDir-initialize-for-pr
hub pull-request
# Celebrate!