2017-08-12 16:37:55 +01:00
|
|
|
class config::vim {
|
2017-10-19 20:49:41 +01:00
|
|
|
file { 'vimrc':
|
2017-08-12 16:37:55 +01:00
|
|
|
ensure => file,
|
2017-10-08 18:52:37 +01:00
|
|
|
mode => '0644',
|
|
|
|
owner => 'jake',
|
|
|
|
group => 'users',
|
2017-10-19 20:49:41 +01:00
|
|
|
path => '/home/jake/.vimrc',
|
2017-08-12 16:37:55 +01:00
|
|
|
source => 'puppet:///modules/config/vimrc'
|
2017-10-08 18:52:37 +01:00
|
|
|
}
|
2017-08-12 16:37:55 +01:00
|
|
|
|
2017-10-19 20:49:41 +01:00
|
|
|
-> vcsrepo { 'Vim runtime':
|
2017-08-12 16:37:55 +01:00
|
|
|
ensure => latest,
|
|
|
|
provider => git,
|
|
|
|
user => 'jake',
|
2017-10-19 20:49:41 +01:00
|
|
|
path => '/home/jake/.vim_runtime',
|
2017-10-08 18:52:37 +01:00
|
|
|
source => 'https://github.com/amix/vimrc.git',
|
|
|
|
}
|
2017-08-12 16:37:55 +01:00
|
|
|
}
|