[COOK-3624] Only restart xinetd when needed

Signed-off-by: Seth Vargo <sethvargo@gmail.com>
[COOK-3223] Support omnios/SmartOS packages
- OmniOS package is developer/versioning/git
- SmartOS package is scmgit

Signed-off-by: Seth Vargo <sethvargo@gmail.com>
[COOK-3482] Add git to the PATH for the current chef-client run on Windows

The windows_path resource doesn't change the current process' environment variables. Therefore, git won't actually be on the PATH until the next chef-client run. By directly modifying ENV, we allow git to be on the PATH during this chef-client run.

Signed-off-by: Seth Vargo <sethvargo@gmail.com>
Version bump to v2.7.0
Version bump to v2.7.1
adding testing bits to Gemfile
[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.

Signed-off-by: Sean OMeara <someara@opscode.com>
Version bump to v2.8.0
locking yum dependency to < 3
Version bump to v2.8.1
Version bump to v2.8.2
fixing metadata version error. locking to 3.0
Version bump to v2.8.4
Version bump to v2.8.5
Updating to use cookbook yum ~> 3. Passing rubocop. Updating testing bits
Version bump to v2.9.0
Version bump to v2.9.1
[COOK-3947] Only add Git path if its not already present

Signed-off-by: Sean OMeara <someara@opscode.com>
[COOK-4146] - Fix git::source on rhel 6

Signed-off-by: Sean OMeara <someara@opscode.com>
updating test harness