Skip to content

Commit

Permalink
Refs #37913 - Make sure to update package list and facts on all OSes
Browse files Browse the repository at this point in the history
Co-authored-by: Bernhard Suttner <[email protected]>
Co-authored-by: Nadja Heitmann <[email protected]>
  • Loading branch information
sbernhard and nadjaheitmann committed Oct 17, 2024
1 parent 6e1a295 commit 1156375
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ else
echo "Host [<%= @host.name %>] successfully configured, but failed to set built status."
fi

<% if plugin_present?('katello') && @host.operatingsystem.family == 'Redhat' -%>
<% if plugin_present?('katello') -%>
subscription-manager facts --update
subscription-manager repos
<% end -%>

exit 0

0 comments on commit 1156375

Please sign in to comment.