Forge Home

gitolite

Host Git repositories with gitolite

12,936 downloads

11,233 latest version

0

Version information

  • 0.2.0 (latest)
  • 0.1.0
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Jun 19th 2012

Start using this module

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

Add this module to your Puppetfile:

mod 'huit-gitolite', '0.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install huit-gitolite --version 0.0.2

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

Documentation

huit/gitolite — version 0.0.2 Jun 19th 2012

gitolite

This module automatically installs gitolite and performs initial configuration. At present, it supports Red Hat-like and Debian-like platforms.

NOTE: you must generate the SSH public key for the management user yourself (either with your own Puppet manifest, or manually) and install it before gitolite will work properly. See the documentation.

Parameters:

  • user
    name of gitolite management user (default "gitolite")
  • password
    HASHED (not plain-text) password of gitolite management user
  • homedir
    home directory of gitolite management user
    NOTE repositories are hosted here
  • version
    release tag of desired Gitolite version (default "v2.3")
    can accept version strings, git hashes, or other branches/tags
  • packages
    boolean value that determines whether this module will define the necessary package resources
    set this to false if you want to define them elsewhere in your manifests

Actions:

  • Installs packages to satisfy requirements
  • Creates source directory (/usr/src/gitolite) and checks out Gitolite repo
  • Creates gitolite management user (local system user)
  • Runs gl-system-install command

Requires:

  • POSIX-compliant sh (attempts to install bash)
  • git (must be v1.6.6 or later)
  • perl (must be 5.8 or later)
  • ssh (client)

Sample Usage:

class {
  "gitolite":
    password => '$1$oqINGwwF$yTik.GEYoKJtEHJBzt/.01';
}