1CDIST-TYPE__GIT(7) cdist CDIST-TYPE__GIT(7)
2
3
4
6 cdist-type__git - Get and or keep git repositories up-to-date
7
9 This cdist type allows you to clone git repositories
10
12 source Specifies the git remote to clone from
13
15 state Either "present" or "absent", defaults to "present"
16
17 branch Create this branch by checking out the remote branch of this
18 name Default branch is "master"
19
20 group Group to chgrp to.
21
22 mode Unix permissions, suitable for chmod.
23
24 owner User to chown to.
25
26 recursive
27 Passes the --recurse-submodules flag to git when cloning the
28 repository.
29
30 shallow
31 Sets --depth=1 and --shallow-submodules for cloning repositories
32 with big history.
33
35 __git /home/services/dokuwiki --source git://github.com/splitbrain/dokuwiki.git
36
37 # Checkout cdist, stay on branch 2.1
38 __git /home/nico/cdist --source git@code.ungleich.ch:ungleich-public/cdist.git --branch 2.1
39
41 Nico Schottelius <nico-cdist--@--schottelius.org>
42
44 Copyright (C) 2012 Nico Schottelius. You can redistribute it and/or
45 modify it under the terms of the GNU General Public License as pub‐
46 lished by the Free Software Foundation, either version 3 of the
47 License, or (at your option) any later version.
48
50 ungleich GmbH 2019
51
52
53
54
556.3.0 Dec 12, 2019 CDIST-TYPE__GIT(7)