Skip to content

Commit

Permalink
cook-105, add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed May 14, 2009
1 parent 6a11163 commit 62846b6
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
37 changes: 37 additions & 0 deletions git/README.rdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
= DESCRIPTION:

Installs git.

= REQUIREMENTS:

== Cookbooks:

Opscode Cookbooks (http://github.com/opscode/cookbooks/tree/master)

* runit

= USAGE:

This cookbook primarily installs git core packages. It can also be used to serve git repositories.

include_recipe "git::server"

This creates the directory /srv/git and starts a git daemon, exporting all repositories found. Repositories need to be added manually, but will be available once they are created.

= LICENSE and AUTHOR:

Author:: Joshua Timberman (<joshua@opscode.com>)

Copyright:: 2009, Opscode, Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
1 change: 1 addition & 0 deletions git/recipes/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# limitations under the License.

include_recipe "git"
include_recipe "runit"

directory "/srv/git" do
owner "root"
Expand Down

0 comments on commit 62846b6

Please sign in to comment.