Remove buggy git submodule

This commit is contained in:
Jake Howard 2017-10-17 09:41:56 +01:00
parent 7512c86db7
commit 5f7bd7bba6
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 7 additions and 9 deletions

3
.gitmodules vendored
View file

@ -7,6 +7,3 @@
[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

@ -1,13 +1,15 @@
class config::git { class config::git {
file { '/home/jake/.gitignore_global': $global_gitignore = '/home/jake/.config/.gitignore'
file { $global_gitignore:
ensure => file, ensure => file,
mode => '0644', mode => '0644',
source => 'puppet:///modules/config/gitignore_global' source => 'puppet:///modules/config/gitignore_global'
} }
git::config { 'global ignore' : -> exec { "install global git config":
key => 'core.excludesfile', command => "git config --global core.excludesfile '$global_gitignore'",
value => '/home/jake/.gitignore_global', user => 'jake',
user => 'jake' unless => 'git config --global core.excludesfile'
} }
} }

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