Forge Home

git

Deploys, configure and maintain an instance of Git

7,752 downloads

7,752 latest version

4.3 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

  • 0.0.7 (latest)
released Jan 24th 2016
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=4.0.0 <5.0.0

Start using this module

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

Add this module to your Puppetfile:

mod 'lostinmalloc-git', '0.0.7'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install lostinmalloc-git --version 0.0.7

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.

Download
Tags: vcs, git

Documentation

lostinmalloc/git — version 0.0.7 Jan 24th 2016

lostinmalloc-git

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Reference
  6. Limitations
  7. Development

Overview

The lostinmalloc-git module manages Git, the distributed revision control system. It is distributed through the Apache License 2.0. Please do refer to the LICENSE for details.

Module Description

The lostinmalloc-git module allows to manage Git and its configuration. lostinmalloc-git is not responsible to clone remote repositories. It does ensure that the package is either present or nor in the system.

Setup

In order to install lostinmalloc-git, run the following command:

$ sudo puppet module install lostinmalloc-git

Once installed, Git on a node through lostinmalloc-git is a simple as:

node 'puppet.lostinmalloc.com' {
  class { 'git': }
}

The module does expect all the data to be provided through 'Hiera'. See Usage for examples on how to configure it.

Requirements

In terms of requirements lostinmalloc-git demands:

  • puppet >=4.0.0

Usage

All data must be provided through Hiera.

YAML

---
git::params::package_ensure: 'installed'

Reference

All data must be provided through Hiera. Attributes written in italic, are optional:

YAML

  • package_ensure: Defines whether the package is present or not. It must be assigned any of the following values: absent, held, installed, latest, present, or purged. It defaults to installed.

Limitations

lostinmalloc-git has been developed and tested on the following setup(s):

  • Operating Systems:
    • Debian 7 Wheezy (3.2.68-1+deb7u3 x86_64)
    • Debian 8 Jessie (3.16.7-ckt11-1+deb8u3 x86_64)
  • Puppet
    • 4.2.1
  • Hiera
    • 3.0.1
  • Facter
    • 2.4.4
  • Ruby
    • 2.1.6p336

Development

You can contact me through the official page of this module: https://github.com/jaschac/puppet-git. Please do report any bug and suggest new features/improvements.