Code Monkey home page Code Monkey logo

puppet-gitolite's Introduction

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 "v3.1")
    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
  • nonrootinstallmethod allows installing gitolite in non-root mode (default false) Different gitolite installation modes are described at http://sitaramc.github.com/gitolite/g2/install.html#install_installing_and_upgrading_gitolite_ NOTE when using non-root install method set homedir to /home/...
  • keycontent the public key that should have access to gitolite-admin when first configured
  • rcfile configure .gitolite.rc file in gitolite mgmt user homedir
  • umask set the UMASK variable for gitolite.rc
  • git_config_keys set the GIT_CONFIG_KEYS variable for gitolite.rc
  • log_extra set the LOG_EXTRA variable for gitolite.rc
  • roles set the ROLES array for gitolite.rc
  • pre_create set the PRE_CREATE array for gitolite.rc
  • post_create set the POST_CREATE array for gitolite.rc
  • post_compile set the POST_COMPILE array for gitolite.rc

Actions:

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

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)
  • Puppetlabs\vcsrepo

Sample Usage:

class {
  "gitolite":
    ;
}

puppet-gitolite's People

Contributors

andykingking avatar grzegorzlyczba avatar hakamadare avatar nightfly19 avatar olegch avatar pcfens avatar tism avatar ytjohn avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

tism

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.