Forge Home

gitolite

Module to install and configure gitolite

109,354 downloads

108,338 latest version

2.4 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.2.0 (latest)
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Feb 11th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'eshamow-gitolite', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add eshamow-gitolite
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install eshamow-gitolite --version 0.2.0

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: git, gitolite

Documentation

eshamow/gitolite — version 0.2.0 Feb 11th 2014

#modulename

####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with [eshamow-gitolite]
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

##Overview

Module to manage gitolite v3. There is no granular resource or ACL management - handles grabbing gitolite, installing where and under which user needed, and configuring a single public key for admin access.

##Module Description

Downloads and installs gitolite from git, or grabs .tar.gz or package to do the same, drops admin key, and operates the basic gitolite commands to initialize the admin repository.

Currently Supported:

RHEL 5 and 6 Debian 6 and 7 Ubuntu 12.04

##Setup

###What [eshamow-gitolite] affects

  • By default, creates 'git' user and group and /home/git directory
  • Populates homedir with expanded tarball or cloned git repo
  • Places admin public key in this directory
  • Executes gitolite install against /homedir/bin and gitolite setup against the public key

###Setup Requirements

  • Expects 'git' binary to be installed/available. puppetlabs-git suffices for most systems.
  • Time::HiRes perl module must be installed/available. manage_perl => true will attempt to install via package manager only.

###Beginning with [eshamow-gitolite]

Classify node with gitolite and ensure that at a minimum key_user and pubkey parameters are configured in your Node Classifier or via data bindings.

##Limitations

RHEL or CentOS 6 only