Adding a basic git configuration to all machine.
This commit is contained in:
parent
75180dcd62
commit
875c037af9
3 changed files with 16 additions and 0 deletions
3
salty/base/git/files/gitconfig
Normal file
3
salty/base/git/files/gitconfig
Normal file
|
@ -0,0 +1,3 @@
|
|||
[user]
|
||||
email = EliaElLazkani@Gmail.com
|
||||
name = Elijah Lazkani
|
10
salty/base/git/init.sls
Normal file
10
salty/base/git/init.sls
Normal file
|
@ -0,0 +1,10 @@
|
|||
git:
|
||||
pkg.installed
|
||||
|
||||
gitconfig:
|
||||
file.managed:
|
||||
- name: {{ grains.homedir }}/.gitconfig
|
||||
- source: salt:///git/files/gitconfig
|
||||
- user: {{ grains.user }}
|
||||
- group: {{ grains.group }}
|
||||
- force: True
|
3
salty/base/top.sls
Normal file
3
salty/base/top.sls
Normal file
|
@ -0,0 +1,3 @@
|
|||
base:
|
||||
'*':
|
||||
- git
|
Loading…
Reference in a new issue