Forge Home


Configure git via Boxen

Les Aker



7,277 latest version

4.6 quality score

Version information

  • 2.8.4 (latest)
  • 2.8.3
  • 2.8.2
  • 2.8.1
  • 2.8.0
released Dec 30th 2015
This version is compatible with:
  • Darwin

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'halyard-git', '2.8.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add halyard-git
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install halyard-git --version 2.8.4

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



halyard/git — version 2.8.4 Dec 30th 2015


Puppet Forge Dependency Status MIT Licensed Build Status

Install and configure git

Changes from upstream

  • Remove unused meta scripts
  • Set up CircleCI tests
  • Switch from puppet-module-data to function bindings
  • Simplify package declaration


In hiera:

git::configdir: "%{::boxen::config::configdir}/git"

git::package: 'boxen/brews/git'

git::credentialhelper: "%{::boxen::config::repodir}/script/boxen-git-credential"
git::global_credentialhelper: "%{boxen::config::home}/bin/boxen-git-credential"
git::global_excludesfile: "%{hiera('git::configdir')}/gitignore"

In your manifest:

include git

git::config::local { 'repo_specific_email':
  ensure => present,
  repo   => '/path/to/my/repo',
  key    => '',
  value  => ''

git::config::global { '':
  value  => ''

Required Puppet Modules