Skip to content

Commit

Permalink
Refs #37913 - Update repository metadata for Debian first
Browse files Browse the repository at this point in the history
Co-authored-by: Bernhard Suttner <[email protected]>
  • Loading branch information
sbernhard authored and nadjaheitmann committed Oct 17, 2024
1 parent 88dcd70 commit 6e1a295
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ exit_and_cancel_build() {
set +e
trap 'exit_and_cancel_build' ERR

<% if plugin_present?('katello') && @host.operatingsystem.family == 'Debian' -%>
export DEBIAN_FRONTEND=noninteractive
apt-get -y update
<% end -%>
<% if !host_param_true?('skip-puppet-setup') && (host_puppet_server.present? || host_param_true?('force-puppet')) -%>
<%= snippet 'puppetlabs_repo' %>
<%= snippet 'puppet_setup' %>
Expand Down

0 comments on commit 6e1a295

Please sign in to comment.