cdist/cdist/conf/type/__git/man.rst

61 lines
1.1 KiB
ReStructuredText
Raw Normal View History

cdist-type__git(7)
==================
NAME
----
cdist-type__git - Get and or keep git repositories up-to-date
2016-05-20 06:50:56 +00:00
Nico Schottelius <nico-cdist--@--schottelius.org>
DESCRIPTION
-----------
This cdist type allows you to clone git repositories
REQUIRED PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
source
Specifies the git remote to clone from
OPTIONAL PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
state
Either "present" or "absent", defaults to "present"
2016-05-20 06:50:56 +00:00
branch
Create this branch by checking out the remote branch of this name
Default branch is "master"
2016-05-20 06:50:56 +00:00
group
Group to chgrp to.
2016-05-20 06:50:56 +00:00
mode
Unix permissions, suitable for chmod.
2016-05-20 06:50:56 +00:00
owner
User to chown to.
EXAMPLES
--------
2016-05-20 06:50:56 +00:00
.. code-block:: sh
__git /home/services/dokuwiki --source git://github.com/splitbrain/dokuwiki.git
2016-05-20 06:50:56 +00:00
# Checkout cdist, stay on branch 2.1
__git /home/nico/cdist --source git://github.com/telmich/cdist.git --branch 2.1
SEE ALSO
--------
2016-05-20 06:50:56 +00:00
- `cdist-type(7) <cdist-type.html>`_
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).