From 4c432b28d67f7cd832b319512910555371bb4205 Mon Sep 17 00:00:00 2001 From: Xiangce Liu Date: Wed, 8 Jan 2025 12:52:53 +0800 Subject: [PATCH] chore: do not collect chkconfig on RHEL 7+ (#4326) - N/A to the rhel_6 branch Signed-off-by: Xiangce Liu --- insights/specs/default.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/insights/specs/default.py b/insights/specs/default.py index 17e25d9f1..9bf4df5b4 100644 --- a/insights/specs/default.py +++ b/insights/specs/default.py @@ -16,7 +16,7 @@ # - keep line length less than 80 characters from insights.components.ceph import IsCephMonitor from insights.components.cloud_provider import IsAzure, IsGCP -from insights.components.rhel_version import IsRhel6, IsGtOrRhel86 +from insights.components.rhel_version import IsGtOrRhel86 from insights.components.satellite import ( IsSatellite, IsSatellite611, @@ -220,7 +220,6 @@ class DefaultSpecs(Specs): keep_rc=True, ) cgroups = simple_file("/proc/cgroups") - chkconfig = simple_command("/sbin/chkconfig --list", deps=[IsRhel6]) chrony_conf = simple_file("/etc/chrony.conf") chronyc_sources = simple_command("/usr/bin/chronyc sources") cib_xml = simple_file("/var/lib/pacemaker/cib/cib.xml")