diff --git a/modules/config/manifests/git.pp b/modules/config/manifests/git.pp new file mode 100644 index 0000000..913a03e --- /dev/null +++ b/modules/config/manifests/git.pp @@ -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" + } +} diff --git a/modules/config/manifests/init.pp b/modules/config/manifests/init.pp index caa19ef..71a1790 100644 --- a/modules/config/manifests/init.pp +++ b/modules/config/manifests/init.pp @@ -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" - } }