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 24, 2024
1 parent 09a7b31 commit eb66c09
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 eb66c09

Please sign in to comment.