Adding a basic git configuration to all machine.

This commit is contained in:
Elijah Lazkani 2017-01-10 23:13:12 -05:00
parent 75180dcd62
commit 875c037af9
3 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,3 @@
[user]
email = EliaElLazkani@Gmail.com
name = Elijah Lazkani

10
salty/base/git/init.sls Normal file
View 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
View file

@ -0,0 +1,3 @@
base:
'*':
- git