blob: 0c260c1a065771768741f526fd996c5a94a69490 [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:
73 - name: gerritlib
74 url: https://github.com/openstack-infra/gerritlib.git
75 - name: jeepyb
76 url: https://github.com/openstack-infra/jeepyb.git
77
Botond Zoltánf73f48a2017-09-07 12:55:31 +020078
Filip Pytloun2b6014f2015-10-06 16:28:31 +020079Read more
80=========
81
82* http://git-scm.com/
83* http://git-scm.com/book/en/Customizing-Git-Git-Configuration
84* https://github.com/nesi/puppet-git/tree/master/manifests
Filip Pytloune8c1eb22017-02-02 13:02:03 +010085
86Documentation and Bugs
87======================
88
89To learn how to install and update salt-formulas, consult the documentation
90available online at:
91
92 http://salt-formulas.readthedocs.io/
93
94In the unfortunate event that bugs are discovered, they should be reported to
95the appropriate issue tracker. Use Github issue tracker for specific salt
96formula:
97
98 https://github.com/salt-formulas/salt-formula-git/issues
99
100For feature requests, bug reports or blueprints affecting entire ecosystem,
101use Launchpad salt-formulas project:
102
103 https://launchpad.net/salt-formulas
104
105You can also join salt-formulas-users team and subscribe to mailing list:
106
107 https://launchpad.net/~salt-formulas-users
108
109Developers wishing to work on the salt-formulas projects should always base
110their work on master branch and submit pull request against specific formula.
111
112 https://github.com/salt-formulas/salt-formula-git
113
114Any questions or feedback is always welcome so feel free to join our IRC
115channel:
116
117 #salt-formulas @ irc.freenode.net