Add global gitignore
This commit is contained in:
parent
6bd8e3af62
commit
dc527c216b
4 changed files with 16 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -10,3 +10,6 @@
|
|||
[submodule "modules/stdlib"]
|
||||
path = modules/stdlib
|
||||
url = https://github.com/puppetlabs/puppetlabs-stdlib
|
||||
[submodule "modules/git"]
|
||||
path = modules/git
|
||||
url = https://github.com/puppetlabs/puppetlabs-git
|
||||
|
|
|
@ -18,4 +18,16 @@ class config {
|
|||
mode => "0644",
|
||||
source => 'puppet:///modules/config/uniemoji.json'
|
||||
}
|
||||
|
||||
file { '/home/jake/.gitignore_global':
|
||||
ensure => file,
|
||||
mode => "0644",
|
||||
source => 'puppet:///modules/config/gitignore_global'
|
||||
}
|
||||
|
||||
git::config { "global ignore" :
|
||||
key => 'core.excludesfile',
|
||||
value => '/home/jake/.gitignore_global',
|
||||
user => "jake"
|
||||
}
|
||||
}
|
||||
|
|
1
modules/git
Submodule
1
modules/git
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 4e4498e3db218cefc27e40b7eb4e442177ccab28
|
Loading…
Reference in a new issue