46. cdist-type__git(7)

Get and or keep git repositories up-to-date

Nico Schottelius <nico-cdist--@--schottelius.org>

46.1. DESCRIPTION

This cdist type allows you to clone git repositories

46.2. REQUIRED PARAMETERS

source
Specifies the git remote to clone from

46.3. OPTIONAL PARAMETERS

state
Either “present” or “absent”, defaults to “present”
branch
Create this branch by checking out the remote branch of this name Default branch is “master”
group
Group to chgrp to.
mode
Unix permissions, suitable for chmod.
owner
User to chown to.

46.4. EXAMPLES

__git /home/services/dokuwiki --source git://github.com/splitbrain/dokuwiki.git

# Checkout cdist, stay on branch 2.1
__git /home/nico/cdist --source git://github.com/telmich/cdist.git --branch 2.1

46.5. SEE ALSO

46.6. COPYING

Copyright (C) 2012 Nico Schottelius. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).