dotfiles/modules/config/manifests/vim.pp

28 lines
594 B
ObjectPascal
Raw Normal View History

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-12-25 22:25:17 +00:00
-> file { 'vimrc for root':
ensure => file,
mode => '0644',
owner => 'root',
group => 'users',
path => '/root/.vimrc',
source => 'puppet:///modules/config/vimrc'
}
2017-10-19 20:49:41 +01:00
-> vcsrepo { 'Vim runtime':
2017-08-12 16:37:55 +01:00
ensure => latest,
provider => git,
2017-12-25 22:25:17 +00:00
user => 'root',
path => '/usr/share/amix_vimrc',
2017-10-08 18:52:37 +01:00
source => 'https://github.com/amix/vimrc.git',
}
2017-08-12 16:37:55 +01:00
}