wmdeit-cf-wmdelib/vim.cf

48 lines
800 B
CFEngine3
Raw Normal View History

2023-09-15 10:28:34 +00:00
#
# 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";
2023-10-22 21:27:25 +00:00
centos|fedora::
2023-09-15 10:28:34 +00:00
"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;
2023-10-22 21:27:25 +00:00
fedora|centos::
2023-09-15 10:28:34 +00:00
"$(pkg)"
policy => "present",
package_module => yum;
files:
"$(vimrc)"
create => "true",
2023-10-02 06:09:38 +00:00
copy_from => local_dcp("$(sys.workdir)/inputs/$(def.wmde_libdir)/templates/vimrc.mustache");
2023-09-15 10:28:34 +00:00
reports:
}