Install vim Package
An XCCDF Rule
Description
The vim-enhanced
package can be installed with the following command:
$ sudo yum install vim-enhanced
Rationale
Vim (Vi IMproved) is an almost compatible version of the UNIX editor vi
.
- ID
- xccdf_org.ssgproject.content_rule_package_vim_installed
- Severity
- Low
- References
- Updated
Remediation - OS Build Blueprint
[[packages]]
name = "vim-enhanced"
version = "*"
Remediation - Ansible
- name: Ensure vim-enhanced is installed
package:
name: vim-enhanced
state: present
tags:
- CCE-82956-4
Remediation - Puppet
include install_vim-enhanced
class install_vim-enhanced {
package { 'vim-enhanced':
ensure => 'installed',
}
Remediation - Anaconda Pre-Install Instructions
package --add=vim-enhanced
Remediation - Shell Script
if ! rpm -q --quiet "vim-enhanced" ; then
yum install -y "vim-enhanced"
fi