Kevin James

thekevjames

10,442 downloads

6,728 latest version

4.3 quality score

Version information

  • 1.4.2 (latest)
  • 1.4.1
  • 1.4.0
  • 1.3.2
  • 1.3.1
  • 1.3.0
  • 1.2.1
  • 1.2.0
  • 1.1.2
  • 1.1.1
  • 1.1.0
  • 1.0.0
released May 15th 2016
This version is compatible with:
  • Puppet Enterprise >= 3.7.0 < 2015.4.0
  • Puppet >= 3.0.0 < 5.0.0
  • RedHat
    ,
    CentOS
    ,
    OracleLinux
    ,
    Scientific
    ,
    SLES
    ,
    Debian
    ,
    Ubuntu
    ,
    Solaris
    ,
    Windows
    ,
    AIX
    ,
    OSX

Start using this module

Documentation

thekevjames/git — version 1.4.2 May 15th 2016

puppet-git

An opinionated Puppet Module to install and manage Git.

puppet-git is available on the Puppet Forge.

Usage

Simply

include ::git

to make sure git is installed, or

class { '::git::user':
    home     => '/home/kevin',
    fullname => 'Kevin James',
    email    => 'KevinJames@thekev.in',
}

to configure git settings.

You can also install the Hub tool with

include ::git::hub

Other popular git subcommands can be installed with

include ::git::utilities::forest  # https://www.mankier.com/1/git-forest
include ::git::utilities::rank_contributors  # http://git-wt-commit.rubyforge.org/
include ::git::utilities::wtf  # http://git-wt-commit.rubyforge.org/

Configuration

In addition to the above value set for git::user, you can also use hiera to override the following defaults:

git::conflictstyle: diff3
git::browser: google-chrome
git::difftool: vimdiff
git::editor: vim
git::pager: less -FRX

git::packages: git
git::tar: /bin/tar

git::hub::dependencies: curl
git::hub::url: https://github.com/github/hub/releases/download/v2.2.3/hub-linux-amd64-2.2.3.tgz