Skip to content

Commit

Permalink
chore: do not collect chkconfig on RHEL 7+ (#4326)
Browse files Browse the repository at this point in the history
- N/A to the rhel_6 branch

Signed-off-by: Xiangce Liu <[email protected]>
  • Loading branch information
xiangce authored Jan 8, 2025
1 parent 5be3260 commit 4c432b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions insights/specs/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 4c432b2

Please sign in to comment.