Add global gitignore

This commit is contained in:
Jake Howard 2017-08-12 18:43:29 +01:00
parent 6bd8e3af62
commit dc527c216b
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 16 additions and 0 deletions

3
.gitmodules vendored
View file

@ -10,3 +10,6 @@
[submodule "modules/stdlib"] [submodule "modules/stdlib"]
path = modules/stdlib path = modules/stdlib
url = https://github.com/puppetlabs/puppetlabs-stdlib url = https://github.com/puppetlabs/puppetlabs-stdlib
[submodule "modules/git"]
path = modules/git
url = https://github.com/puppetlabs/puppetlabs-git

View file

@ -18,4 +18,16 @@ class config {
mode => "0644", mode => "0644",
source => 'puppet:///modules/config/uniemoji.json' 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

@ -0,0 +1 @@
Subproject commit 4e4498e3db218cefc27e40b7eb4e442177ccab28