Uninstall geolite2-country Package
An XCCDF Rule
Description
The geolite2-country
package can be removed with the following command:
$ sudo yum erase geolite2-country
Rationale
geolite2-country
is part of the GeoLite2 database packages, offering geolocation databases and tooling.
- ID
- xccdf_org.ssgproject.content_rule_package_geolite2-country_removed
- Severity
- Low
- Updated
Remediation - Ansible
- name: Ensure geolite2-country is removed
package:
name: geolite2-country
state: absent
tags:
- disable_strategy
Remediation - Puppet
include remove_geolite2-country
class remove_geolite2-country {
package { 'geolite2-country':
ensure => 'purged',
}
Remediation - Anaconda Pre-Install Instructions
package --remove=geolite2-country
Remediation - Shell Script
# CAUTION: This remediation script will remove geolite2-country
# from the system, and may remove any packages
# that depend on geolite2-country. Execute this
# remediation AFTER testing on a non-production
# system!