Initial commit
This commit is contained in:
parent
b4b6c0052f
commit
eca1f47c0b
|
@ -0,0 +1,47 @@
|
|||
#
|
||||
# Installs vim w/o annoying mouse support
|
||||
#
|
||||
|
||||
bundle agent install_vim
|
||||
{
|
||||
|
||||
vars:
|
||||
|
||||
freebsd::
|
||||
"vimrc" string => "/usr/local/etc/vim/vimrc";
|
||||
"pkg" string => "vim";
|
||||
debian::
|
||||
"vimrc" string => "/etc/vim/vimrc";
|
||||
"pkg" string => "vim";
|
||||
centos::
|
||||
"vimrc" string => "/etc/vim/vimrc";
|
||||
"pkg" string => "vim-enhanced";
|
||||
|
||||
|
||||
packages:
|
||||
|
||||
freebsd::
|
||||
"$(pkg)"
|
||||
policy => "present",
|
||||
package_module => pkg;
|
||||
debian::
|
||||
"$(pkg)"
|
||||
policy => "present",
|
||||
package_module => apt_get;
|
||||
centos::
|
||||
"$(pkg)"
|
||||
policy => "present",
|
||||
package_module => yum;
|
||||
|
||||
|
||||
files:
|
||||
"$(vimrc)"
|
||||
create => "true",
|
||||
copy_from => local_dcp("$(sys.workdir)/inputs/$(def.domain)/templates/vimrc.mustache");
|
||||
|
||||
reports:
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue