Filip Pytloun | 2b6014f | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 1 | |
| 2 | =========== |
| 3 | Git formula |
| 4 | =========== |
| 5 | |
| 6 | Git 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 | |
| 8 | Sample pillars |
| 9 | ============== |
| 10 | |
| 11 | .. code-block:: yaml |
| 12 | |
| 13 | Simplest GIT setup |
| 14 | |
| 15 | git: |
| 16 | client: |
| 17 | enabled: true |
| 18 | |
| 19 | GIT 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 | |
| 31 | Reclass with GIT with user setup |
| 32 | |
| 33 | .. code-block:: yaml |
| 34 | |
| 35 | git: |
| 36 | client: |
| 37 | enabled: true |
| 38 | user: |
| 39 | - user: ${linux:system:user:jdoe} |
| 40 | |
| 41 | Read more |
| 42 | ========= |
| 43 | |
| 44 | * http://git-scm.com/ |
| 45 | * http://git-scm.com/book/en/Customizing-Git-Git-Configuration |
| 46 | * https://github.com/nesi/puppet-git/tree/master/manifests |