opscode-cookbooks/git — pull request #20 by hughsaunders (2013-08-20 14:05:47+00:00)
Title: [COOK-3433] Use xinted for git-daemon on Debian and RHEL.

Debian has a git-daemon-run package that provides a runit configuration,
however this package is not configurable to specify the base path for
the git daemon. The runit configuration in the package also conflicts
with runit configuration that could be generated by the runit cookbook
(vi sv_template = true). So using the git-daemon-run package there isn't
an easy way to set the git daemon base path from chef.

A simple resolution is to use xinetd on both platforms. Then the same
template can be used to ensure that the base path is correctly set for
the git daemon.

This commit adds a single variable to the xinetd service template to
allow for different binary locations across platforms.