vagrant-saltlab/srv/salt/edit/vim.sls

16 lines
251 B
Text
Raw Normal View History

2023-03-24 02:40:54 +00:00
vim:
pkg.installed:
{% if grains['os_family'] == 'RedHat'%}
- name: vim-enhanced
{% else %}
- name: vim
{% endif %}
2023-03-24 02:40:54 +00:00
/etc/vimrc:
file.managed:
2023-03-24 02:49:02 +00:00
- source: salt://edit/vimrc
2023-03-24 02:40:54 +00:00
- mode: 644
- user: root
- group: root