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"]
path = modules/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 {
file { '/home/jake/.gitignore_global':
$global_gitignore = '/home/jake/.config/.gitignore'
file { $global_gitignore:
ensure => file,
mode => '0644',
source => 'puppet:///modules/config/gitignore_global'
}
git::config { 'global ignore' :
key => 'core.excludesfile',
value => '/home/jake/.gitignore_global',
user => 'jake'
-> exec { "install global git config":
command => "git config --global core.excludesfile '$global_gitignore'",
user => 'jake',
unless => 'git config --global core.excludesfile'
}
}

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