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"]
|
[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
|
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in a new issue