mirror of
https://github.com/jbowdre/vagrant-saltlab.git
synced 2024-11-23 05:52:19 +00:00
add state to uninstall vim
This commit is contained in:
parent
95e277f0d6
commit
205ad8fa21
1 changed files with 10 additions and 0 deletions
10
srv/salt/edit/vim-uninstall.sls
Normal file
10
srv/salt/edit/vim-uninstall.sls
Normal file
|
@ -0,0 +1,10 @@
|
|||
vim:
|
||||
pkg.removed:
|
||||
{% if grains['os_family'] == 'RedHat'%}
|
||||
- name: vim-enhanced
|
||||
{% else %}
|
||||
- name: vim
|
||||
{% endif %}
|
||||
|
||||
/etc/vimrc:
|
||||
file.absent
|
Loading…
Reference in a new issue