Skip to content

Commit

Permalink
Add yum-utils package for redhat minions (bsc#1227133)
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Arlt <parlt@suse.com>
  • Loading branch information
parlt91 committed Jul 25, 2024
1 parent 4ad38fb commit abbeab3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions susemanager-utils/susemanager-sls/salt/packages/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ mgr_install_flavor_check:
- mgrcompat: sync_states
{%- endif %}

{%- if grains['os_family'] == 'RedHat' and grains['osmajorrelease'] < 8 %}
pkg.installed:
- name: yum-utils
- require:
- file: mgrchannels_*
- mgrcompat: sync_states
{%- endif %}

mgr_refresh_grains:
{%- if grains.get('__suse_reserved_saltutil_states_support', False) %}
saltutil.sync_grains:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix yum-utils package missing on CentOS7 minions (bsc#1227133)

0 comments on commit abbeab3

Please sign in to comment.