Extract git to separate file

This commit is contained in:
Jake Howard 2017-08-12 18:47:17 +01:00
parent dc527c216b
commit c5329aed95
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 14 additions and 10 deletions

View File

@ -0,0 +1,13 @@
class config::git {
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"
}
}

View File

@ -1,5 +1,6 @@
class config {
include 'config::vim'
include 'config::git'
file { '/etc/libinput-gestures.conf':
ensure => file,
@ -19,15 +20,5 @@ class config {
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"
}
}