diff options
-rw-r--r-- | files/gitolite.rc.squeeze (renamed from files/gitolite.rc) | 0 | ||||
-rw-r--r-- | files/gitolite.rc.wheezy | 96 | ||||
-rw-r--r-- | manifests/gitolite.pp | 2 |
3 files changed, 97 insertions, 1 deletions
diff --git a/files/gitolite.rc b/files/gitolite.rc.squeeze index 141d2b9..141d2b9 100644 --- a/files/gitolite.rc +++ b/files/gitolite.rc.squeeze diff --git a/files/gitolite.rc.wheezy b/files/gitolite.rc.wheezy new file mode 100644 index 0000000..a6b5da3 --- /dev/null +++ b/files/gitolite.rc.wheezy @@ -0,0 +1,96 @@ +# configuration variables for gitolite + +# PLEASE READ THE DOCUMENTATION BEFORE EDITING OR ASKING QUESTIONS +# ( http://github.com/sitaramc/gitolite/blob/pu/doc/gitolite.rc.mkd ) +# ( or http://sitaramc.github.com/gitolite/doc/gitolite.rc.html ) + +# this file is in perl syntax. However, you do NOT need to know perl to edit +# it; it should be fairly self-explanatory and easy to maintain + +# ------------------------------------------------------------------------------ +# DO NOT TOUCH THIS SECTION! +# ------------------------------------------------------------------------------ + +$GL_ADMINDIR=$ENV{HOME} . "/.gitolite"; +$GL_CONF="$GL_ADMINDIR/conf/gitolite.conf"; +$GL_KEYDIR="$GL_ADMINDIR/keydir"; +$GL_CONF_COMPILED="$GL_ADMINDIR/conf/gitolite.conf-compiled.pm"; + +# DO NOT CHANGE THE NEXT FOUR LINES UNLESS YOU REALLY KNOW WHAT YOU'RE DOING. +# These variables are set automatically by the install method you choose. +# (PACKAGE MAINTAINERS: PLEASE READ doc/packaging.mkd) +$GL_PACKAGE_CONF = "/usr/share/gitolite/conf"; +$GL_PACKAGE_HOOKS = "/usr/share/gitolite/hooks"; + +# ------------------------------------------------------------------------------ +# most often used/changed variables +# ------------------------------------------------------------------------------ +$GL_WILDREPOS = 0; +$PROJECTS_LIST = $ENV{HOME} . "/projects.list"; +# $WEB_INTERFACE = "gitweb"; +# $GITWEB_URI_ESCAPE = 0; +$REPO_UMASK = 0077; + +# ------------------------------------------------------------------------------ +# variables with an efficiency/performance impact +# ------------------------------------------------------------------------------ +$GL_BIG_CONFIG = 0; +$GL_NO_DAEMON_NO_GITWEB = 0; +# $GL_NICE_VALUE = 0; +# $BIG_INFO_CAP = 20; + +# ------------------------------------------------------------------------------ +# VARIABLES WITH A SECURITY IMPACT. READ DOCS BEFORE CHANGING THESE! +# http://github.com/sitaramc/gitolite/blob/pu/doc/gitolite.rc.mkd#_variables_with_a_security_impact +# (or http://sitaramc.github.com/gitolite/doc/gitolite.rc.html#_variables_with_a_security_impact) +# ------------------------------------------------------------------------------ +# $GL_ALL_READ_ALL = 0; +$GIT_PATH=""; +$GL_GITCONFIG_KEYS = ""; +$GL_NO_CREATE_REPOS = 0; +$GL_NO_SETUP_AUTHKEYS = 0; +# $GL_WILDREPOS_DEFPERMS = 'R @all'; +$HTPASSWD_FILE = ""; +$RSYNC_BASE = ""; +$SVNSERVE = ""; +# $UPDATE_CHAINS_TO = "hooks/update.secondary"; +# $ADMIN_POST_UPDATE_CHAINS_TO = "hooks/post-update.secondary"; +# $GL_ADC_PATH = ""; +# $GL_GET_MEMBERSHIPS_PGM = "/usr/local/bin/expand-ldap-user-to-groups" +# $GL_HTTP_ANON_USER = "mob"; +# $GL_REF_OR_FILENAME_PATT=qr(^[0-9a-zA-Z][0-9a-zA-Z._\@/+ :,-]*$); + +# ------------------------------------------------------------------------------ +# less used/changed variables +# ------------------------------------------------------------------------------ +# $GL_ALL_INCLUDES_SPECIAL = 0; +# $GL_SLAVE_MODE = 0; +# $ENV{GL_SLAVES} = 'gitolite@server2 gitolite@server3'; +# PLEASE USE SINGLE QUOTES ABOVE, NOT DOUBLE QUOTES +$GL_WILDREPOS_PERM_CATS = "READERS WRITERS"; +# $GL_SITE_INFO = "XYZ.COM DEVELOPERS: PLEASE SEE http://xyz.com/gitolite/help first"; +# $GL_HOSTNAME = "frodo"; # read doc/mirroring.mkd COMPLETELY before setting this + +# ------------------------------------------------------------------------------ +# rarely changed variables +# ------------------------------------------------------------------------------ +$GL_LOGT="$GL_ADMINDIR/logs/gitolite-%y-%m.log"; +# $GL_PERFLOGT="$GL_ADMINDIR/logs/perf-gitolite-%y-%m.log"; + +# ------------------------------------------------------------------------------ +# variables that should NOT be changed after the install step completes +# ------------------------------------------------------------------------------ +$REPO_BASE="repositories"; + +# ------------------------------------------------------------------------------ +# DO NOT TOUCH ANY THING AFTER THIS LINE +# ------------------------------------------------------------------------------ + +# ------------------------------------------------------------------------------ +# per perl rules, this should be the last line in such a file: +1; + +# Local variables: +# mode: perl +# End: +# vim: set syn=perl: diff --git a/manifests/gitolite.pp b/manifests/gitolite.pp index 9bdf0f1..68d655e 100644 --- a/manifests/gitolite.pp +++ b/manifests/gitolite.pp @@ -73,7 +73,7 @@ class gitolite inherits git { owner => gitolite, group => gitolite, mode => 0644, - source => "puppet:///modules/git/gitolite.rc", + source => "puppet:///modules/git/gitolite.rc.${::lsbdistcodename}", require => [ File['/var/git'], User['gitolite'] ], } |