Add vim config

This commit is contained in:
Jake Howard 2017-08-12 16:37:55 +01:00
parent 92c5f9ee75
commit 4f2c9fa75f
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 23 additions and 0 deletions

View file

@ -5,4 +5,5 @@ node default {
include yaourt
include gnome
include config
}

View file

@ -0,0 +1,22 @@
class config::vim {
file { '/home/jake/.vimrc':
ensure => file,
mode => "0644",
owner => "jake",
group => "users",
source => 'puppet:///modules/config/vimrc'
} ->
vcsrepo { '/home/jake/.vim_runtime':
ensure => latest,
provider => git,
user => 'jake',
source => "https://github.com/amix/vimrc.git",
} ->
exec { 'install vim plugins':
command => "vim +PluginInstall +qall",
user => "jake",
environment => "HOME=/home/jake"
}
}