account for vim package name on rhel-based systems

This commit is contained in:
John Bowdre 2023-03-24 15:40:11 -05:00
parent 3fac6f3f4c
commit 95e277f0d6

View file

@ -1,5 +1,10 @@
vim:
pkg.installed
pkg.installed:
{% if grains['os_family'] == 'RedHat'%}
- name: vim-enhanced
{% else %}
- name: vim
{% endif %}
/etc/vimrc:
file.managed: