Merge pull request #3954 from Security-Onion-Solutions/feature/vim

Make sure VIM is installed with correct settings
This commit is contained in:
Mike Reeves authored and GitHub committed 2021-04-22 09:52:02 -04:00
commit 3d65135993
2 files changed
+16

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
" Activates filetype detection
filetype plugin indent on
" Sets .sls files to use YAML syntax highlighting
autocmd BufNewFile,BufRead *.sls set syntax=yaml
set number
+10
View File
@@ -69,6 +69,13 @@ salttmp:
- group: 939
- makedirs: True
# VIM config
vimconfig:
file.managed:
- name: /root/.vimrc
- source: salt://common/files/vimrc
- replace: False
# Install common packages
{% if grains['os'] != 'CentOS' %}
commonpkgs:
@@ -95,6 +102,8 @@ commonpkgs:
- python3-mysqldb
- python3-packaging
- git
- vim
heldpackages:
pkg.installed:
- pkgs:
@@ -133,6 +142,7 @@ commonpkgs:
- lvm2
- openssl
- git
- vim-enhanced
heldpackages:
pkg.installed: