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 userhomedir
home directory of gitolite management user
NOTE repositories are hosted hereversion
release tag of desired Gitolite version (default "v3.1")
can accept version strings, git hashes, or other branches/tagspackages
boolean value that determines whether this module will define the necessary package resources
set this tofalseif you want to define them elsewhere in your manifestsnonrootinstallmethodallows 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/...keycontentthe public key that should have access to gitolite-admin when first configuredrcfileconfigure .gitolite.rc file in gitolite mgmt user homedirumaskset the UMASK variable for gitolite.rcgit_config_keysset the GIT_CONFIG_KEYS variable for gitolite.rclog_extraset the LOG_EXTRA variable for gitolite.rcrolesset the ROLES array for gitolite.rcpre_createset the PRE_CREATE array for gitolite.rcpost_createset the POST_CREATE array for gitolite.rcpost_compileset 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":
;
}