blob: bcf44fa7b5fca1bc0f10345058a6fd9f15e8d79e [file] [log] [blame]
Filip Pytloun2b6014f2015-10-06 16:28:31 +02001
2===========
3Git formula
4===========
5
6Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
7
8Sample pillars
9==============
10
Filip Pytloun2b6014f2015-10-06 16:28:31 +020011Simplest GIT setup
12
Ales Komarek581f2b22017-01-10 22:19:35 -080013.. code-block:: yaml
14
Filip Pytloun2b6014f2015-10-06 16:28:31 +020015 git:
16 client:
17 enabled: true
18
19GIT with user setup
20
21.. code-block:: yaml
22
23 git:
24 client:
25 enabled: true
26 user:
27 - user:
28 name: jdoe
29 email: j@doe.com
30
Botond Zoltánf73f48a2017-09-07 12:55:31 +020031GIT with user and SSL setup
32
33.. code-block:: yaml
34
35 git:
36 client:
37 disable_ssl_verification: True
38 enabled: true
39 user:
40 - user:
41 name: jdoe
42 email: j@doe.com
43
Filip Pytloun2b6014f2015-10-06 16:28:31 +020044Reclass with GIT with user setup
45
46.. code-block:: yaml
47
48 git:
49 client:
50 enabled: true
51 user:
52 - user: ${linux:system:user:jdoe}
53
Botond Zoltánf73f48a2017-09-07 12:55:31 +020054Reclass with GIT with user and SSL setup
55
56.. code-block:: yaml
57
58 git:
59 client:
60 disable_ssl_verification: True
61 enabled: true
62 user:
63 - user: ${linux:system:user:jdoe}
64
Richard Felkl66375d82017-10-09 11:26:23 +020065Reclass with GIT over HTTP server setup. Requires web server.
66
67.. code-block:: yaml
68
69 git:
70 server:
71 directory: /srv/git
72 repos:
Richard Felkl1eb9c7c2017-12-05 15:21:41 +010073 - name: custom-repo-1
74 - name: custom-repo-2
75
76Reclass with GIT over HTTP server setup. Requires web server. Mirrored upsream repos example.
77
78.. code-block:: yaml
79
80 git:
81 server:
82 directory: /srv/git
83 repos:
Richard Felkl66375d82017-10-09 11:26:23 +020084 - name: gerritlib
85 url: https://github.com/openstack-infra/gerritlib.git
86 - name: jeepyb
87 url: https://github.com/openstack-infra/jeepyb.git
88
Botond Zoltánf73f48a2017-09-07 12:55:31 +020089
Filip Pytloun2b6014f2015-10-06 16:28:31 +020090Read more
91=========
92
93* http://git-scm.com/
94* http://git-scm.com/book/en/Customizing-Git-Git-Configuration
95* https://github.com/nesi/puppet-git/tree/master/manifests
Filip Pytloune8c1eb22017-02-02 13:02:03 +010096
97Documentation and Bugs
98======================
99
100To learn how to install and update salt-formulas, consult the documentation
101available online at:
102
103 http://salt-formulas.readthedocs.io/
104
105In the unfortunate event that bugs are discovered, they should be reported to
106the appropriate issue tracker. Use Github issue tracker for specific salt
107formula:
108
109 https://github.com/salt-formulas/salt-formula-git/issues
110
111For feature requests, bug reports or blueprints affecting entire ecosystem,
112use Launchpad salt-formulas project:
113
114 https://launchpad.net/salt-formulas
115
116You can also join salt-formulas-users team and subscribe to mailing list:
117
118 https://launchpad.net/~salt-formulas-users
119
120Developers wishing to work on the salt-formulas projects should always base
121their work on master branch and submit pull request against specific formula.
122
123 https://github.com/salt-formulas/salt-formula-git
124
125Any questions or feedback is always welcome so feel free to join our IRC
126channel:
127
128 #salt-formulas @ irc.freenode.net