Remove buggy git submodule
This commit is contained in:
parent
7512c86db7
commit
5f7bd7bba6
3 changed files with 7 additions and 9 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue