Forge Home


Configure git via Boxen


7,832 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

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