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- 4.5.0
- 4.4.1
- 4.4.0
- 4.3.7
- 4.3.6
- 4.3.5
- 4.3.4
- 4.3.3
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.0
- 4.0.2
- 4.0.0
- 3.1.0
- 3.0.0
- 2.10.0
- 2.9.0
- 2.8.4
- 2.8.1
- 2.7.0
- 2.6.0
- 2.5.2
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.4
- 2.1.2
- 2.1.0
- 2.0.0
- 1.1.2
- 1.1.0
- 1.0.2
- 1.0.0
- 0.10.0
- 0.9.0
- 0.8.1
- 0.8.0
- 0.7.0
Installs git and/or sets up a Git server daemon
cookbook 'git', '= 4.2.4', :supermarket
knife supermarket install git
knife supermarket download git
Description
Installs git and optionally sets up a git server as a daemon under runit.
Requirements
Ohai and Chef:
- Ohai: 6.14.0+
This cookbook makes use of node['platform_family']
to simplify platform
selection logic. This attribute was introduced in Ohai v0.6.12.
Platform:
The following platform families are supported:
- Debian
- Arch
- RHEL
- Fedora
- FreeBSD (client only)
- Mac OS X (10.6.0+)
- Windows
Cookbooks:
- runit (for
git::server
) - build-essential (for
git::source
) - dmg (for OS X installation)
- yum (for RHEL 5 installation)
Windows Dependencies
The windows_package
resource from the Windows cookbook is required to
install the git package on Windows.
Attributes
default
The following attributes are platform-specific.
Windows
-
node['git']['version']
- git version to install -
node['git']['url']
- URL to git package -
node['git']['checksum']
- package SHA256 checksum -
node['git']['display_name']
-windows_package
resource Display Name (makes the package install idempotent)
Mac OS X
-
node['git']['osx_dmg']['url']
- URL to git package -
node['git']['osx_dmg']['checksum']
- package SHA256 checksum
Linux
-
node['git']['prefix']
- git install directory -
node['git']['version']
- git version to install -
node['git']['url']
- URL to git tarball -
node['git']['checksum']
- tarball SHA256 checksum -
node['git']['use_pcre']
- if true, builds git with PCRE enabled
Recipes
default
Installs base git packages based on platform.
server
Sets up a git daemon to provide a server.
source
Installs git from source.
windows
Installs git client on Windows
Usage
This cookbook primarily installs git core packages. It can also be
used to serve git repositories.
To install git client (all supported platforms):
include_recipe 'git'
To install git server:
include_recipe "git::server"
This creates the directory specified by git/server/base_path (default is /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@chef.io)
- Copyright:: 2009-2014, Chef Software, 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.
Dependent cookbooks
build-essential >= 0.0.0 |
dmg >= 0.0.0 |
windows >= 0.0.0 |
yum-epel >= 0.0.0 |
Contingent cookbooks
git Cookbook CHANGELOG
This file is used to list changes made in each version of the git cookbook.
v4.2.4 (2015-07-19)
- Fixing source provider selection bug from 4.2.3
v4.2.3 (2015-07-18)
- mac_os_x provider mapping
- various rubocops
v4.2.2 (2015-04-23)
- Fix up action in Chef::Resource::GitService
- Adding matchers
v4.2.1 (2015-04-17)
- Fixing Chef 11 support.
- Adding provider mapping file
v4.2.0 (2015-04-15)
- Converting recipes to resources.
- Keeping recipe interface for backwards compat
v4.1.0 (2014-12-23)
- Fixing windows package checksums
- Various test coverage additions
v4.0.2 (2014-04-23)
- [COOK-4482] - Add FreeBSD support for installing git client
v4.0.0 (2014-03-18)
- [COOK-4397] Only use_inline_resources on Chef 11
v3.1.0 (2014-03-12)
- [COOK-4392] - Cleanup git_config LWRP
v3.0.0 (2014-02-28)
[COOK-4387] Add git_config type
[COOK-4388] Fix up rubocops
[COOK-4390] Add integration tests for default and server suites
v2.10.0 (2014-02-25)
- [COOK-4146] - wrong dependency in git::source for rhel 6
- [COOK-3947] - Git cookbook adds itself to the path every run
v2.9.0
Updating to depend on cookbook yum ~> 3
Fixing style to pass rubocop
Updating test scaffolding
v2.8.4
fixing metadata version error. locking to 3.0
v2.8.1
Locking yum dependency to '< 3'
v2.8.0
Bug
- [COOK-3433] - git::server does not correctly set git-daemon's base-path on Debian
v2.7.0
Bug
-
COOK-3624 - Don't restart
xinetd
on each Chef client run - COOK-3482 - Force git to add itself to the current process' PATH
New Feature
- COOK-3223 - Support Omnios and SmartOS package installs
v2.6.0
Improvement
- COOK-3193 - Add proper debian packages
v2.5.2
Bug
- [COOK-2813]: Fix bad string interpolation in source recipe
v2.5.0
- Relax runit version constraint (now depend on 1.0+).
v2.4.0
- [COOK-2734] - update git versions
v2.3.0
- [COOK-2385] - update git::server for
runit_service
resource support
v2.2.0
- [COOK-2303] - git::server support for RHEL
platform_family
v2.1.4
- [COOK-2110] - initial test-kitchen support (only available in GitHub repository)
- [COOK-2253] - pin runit dependency
v2.1.2
- [COOK-2043] - install git on ubuntu 12.04 not git-core
v2.1.0
The repository didn't have pushed commits, and so the following changes from earlier-than-latest versions wouldn't be available on the community site. We're releasing 2.1.0 to correct this.
- [COOK-1943] - Update to git 1.8.0
- [COOK-2020] - Add setup option attributes to Git Windows package install
v2.0.0
This version uses platform_family
attribute, making the cookbook incompatible with older versions of Chef/Ohai, hence the major version bump.
- [COOK-1668] - git cookbook fails to run due to bad
platform_family
call - [COOK-1759] - git::source needs additional package for rhel
platform_family
v1.1.2
- [COOK-2020] - Add setup option attributes to Git Windows package install
v1.1.0
- [COOK-1943] - Update to git 1.8.0
v1.0.2
- [COOK-1537] - add recipe for source installation
v1.0.0
- [COOK-1152] - Add support for Mac OS X
- [COOK-1112] - Add support for Windows
v0.10.0
- [COOK-853] - Git client installation on CentOS
v0.9.0
- Current public release
Foodcritic Metric
4.2.4 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/e438deede0550263433378ff/git/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/e438deede0550263433378ff/git/metadata.rb:1
4.2.4 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/e438deede0550263433378ff/git/metadata.rb:1